Skip to content

This is a demo repository to scan cloudformation templates.

Notifications You must be signed in to change notification settings

nirmata/cdk-scan-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scanning CloudFormation templates for misconfigurations

This is a demo repository to scan CloudFormation templates. The scanned results can be viewed via the Nirmata Policy Manager (NPM).

The GitHub Action converts the CDK file into a CloudFormation template using the cdk synth command.

- name: CDK Synth
  run: |
    cd sample-cdk
    cdk synth --json

In the next step, the policies are applied on the generated JSON file. The results are then published to NPM.

- name: NCTL Scan Repository for CDK
  run: |
    nctl scan json -r sample-cdk/cdk.out/MyEcsStack.template.json --policies policies/ --publish

image

About

This is a demo repository to scan cloudformation templates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published