misc changes

patch-4
Prince Chaddha 2024-06-11 22:51:29 +04:00
parent 1847bc8aad
commit dafc99c373
2 changed files with 5 additions and 5 deletions

View File

@ -1,14 +1,14 @@
id: sns-topic-subscribe-public-access
id: sns-public-subscribe-access
info:
name: Public Subscription Access of SNS Topics via Policy
author: Ritesh_Gohil(#L4stPL4Y3R)
severity: High
severity: high
description: |
This template checks if Amazon SNS topics are configured to allow public subscription access via topic policies.
reference:
- 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: |
code(1)
@ -65,4 +65,4 @@ code:
- type: dsl
dsl:
- '"The SNS topic " + topicArn + " allows public subscription via Policy"'
# digest: 4a0a0047304502205fb7f0c9b0626cc145370d50015cadeeda16e73469baaab959fc8c76c120a57b02210096912a33733194302dcee8747a398dd06c425ceac11d7348bd8c08ca4b0184de:f37bf26b30a8e29c9db6a85589544950
# digest: 4a0a004730450221008a967d8e5c9942beefab71caa02bdc0fd01121f2c88254d8a37296a941f8e02c02200d45a3425f5011f61061b5004635f3ad9407bcd88ae47fcda6afc63e883b432d:366f2a24c8eb519f6968bd8801c08ebe

View File

@ -60,4 +60,4 @@ code:
- type: dsl
dsl:
- '"The SNS topic " + topicArn + " is publicly accessible via Policy"'
# digest: 4a0a00473045022100a86cbadd9b2cca9f3e2eeb26bef158bf6658165af060938dc49ce7d588c776be0220179263c7d0129712f96ae3284cc2701c0407a1ca739ecf45729d656af36816d0:366f2a24c8eb519f6968bd8801c08ebe
# digest: 4a0a0047304502200dff8839ea05345d4fbf9399ef0c6b3b5efd891edbfcc049b16f9509cc6147ef022100f333312e0dfe72993ca40c3ad6b5ba91e7237fa0871eb620f2ede5529c5ab328:366f2a24c8eb519f6968bd8801c08ebe