JohannesKonings / cdk-nag-custom-nag-pack

Collection of custom rules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cdk-nag-custom-nag-pack

All Contributors

rules

Rule ID Cause Explanation
CR1 Definend tags not exist Certain tags are checked if it exist
CR2 Definend tags has wrong value Certain tags are checked with defined value

config

CR1

import { CustomChecks } from '@jaykingson/cdk-nag-custom-nag-pack'
...
Aspects.of(app).add(new CustomChecks({
    // use whatever tags you want to check
  cr1TagsToCheck: ['Environment', 'Owner'],
  cr2TagsWithValueToCheck: { Stage: ["dev", "prod"] },
}));

Contributors

Carl Schaffer
Carl Schaffer

🤔

About

Collection of custom rules

License:Apache License 2.0


Languages

Language:TypeScript 100.0%