Skip to content

Commit

Permalink
feat(cdk-graph): add threat composer plugin for generating base threa…
Browse files Browse the repository at this point in the history
…t models (#674)

This adds a new CDK Graph plugin which generates Threat Composer threat models
from PDKNag apps.

Threat Composer: https://github.com/awslabs/threat-composer/

The generated threat model provides a starting point to build upon for threat
modelling an application.
  • Loading branch information
cogwirrel authored Jan 10, 2024
1 parent cf5dfad commit f99b241
Show file tree
Hide file tree
Showing 55 changed files with 6,182 additions and 149 deletions.
2 changes: 2 additions & 0 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
SPDX-License-Identifier: Apache-2.0 */
import { AwsArchProject } from "./projenrc/projects/aws-arch-project";
import { CdkGraphPluginDiagramProject } from "./projenrc/projects/cdk-graph-plugin-diagram-project";
import { CdkGraphPluginThreatComposerProject } from "./projenrc/projects/cdk-graph-plugin-threat-composer-project";
import { CdkGraphProject } from "./projenrc/projects/cdk-graph-project";
import { CloudscapeReactTsWebsiteProject } from "./projenrc/projects/cloudscape-react-ts-website-project";
import { DocsProject } from "./projenrc/projects/docs-project";
Expand Down Expand Up @@ -29,6 +30,7 @@ new CloudscapeReactTsWebsiteProject(monorepoProject);
new AwsArchProject(monorepoProject);
new CdkGraphProject(monorepoProject);
new CdkGraphPluginDiagramProject(monorepoProject);
new CdkGraphPluginThreatComposerProject(monorepoProject);
new PipelineProject(monorepoProject);
new InfrastructureProject(monorepoProject);

Expand Down
1 change: 1 addition & 0 deletions docs/project.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

141 changes: 141 additions & 0 deletions packages/cdk-graph-plugin-threat-composer/.eslintrc.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions packages/cdk-graph-plugin-threat-composer/.gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 50 additions & 0 deletions packages/cdk-graph-plugin-threat-composer/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions packages/cdk-graph-plugin-threat-composer/.npmignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/cdk-graph-plugin-threat-composer/.prettierignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions packages/cdk-graph-plugin-threat-composer/.prettierrc.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f99b241

Please sign in to comment.