aquasecurity / tfsec-action

Vanilla GitHub action to run tfsec
MIT License
51 stars 28 forks source link

dismiss rules based on rule id #4

Closed bilalcaliskan closed 2 years ago

bilalcaliskan commented 2 years ago

As you know code scanning tools have ability to dismiss some of the rules. Tfsec actually does this mentioned right here.

It would be nice to dismiss rules with tfsec-action something like below:

...omitted...
      - name: tfsec
        uses: aquasecurity/tfsec-sarif-action@v0.1.0
        with:
          sarif_file: tfsec.sarif
          skip_rules: aws-vpc-no-public-ingress-sgr, aws-vpc-no-public-egress-sgr
...omitted...
bilalcaliskan commented 2 years ago

sorry i've missed the additional_args argument. This will solve my problem anyway.