A development team uses AWS CDK to define infrastructure. How can they integrate automated security policy checks into their development workflow before code is committed?
-
A
Use cdk-nag as a pre-commit hook or CDK aspect to validate stacks against security best practice rules
-
B
Run aws cloudformation validate-template on the synthesized template in a CI stage
-
C
Manually review CDK code in pull requests using a checklist
-
D
Deploy to a sandbox account and run Inspector after each commit