Last active
July 5, 2023 20:33
-
-
Save kojiromike/e5a449cd037044507512f002adc93f03 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# https://aquasecurity.github.io/tfsec | |
name: tfsec | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
tfsec: | |
name: tfsec | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v3.5.3 | |
- name: tfsec | |
uses: aquasecurity/tfsec-action@v1.0.3 | |
with: | |
format: sarif | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
additional_args: --out tfsec.sarif | |
- name: Upload SARIF Results | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: tfsec.sarif | |
category: tfsec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment