jbenaventem/Run tfsec with sarif upload
Run tfsec against terraform code base and upload the sarif output to the github repo
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| working_directory | Directory to run the action on, from the repo root. Default is . ( root of the repository) | — | . |
| sarif_file | The path to write the sarif report, defaults to tfsec.sarif | — | — |
| tfvars_file | The tfvars file to use for the scan | — | — |
| tfsec_version | The version of tfsec to use for the scan, defaults to latest | — | latest |
| config_file | The path to the config file. (eg. ./tfsec.yml) | — | — |
| tfsec_args | Space seperated args specified here will be added during tfsec execution. (eg. --force-all-dirs --verbose) | — | — |
Outputs
| name | description |
|---|---|
| tfsec-return-code | tfsec command return code |