misc changes

patch-4
Prince Chaddha 2024-06-06 22:47:04 +04:00
parent b4b19d444d
commit 44632fd516
1 changed files with 4 additions and 4 deletions

View File

@ -1,14 +1,14 @@
id: sns-topic-policy-public-access id: sns-topic-public-accessible
info: info:
name: Public Access of SNS Topics via Policy name: Public Access of SNS Topics via Policy
author: Ritesh_Gohil(#L4stPL4Y3R) author: Ritesh_Gohil(#L4stPL4Y3R)
severity: critical severity: high
description: | description: |
This template checks if Amazon SNS topics are configured to prevent public access via topic policies. This template checks if Amazon SNS topics are configured to prevent public access via topic policies.
reference: reference:
- https://docs.aws.amazon.com/sns/latest/api/API_GetTopicAttributes.html - https://docs.aws.amazon.com/sns/latest/api/API_GetTopicAttributes.html
tags: cloud, devops, aws, amazon, sns, aws-cloud-config tags: cloud,devops,aws,amazon,sns,aws-cloud-config
flow: | flow: |
code(1) code(1)
@ -60,4 +60,4 @@ code:
- type: dsl - type: dsl
dsl: dsl:
- '"The SNS topic " + topicArn + " is publicly accessible via Policy"' - '"The SNS topic " + topicArn + " is publicly accessible via Policy"'
# digest: 4a0a0047304502200290e750e82d1e0766cede53f1ad65a1f9a04aaa4a4a36957a9f1072761cb25a0221009a7af53a7ee9887715e2c5791bab6885c0efaa7286ebc7731c40ccb5c5b14c8c:f37bf26b30a8e29c9db6a85589544950 # digest: 4a0a00473045022100a86cbadd9b2cca9f3e2eeb26bef158bf6658165af060938dc49ce7d588c776be0220179263c7d0129712f96ae3284cc2701c0407a1ca739ecf45729d656af36816d0:366f2a24c8eb519f6968bd8801c08ebe