From 64ea8521c05edfe4e5046869267c26bd8f9848f9 Mon Sep 17 00:00:00 2001 From: misterpantz Date: Thu, 21 Nov 2024 08:19:29 -0800 Subject: [PATCH] get rid of real aws acct number --- docs/cnquery/cloud/aws/eks.mdx | 16 ++++++++-------- docs/cnspec/cloud/aws/account.mdx | 8 ++++---- releases/2023-10-05-mondoo-9.0-is-out.md | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/cnquery/cloud/aws/eks.mdx b/docs/cnquery/cloud/aws/eks.mdx index e7660b8f9..6e5276e14 100644 --- a/docs/cnquery/cloud/aws/eks.mdx +++ b/docs/cnquery/cloud/aws/eks.mdx @@ -33,8 +33,8 @@ It returns each cluster's ARN and current state: ```coffeescript aws.eks.clusters: [ - 0: aws.eks.cluster arn="arn:aws:eks:us-east-1:177043759486:cluster/eks-cluster" version="1.30" status="FAILED" - 1: aws.eks.cluster arn="arn:aws:eks:us-east-2:177043759486:cluster/online-shop-eks-cluster-byh8" version="1.30" status="ACTIVE" + 0: aws.eks.cluster arn="arn:aws:eks:us-east-1:177048008586:cluster/eks-cluster" version="1.30" status="FAILED" + 1: aws.eks.cluster arn="arn:aws:eks:us-east-2:177048008586:cluster/online-shop-eks-cluster-byh8" version="1.30" status="ACTIVE" ] ``` @@ -70,7 +70,7 @@ aws.eks.clusters[1]: { encryptionConfig: [ 0: { Provider: { - KeyArn: "arn:aws:kms:us-east-2:177043759486:key/35f97e4d-3076-494e-bd27-9e9936c9f3ba" + KeyArn: "arn:aws:kms:us-east-2:177048008586:key/35f97e4d-3076-494e-bd27-9e9936c9f3ba" } Resources: [ 0: "secrets" @@ -108,7 +108,7 @@ aws.eks.clusters[1]: { ServiceIpv6Cidr: null } createdAt: 2024-01-23 23:12:54.304 +0000 UTC - arn: "arn:aws:eks:us-east-2:177043759486:cluster/online-shop-eks-cluster-byh8" + arn: "arn:aws:eks:us-east-2:177048008586:cluster/online-shop-eks-cluster-byh8" region: "us-east-2" endpoint: "https://8D2087DAD267CF9F24358D00F7553B84.gr7.us-east-2.eks.amazonaws.com" platformVersion: "eks.2" @@ -138,11 +138,11 @@ It returns a list with only the information you asked for: ```coffeescript aws.eks.clusters: [ 0: { - arn: "arn:aws:eks:us-east-1:177043759486:cluster/eks-cluster" + arn: "arn:aws:eks:us-east-1:177048008586:cluster/eks-cluster" createdAt: 2023-09-08 09:41:11.26 +0000 UTC } 1: { - arn: "arn:aws:eks:us-east-2:177043759486:cluster/online-shop-eks-cluster-byh8" + arn: "arn:aws:eks:us-east-2:177048008586:cluster/online-shop-eks-cluster-byh8" createdAt: 2024-01-23 23:12:54.304 +0000 UTC } ] @@ -164,11 +164,11 @@ It lists each cluster's ARN and creation date: aws.eks.clusters.where: [ 0: { createdAt: 2023-09-08 09:41:11.26 +0000 UTC - arn: "arn:aws:eks:us-east-1:177043759486:cluster/eks-cluster" + arn: "arn:aws:eks:us-east-1:177048008586:cluster/eks-cluster" } 1: { createdAt: 2024-01-23 23:12:54.304 +0000 UTC - arn: "arn:aws:eks:us-east-2:177043759486:cluster/online-shop-eks-cluster-byh8" + arn: "arn:aws:eks:us-east-2:177048008586:cluster/online-shop-eks-cluster-byh8" } ] ``` diff --git a/docs/cnspec/cloud/aws/account.mdx b/docs/cnspec/cloud/aws/account.mdx index abdc02680..a2dd3d01f 100644 --- a/docs/cnspec/cloud/aws/account.mdx +++ b/docs/cnspec/cloud/aws/account.mdx @@ -27,12 +27,12 @@ cnspec finds the default policy for AWS and runs a scan based on that policy. It ```coffeescript → discover related assets for 1 asset(s) → resolved assets resolved-assets=1 -→ connecting to asset AWS Account lunalectric-management (177043759486) (api) +→ connecting to asset AWS Account lunalectric-management (177048008586) (api) -██████████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 60% AWS Account lunalectric-management (177043759486) +██████████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 60% AWS Account lunalectric-management (177048008586) -Asset: AWS Account lunalectric-management (177043759486) +Asset: AWS Account lunalectric-management (177048008586) ======================================================== Checks: ✕ Fail: Ensure IAM Users Receive Permissions Only Through Groups @@ -55,7 +55,7 @@ Checks: Summary (1 assets) ================== -Target: AWS Account lunalectric-management (177043759486) +Target: AWS Account lunalectric-management (177048008586) Score: F 0/100 (100% completed) ✓ Passed: ██████ 40% (6) ✕ Failed: ████████ 53% (8) diff --git a/releases/2023-10-05-mondoo-9.0-is-out.md b/releases/2023-10-05-mondoo-9.0-is-out.md index 4be52fb5f..270d30fa2 100644 --- a/releases/2023-10-05-mondoo-9.0-is-out.md +++ b/releases/2023-10-05-mondoo-9.0-is-out.md @@ -33,7 +33,7 @@ Up to this point, both cnquery and cnspec had all connectors and providers built → installing provider 'aws' version=9.0.8 → successfully installed aws provider path=/home/zero/.config/mondoo/providers/aws version=9.0.8 → loaded configuration from /home/zero/.config/mondoo/mondoo.yml using source default - asset.name: "AWS Account lunalectric-management (177043759486)" + asset.name: "AWS Account lunalectric-management (177048008586)" ``` These provider plugins are shared between cnquery and cnspec. If you install any provider for cnquery, it is available to cnspec and vice versa.