From af10d2378067fe8decafff91c104b2777a8f0b2b Mon Sep 17 00:00:00 2001 From: Aliaksei Ivanou Date: Mon, 1 Apr 2024 15:44:10 -0500 Subject: [PATCH] Updating the prerequisites section for the security patterns --- docs/patterns/security/eks-config-rules.md | 11 ++--------- docs/patterns/security/encryption-at-rest.md | 13 +++---------- docs/patterns/security/guardduty.md | 11 ++--------- docs/patterns/security/image-scanning.md | 11 ++--------- docs/patterns/security/securityhub.md | 13 +++---------- 5 files changed, 12 insertions(+), 47 deletions(-) diff --git a/docs/patterns/security/eks-config-rules.md b/docs/patterns/security/eks-config-rules.md index cb742784..21c76130 100644 --- a/docs/patterns/security/eks-config-rules.md +++ b/docs/patterns/security/eks-config-rules.md @@ -6,18 +6,11 @@ The objective of this pattern is to demonstrate how to enable AWS Config configu ## Prerequisites -1. Clone the repository. -2. Follow the usage [instructions](../../../README.md#usage) to install the dependencies. -3. `argo-admin-password` secret must be defined in Secrets Manager in the same region as the EKS cluster. +1. Follow the usage [instructions](https://github.com/aws-samples/cdk-eks-blueprints-patterns/blob/main/README.md#usage) to install the dependencies and perform the repository setup. +2. `argo-admin-password` secret must be defined in Secrets Manager in the same region as the EKS cluster. ## Deploy -To update npm, run the following command: - -```bash -npm install -g npm@latest -``` - To bootstrap the CDK toolkit and list all stacks in the app, run the following commands: ```bash diff --git a/docs/patterns/security/encryption-at-rest.md b/docs/patterns/security/encryption-at-rest.md index 8dc47f76..8c5d2b46 100644 --- a/docs/patterns/security/encryption-at-rest.md +++ b/docs/patterns/security/encryption-at-rest.md @@ -1,4 +1,4 @@ -# EKS Encryption-at-Rest pattern +# Data at Rest Encryption ## Objective @@ -19,18 +19,11 @@ The sample repository contains the following workloads: ## Prerequisites -1. Clone the repository. -2. Follow the usage [instructions](../../../README.md#usage) to install the dependencies. -3. `argo-admin-password` secret must be defined in Secrets Manager in the same region as the EKS cluster. +1. Follow the usage [instructions](https://github.com/aws-samples/cdk-eks-blueprints-patterns/blob/main/README.md#usage) to install the dependencies and perform the repository setup. +2. `argo-admin-password` secret must be defined in Secrets Manager in the same region as the EKS cluster. ## Deploy -To update npm, run the following command: - -```bash -npm install -g npm@latest -``` - To bootstrap the CDK toolkit and list all stacks in the app, run the following commands: ```bash diff --git a/docs/patterns/security/guardduty.md b/docs/patterns/security/guardduty.md index 339ec198..539b4902 100644 --- a/docs/patterns/security/guardduty.md +++ b/docs/patterns/security/guardduty.md @@ -31,18 +31,11 @@ The sample repository contains the following workloads: ## Prerequisites -1. Clone the repository -2. Follow the usage [instructions](../../../README.md#usage) to install the dependencies -3. `argo-admin-password` secret must be defined in Secrets Manager in the same region as the EKS cluster. +1. Follow the usage [instructions](https://github.com/aws-samples/cdk-eks-blueprints-patterns/blob/main/README.md#usage) to install the dependencies and perform the repository setup. +2. `argo-admin-password` secret must be defined in Secrets Manager in the same region as the EKS cluster. ## Deploy -To update npm, run the following command: - -```bash -npm install -g npm@latest -``` - To bootstrap the CDK toolkit and list all stacks in the app, run the following commands: ```bash diff --git a/docs/patterns/security/image-scanning.md b/docs/patterns/security/image-scanning.md index 5057bfb1..49aa7bf6 100644 --- a/docs/patterns/security/image-scanning.md +++ b/docs/patterns/security/image-scanning.md @@ -37,18 +37,11 @@ The sample repository contains the following workloads: ## Prerequisites -1. Clone the repository -2. Follow the usage [instructions](../../../README.md#usage) to install the dependencies -3. `argo-admin-password` secret must be defined in Secrets Manager in the same region as the EKS cluster. +1. Follow the usage [instructions](https://github.com/aws-samples/cdk-eks-blueprints-patterns/blob/main/README.md#usage) to install the dependencies and perform the repository setup. +2. `argo-admin-password` secret must be defined in Secrets Manager in the same region as the EKS cluster. ## Deploy -To update npm, run the following command: - -```bash -npm install -g npm@latest -``` - To bootstrap the CDK toolkit and list all stacks in the app, run the following commands: ```bash diff --git a/docs/patterns/security/securityhub.md b/docs/patterns/security/securityhub.md index 8991b416..842b350e 100644 --- a/docs/patterns/security/securityhub.md +++ b/docs/patterns/security/securityhub.md @@ -8,21 +8,14 @@ The pattern will enable AWS Security Hub in the `CDK_DEFAULT_ACCOUNT` and `CDK_D ## Prerequisites -1. Clone the repository -2. Follow the usage [instructions](../../../README.md#usage) to install the dependencies -3. `argo-admin-password` secret must be defined in Secrets Manager in the same region as the EKS cluster. -4. Complete the steps to [enable AWS Config and deploy the Security Best Practices for Amazon EKS AWS Config managed rules](eks-config-rules.md). +1. Follow the usage [instructions](https://github.com/aws-samples/cdk-eks-blueprints-patterns/blob/main/README.md#usage) to install the dependencies and perform the repository setup. +2. `argo-admin-password` secret must be defined in Secrets Manager in the same region as the EKS cluster. +3. Complete the steps to [enable AWS Config and deploy the Security Best Practices for Amazon EKS AWS Config managed rules](eks-config-rules.md). **Optional (but recommended):** If you have not done so already, follow the steps to deploy the [Amazon GuardDuty stack and blueprint](guardduty.md). Since Amazon GuardDuty automatically sends its findings to AWS Security Hub, the sample EKS finding will appear in AWS Security Hub about five minutes after it has been enabled in the same region. ## Deploy -To update npm, run the following command: - -```bash -npm install -g npm@latest -``` - To bootstrap the CDK toolkit and list all stacks in the app, run the following commands: ```bash