inital commit #1
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
name: tfsec | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
tfsec: | |
name: tfsec sarif report | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@master | |
- name: tfsec | |
uses: aquasecurity/tfsec-sarif-action@v0.1.4 | |
with: | |
sarif_file: tfsec.sarif | |
full_repo_scan: true | |
- name: tfsec commenter for PR | |
uses: tfsec/tfsec-pr-commenter-action@v1.3.1 | |
with: | |
GITHUB_TOKEN: ${{ github.token }} | |
- name: Terraform security scan Advanced | |
uses: triat/terraform-security-scan@v3.1.0 | |
if: github.event_name == 'pull_request' | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
tfsec_actions_comment: true | |
tfsec_output_format: sarif | |
continue-on-error: true |