From 214c21b6b8193c9bbbfe3ca780e9e8a03acdf353 Mon Sep 17 00:00:00 2001 From: smguggen Date: Sat, 4 Mar 2023 09:07:18 -0600 Subject: [PATCH] fix(assets): Move published assets --- .npmignore | 4 ---- README.md | 8 ++++---- .../util/assets => assets}/break-glass-role-cdk.png | Bin .../break-glass-role-cdk.png.license | 0 4 files changed, 4 insertions(+), 8 deletions(-) rename {src/util/assets => assets}/break-glass-role-cdk.png (100%) rename {src/util/assets => assets}/break-glass-role-cdk.png.license (100%) diff --git a/.npmignore b/.npmignore index 2cd0e73..c3bbfe0 100644 --- a/.npmignore +++ b/.npmignore @@ -1,6 +1,3 @@ -*.ts -!*.d.ts - .aws/ node_modules # CDK asset staging directory @@ -9,7 +6,6 @@ cdk.out coverage/ test/ src/ -!src/util/assets test.ts .git/ .github/ diff --git a/README.md b/README.md index ae1d0a3..92bbd3d 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # AWS Break Glass Role ![License](https://img.shields.io/github/license/awslabs/aws-break-glass-role?style=plastic) -![Version](https://img.shields.io/github/v/release/awslabs/aws-break-glass-role?style=plastic) +![Version](https://img.shields.io/npm/v/aws-break-glass-role?style=plastic) ![Build](https://img.shields.io/github/actions/workflow/status/awslabs/aws-break-glass-role/release.yml?style=plastic) -![Commitizen Friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg) -![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg) +![Commitizen Friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=plastic) +![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=plastic) ***Create a break glass role for emergency use in order to limit production console access. Configure automatic alerts and logging of activities in the role to secure its use in production environments.*** @@ -248,7 +248,7 @@ Setting `deployer` will create a role with Least-Privilege permissions set for d In addition to the main `BreakGlassRole`, `BreakGlassLoginAlert`, `BreakGlassLogActions`, and `BreakGlassDeployer` are all available as separate constructs. The major difference when using these constructs separately is that the `BreakGlassRole` cannot be created internally and an `IRole` must be passed to them as the `BreakGlassRole`. ## Architecture -[![Break Glass Role Diagram](src/util/assets/break-glass-role-cdk.png)](https://github.com/awslabs/aws-break-glass-role/raw/main/src/util/assets/break-glass-role-cdk.png) +[![Break Glass Role Diagram](assets/break-glass-role-cdk.png)](https://github.com/awslabs/aws-break-glass-role/raw/main/assets/break-glass-role-cdk.png) ## Security diff --git a/src/util/assets/break-glass-role-cdk.png b/assets/break-glass-role-cdk.png similarity index 100% rename from src/util/assets/break-glass-role-cdk.png rename to assets/break-glass-role-cdk.png diff --git a/src/util/assets/break-glass-role-cdk.png.license b/assets/break-glass-role-cdk.png.license similarity index 100% rename from src/util/assets/break-glass-role-cdk.png.license rename to assets/break-glass-role-cdk.png.license