the-infra-company/tflint Findings Upload
Run tflint and upload sarif results to GitHub Security findings.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GITHUB_TOKEN | yes | ${{ github.token }} |
| working_directory | Directory to run the action on, from the repo root. Default is . (root of the repository) | — | . |
| tflint_version | The tflint version to install and use. Default is to use the latest release version. | — | latest |
| tflint_rulesets | Space separated, official (from the terraform-linters GitHub organization) tflint rulesets to install and use. If a pre-configured `TFLINT_PLUGIN_DIR` is set, rulesets are installed in that directory. Default is empty. | — | "" |
| tflint_init | Whether or not to run tflint --init prior to running scan [true,false] Default is `false`. | — | false |
| tflint_target_dir | The target dir for the tflint command. This is the directory passed to tflint as opposed to working_directory which is the directory the command is executed from. Default is . (root of the repository) | — | . |
| tflint_config | Config file name for tflint. Default is `.tflint.hcl`. | — | .tflint.hcl |
| flags | List of arguments to send to tflint For the output to be parsable by reviewdog --format=checkstyle is enforced Default is --call-module-type=all. | — | --call-module-type=all |
Outputs
| name | description |
|---|---|
| tflint-return-code | tflint command return code |