Skip to content

Commit

Permalink
get rid of real aws acct number
Browse files Browse the repository at this point in the history
  • Loading branch information
misterpantz committed Nov 21, 2024
1 parent 83d72b8 commit 64ea852
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions docs/cnquery/cloud/aws/eks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
```

Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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
}
]
Expand All @@ -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"
}
]
```
Expand Down
8 changes: 4 additions & 4 deletions docs/cnspec/cloud/aws/account.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion releases/2023-10-05-mondoo-9.0-is-out.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 64ea852

Please sign in to comment.