Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update(query): change amazonaws.cn links to aws.amazon.com #7288

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"severity": "MEDIUM",
"category": "Secret Management",
"descriptionText": "ConfigRule should enforce access keys to be rotated within 90 days.",
"descriptionUrl": "https://docs.amazonaws.cn/en_us/config/latest/developerguide/access-keys-rotated.html",
"descriptionUrl": "https://docs.aws.amazon.com/en_us/config/latest/developerguide/access-keys-rotated.html",
"platform": "CloudFormation",
"descriptionID": "148d40cb",
"cloudProvider": "aws",
"cwe": "522"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"severity": "LOW",
"category": "Best Practices",
"descriptionText": "IAM Access Analyzer should be enabled and configured to continuously monitor resource permissions",
"descriptionUrl": "https://docs.amazonaws.cn/en_us/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html",
"descriptionUrl": "https://docs.aws.amazon.com/en_us/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html",
"platform": "CloudFormation",
"descriptionID": "24a6978e",
"cloudProvider": "aws",
"cwe": "778"
}
}
4 changes: 2 additions & 2 deletions docs/queries/all-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ This page contains all queries.
|S3 Bucket CloudTrail Logging Disabled<br/><sup><sub>c3ce69fd-e3df-49c6-be78-1db3f802261c</sub></sup>|CloudFormation|<span style="color:#ff7213">Medium</span>|Observability|<a href="../cloudformation-queries/aws/c3ce69fd-e3df-49c6-be78-1db3f802261c" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/c3ce69fd-e3df-49c6-be78-1db3f802261c')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-loggingconfig">Documentation</a><br/>|
|S3 Bucket Logging Disabled<br/><sup><sub>4552b71f-0a2a-4bc4-92dd-ed7ec1b4674c</sub></sup>|CloudFormation|<span style="color:#ff7213">Medium</span>|Observability|<a href="../cloudformation-queries/aws/4552b71f-0a2a-4bc4-92dd-ed7ec1b4674c" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/4552b71f-0a2a-4bc4-92dd-ed7ec1b4674c')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-loggingconfig">Documentation</a><br/>|
|VPC FlowLogs Disabled<br/><sup><sub>f6d299d2-21eb-41cc-b1e1-fe12d857500b</sub></sup>|CloudFormation|<span style="color:#ff7213">Medium</span>|Observability|<a href="../cloudformation-queries/aws/f6d299d2-21eb-41cc-b1e1-fe12d857500b" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/f6d299d2-21eb-41cc-b1e1-fe12d857500b')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html">Documentation</a><br/>|
|High Access Key Rotation Period<br/><sup><sub>800fa019-49dd-421b-9042-7331fdd83fa2</sub></sup>|CloudFormation|<span style="color:#ff7213">Medium</span>|Secret Management|<a href="../cloudformation-queries/aws/800fa019-49dd-421b-9042-7331fdd83fa2" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/800fa019-49dd-421b-9042-7331fdd83fa2')">Query details</a><br><a href="https://docs.amazonaws.cn/en_us/config/latest/developerguide/access-keys-rotated.html">Documentation</a><br/>|
|High Access Key Rotation Period<br/><sup><sub>800fa019-49dd-421b-9042-7331fdd83fa2</sub></sup>|CloudFormation|<span style="color:#ff7213">Medium</span>|Secret Management|<a href="../cloudformation-queries/aws/800fa019-49dd-421b-9042-7331fdd83fa2" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/800fa019-49dd-421b-9042-7331fdd83fa2')">Query details</a><br><a href="https://docs.aws.amazon.com/en_us/config/latest/developerguide/access-keys-rotated.html">Documentation</a><br/>|
|IAM User With No Group<br/><sup><sub>06933df4-0ea7-461c-b9b5-104d27390e0e</sub></sup>|CloudFormation|<span style="color:#edd57e">Low</span>|Access Control|<a href="../cloudformation-queries/aws/06933df4-0ea7-461c-b9b5-104d27390e0e" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/06933df4-0ea7-461c-b9b5-104d27390e0e')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-iam.html#scenario-iam-policy">Documentation</a><br/>|
|Support Has No Role Associated<br/><sup><sub>d71b5fd7-9020-4b2d-9ec8-b3839faa2744</sub></sup>|CloudFormation|<span style="color:#edd57e">Low</span>|Access Control|<a href="../cloudformation-queries/aws/d71b5fd7-9020-4b2d-9ec8-b3839faa2744" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/d71b5fd7-9020-4b2d-9ec8-b3839faa2744')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html">Documentation</a><br/>|
|EBS Volume Not Attached To Instances<br/><sup><sub>1819ac03-542b-4026-976b-f37addd59f3b</sub></sup>|CloudFormation|<span style="color:#edd57e">Low</span>|Availability|<a href="../cloudformation-queries/aws/1819ac03-542b-4026-976b-f37addd59f3b" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/1819ac03-542b-4026-976b-f37addd59f3b')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volumeattachment.html">Documentation</a><br/>|
Expand All @@ -472,7 +472,7 @@ This page contains all queries.
|CDN Configuration Is Missing<br/><sup><sub>e4f54ff4-d352-40e8-a096-5141073c37a2</sub></sup>|CloudFormation|<span style="color:#edd57e">Low</span>|Best Practices|<a href="../cloudformation-queries/aws/e4f54ff4-d352-40e8-a096-5141073c37a2" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/e4f54ff4-d352-40e8-a096-5141073c37a2')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html">Documentation</a><br/>|
|Cognito UserPool Without MFA<br/><sup><sub>74a18d1a-cf02-4a31-8791-ed0967ad7fdc</sub></sup>|CloudFormation|<span style="color:#edd57e">Low</span>|Best Practices|<a href="../cloudformation-queries/aws/74a18d1a-cf02-4a31-8791-ed0967ad7fdc" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/74a18d1a-cf02-4a31-8791-ed0967ad7fdc')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html">Documentation</a><br/>|
|Geo Restriction Disabled<br/><sup><sub>7f8843f0-9ea5-42b4-a02b-753055113195</sub></sup>|CloudFormation|<span style="color:#edd57e">Low</span>|Best Practices|<a href="../cloudformation-queries/aws/7f8843f0-9ea5-42b4-a02b-753055113195" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/7f8843f0-9ea5-42b4-a02b-753055113195')">Query details</a><br><a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/georestrictions.html">Documentation</a><br/>|
|IAM Access Analyzer Not Enabled<br/><sup><sub>8d29754a-2a18-460d-a1ba-9509f8d359da</sub></sup>|CloudFormation|<span style="color:#edd57e">Low</span>|Best Practices|<a href="../cloudformation-queries/aws/8d29754a-2a18-460d-a1ba-9509f8d359da" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/8d29754a-2a18-460d-a1ba-9509f8d359da')">Query details</a><br><a href="https://docs.amazonaws.cn/en_us/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html">Documentation</a><br/>|
|IAM Access Analyzer Not Enabled<br/><sup><sub>8d29754a-2a18-460d-a1ba-9509f8d359da</sub></sup>|CloudFormation|<span style="color:#edd57e">Low</span>|Best Practices|<a href="../cloudformation-queries/aws/8d29754a-2a18-460d-a1ba-9509f8d359da" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/8d29754a-2a18-460d-a1ba-9509f8d359da')">Query details</a><br><a href="https://docs.aws.amazon.com/en_us/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html">Documentation</a><br/>|
|IAM Password Without Minimum Length<br/><sup><sub>b1b20ae3-8fa7-4af5-a74d-a2145920fcb1</sub></sup>|CloudFormation|<span style="color:#edd57e">Low</span>|Best Practices|<a href="../cloudformation-queries/aws/b1b20ae3-8fa7-4af5-a74d-a2145920fcb1" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/b1b20ae3-8fa7-4af5-a74d-a2145920fcb1')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-iam.html#scenario-iam-user">Documentation</a><br/>|
|IAM Policies Without Groups<br/><sup><sub>5e7acff5-095b-40ac-9073-ac2e4ad8a512</sub></sup>|CloudFormation|<span style="color:#edd57e">Low</span>|Best Practices|<a href="../cloudformation-queries/aws/5e7acff5-095b-40ac-9073-ac2e4ad8a512" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/5e7acff5-095b-40ac-9073-ac2e4ad8a512')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-iam.html#scenario-iam-policy">Documentation</a><br/>|
|Lambda Permission Misconfigured<br/><sup><sub>9b83114b-b2a1-4534-990d-06da015e47aa</sub></sup>|CloudFormation|<span style="color:#edd57e">Low</span>|Best Practices|<a href="../cloudformation-queries/aws/9b83114b-b2a1-4534-990d-06da015e47aa" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/9b83114b-b2a1-4534-990d-06da015e47aa')">Query details</a><br><a href="https://docs.aws.amazon.com/pt_br/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html">Documentation</a><br/>|
Expand Down
4 changes: 2 additions & 2 deletions docs/queries/cloudformation-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ Below are listed queries related to CloudFormation AWS:
|S3 Bucket CloudTrail Logging Disabled<br/><sup><sub>c3ce69fd-e3df-49c6-be78-1db3f802261c</sub></sup>|<span style="color:#ff7213">Medium</span>|Observability|<a href="../cloudformation-queries/aws/c3ce69fd-e3df-49c6-be78-1db3f802261c" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/c3ce69fd-e3df-49c6-be78-1db3f802261c')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-loggingconfig">Documentation</a><br/>|
|S3 Bucket Logging Disabled<br/><sup><sub>4552b71f-0a2a-4bc4-92dd-ed7ec1b4674c</sub></sup>|<span style="color:#ff7213">Medium</span>|Observability|<a href="../cloudformation-queries/aws/4552b71f-0a2a-4bc4-92dd-ed7ec1b4674c" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/4552b71f-0a2a-4bc4-92dd-ed7ec1b4674c')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-loggingconfig">Documentation</a><br/>|
|VPC FlowLogs Disabled<br/><sup><sub>f6d299d2-21eb-41cc-b1e1-fe12d857500b</sub></sup>|<span style="color:#ff7213">Medium</span>|Observability|<a href="../cloudformation-queries/aws/f6d299d2-21eb-41cc-b1e1-fe12d857500b" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/f6d299d2-21eb-41cc-b1e1-fe12d857500b')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html">Documentation</a><br/>|
|High Access Key Rotation Period<br/><sup><sub>800fa019-49dd-421b-9042-7331fdd83fa2</sub></sup>|<span style="color:#ff7213">Medium</span>|Secret Management|<a href="../cloudformation-queries/aws/800fa019-49dd-421b-9042-7331fdd83fa2" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/800fa019-49dd-421b-9042-7331fdd83fa2')">Query details</a><br><a href="https://docs.amazonaws.cn/en_us/config/latest/developerguide/access-keys-rotated.html">Documentation</a><br/>|
|High Access Key Rotation Period<br/><sup><sub>800fa019-49dd-421b-9042-7331fdd83fa2</sub></sup>|<span style="color:#ff7213">Medium</span>|Secret Management|<a href="../cloudformation-queries/aws/800fa019-49dd-421b-9042-7331fdd83fa2" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/800fa019-49dd-421b-9042-7331fdd83fa2')">Query details</a><br><a href="https://docs.aws.amazon.com/en_us/config/latest/developerguide/access-keys-rotated.html">Documentation</a><br/>|
|IAM User With No Group<br/><sup><sub>06933df4-0ea7-461c-b9b5-104d27390e0e</sub></sup>|<span style="color:#edd57e">Low</span>|Access Control|<a href="../cloudformation-queries/aws/06933df4-0ea7-461c-b9b5-104d27390e0e" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/06933df4-0ea7-461c-b9b5-104d27390e0e')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-iam.html#scenario-iam-policy">Documentation</a><br/>|
|Support Has No Role Associated<br/><sup><sub>d71b5fd7-9020-4b2d-9ec8-b3839faa2744</sub></sup>|<span style="color:#edd57e">Low</span>|Access Control|<a href="../cloudformation-queries/aws/d71b5fd7-9020-4b2d-9ec8-b3839faa2744" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/d71b5fd7-9020-4b2d-9ec8-b3839faa2744')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html">Documentation</a><br/>|
|EBS Volume Not Attached To Instances<br/><sup><sub>1819ac03-542b-4026-976b-f37addd59f3b</sub></sup>|<span style="color:#edd57e">Low</span>|Availability|<a href="../cloudformation-queries/aws/1819ac03-542b-4026-976b-f37addd59f3b" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/1819ac03-542b-4026-976b-f37addd59f3b')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volumeattachment.html">Documentation</a><br/>|
Expand All @@ -206,7 +206,7 @@ Below are listed queries related to CloudFormation AWS:
|CDN Configuration Is Missing<br/><sup><sub>e4f54ff4-d352-40e8-a096-5141073c37a2</sub></sup>|<span style="color:#edd57e">Low</span>|Best Practices|<a href="../cloudformation-queries/aws/e4f54ff4-d352-40e8-a096-5141073c37a2" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/e4f54ff4-d352-40e8-a096-5141073c37a2')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html">Documentation</a><br/>|
|Cognito UserPool Without MFA<br/><sup><sub>74a18d1a-cf02-4a31-8791-ed0967ad7fdc</sub></sup>|<span style="color:#edd57e">Low</span>|Best Practices|<a href="../cloudformation-queries/aws/74a18d1a-cf02-4a31-8791-ed0967ad7fdc" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/74a18d1a-cf02-4a31-8791-ed0967ad7fdc')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html">Documentation</a><br/>|
|Geo Restriction Disabled<br/><sup><sub>7f8843f0-9ea5-42b4-a02b-753055113195</sub></sup>|<span style="color:#edd57e">Low</span>|Best Practices|<a href="../cloudformation-queries/aws/7f8843f0-9ea5-42b4-a02b-753055113195" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/7f8843f0-9ea5-42b4-a02b-753055113195')">Query details</a><br><a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/georestrictions.html">Documentation</a><br/>|
|IAM Access Analyzer Not Enabled<br/><sup><sub>8d29754a-2a18-460d-a1ba-9509f8d359da</sub></sup>|<span style="color:#edd57e">Low</span>|Best Practices|<a href="../cloudformation-queries/aws/8d29754a-2a18-460d-a1ba-9509f8d359da" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/8d29754a-2a18-460d-a1ba-9509f8d359da')">Query details</a><br><a href="https://docs.amazonaws.cn/en_us/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html">Documentation</a><br/>|
|IAM Access Analyzer Not Enabled<br/><sup><sub>8d29754a-2a18-460d-a1ba-9509f8d359da</sub></sup>|<span style="color:#edd57e">Low</span>|Best Practices|<a href="../cloudformation-queries/aws/8d29754a-2a18-460d-a1ba-9509f8d359da" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/8d29754a-2a18-460d-a1ba-9509f8d359da')">Query details</a><br><a href="https://docs.aws.amazon.com/en_us/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html">Documentation</a><br/>|
|IAM Password Without Minimum Length<br/><sup><sub>b1b20ae3-8fa7-4af5-a74d-a2145920fcb1</sub></sup>|<span style="color:#edd57e">Low</span>|Best Practices|<a href="../cloudformation-queries/aws/b1b20ae3-8fa7-4af5-a74d-a2145920fcb1" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/b1b20ae3-8fa7-4af5-a74d-a2145920fcb1')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-iam.html#scenario-iam-user">Documentation</a><br/>|
|IAM Policies Without Groups<br/><sup><sub>5e7acff5-095b-40ac-9073-ac2e4ad8a512</sub></sup>|<span style="color:#edd57e">Low</span>|Best Practices|<a href="../cloudformation-queries/aws/5e7acff5-095b-40ac-9073-ac2e4ad8a512" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/5e7acff5-095b-40ac-9073-ac2e4ad8a512')">Query details</a><br><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-iam.html#scenario-iam-policy">Documentation</a><br/>|
|Lambda Permission Misconfigured<br/><sup><sub>9b83114b-b2a1-4534-990d-06da015e47aa</sub></sup>|<span style="color:#edd57e">Low</span>|Best Practices|<a href="../cloudformation-queries/aws/9b83114b-b2a1-4534-990d-06da015e47aa" onclick="newWindowOpenerSafe(event, '../cloudformation-queries/aws/9b83114b-b2a1-4534-990d-06da015e47aa')">Query details</a><br><a href="https://docs.aws.amazon.com/pt_br/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html">Documentation</a><br/>|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ hide:

### Description
ConfigRule should enforce access keys to be rotated within 90 days.<br>
[Documentation](https://docs.amazonaws.cn/en_us/config/latest/developerguide/access-keys-rotated.html)
[Documentation](https://docs.aws.amazon.com/en_us/config/latest/developerguide/access-keys-rotated.html)

### Code samples
#### Code samples with security vulnerabilities
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ hide:

### Description
IAM Access Analyzer should be enabled and configured to continuously monitor resource permissions<br>
[Documentation](https://docs.amazonaws.cn/en_us/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html)
[Documentation](https://docs.aws.amazon.com/en_us/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html)

### Code samples
#### Code samples with security vulnerabilities
Expand Down
Loading
Loading