Closed lghakamo-paf closed 3 years ago
ping @triat. If you'd be so kind to have a look when you have time.
Updated with fix for issue SC2086 and verified locally.
Hey @lghakamo-paf, thanks for the fixes that you propose. I haven't been really active recently as I'm out of work and decided to take some time for myself before I get back 100%. I'm trying to follow the PRs but I'm not actively working on my repos. Sadly this does not allow me to see issues before people have them, sorry for that. I really appreciate the time you put into this and will merge it ASAP. Thanks
Fixes issue with redirecting output to given filename in a provided format. Github Action variables are prefix with
INPUT_
. Also theTFSEC_FORMAT
variable was appending the value of the incorrect variable.Encapsulating variables with quotes made tfsec complain about unknown flag i.e
Error: unknown flag: --out tfsec.xml
when runningdocker run --rm -e INPUT_TFSEC_OUTPUT_FORMAT="junit" -e INPUT_TFSEC_OUTPUT_FILE="/github/workspace/tfsec.xml" -v <path to terraform module>:/github/workspace:rw security/terraform-security-scan:0.1
Fixes https://github.com/triat/terraform-security-scan/issues/37