aws-samples / cfn-security-scan-integration

Sample code for integrating AWS CloudFormation templates security tests (using CFN-Nag and CFN-Guard) with both AWS Security Hub and AWS CodeBuild reports.
MIT No Attribution
19 stars 9 forks source link

main.yml not working with the latest cfn-guard #2

Open LihleMhlaba opened 1 year ago

LihleMhlaba commented 1 year ago

When using cfn-guard, the latest version does not support the 'check command' (line 278) and the isn't a makefile for the command on line (263)

rinaudjaws commented 1 year ago

Thanks for pointing this out!

I'll test using the latest cfn-guard validate command and update the repository.

Regards

rinaudjaws commented 1 year ago

Updated but seems new JSON output format changed so re-writing Lambda functions to re-import findings.

Also need to address: https://github.com/aws-cloudformation/cloudformation-guard/issues/279