id: amazon-sns-token

info:
  name: Amazon SNS Token - Detect
  author: TheBinitGhimire
  severity: info
  description: Amazon SNS token was detected.
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  tags: file,keys,token,amazon,aws,sns

file:
  - extensions:
      - all

    extractors:
      - type: regex
        name: amazon-sns-topic
        regex:
          - 'arn:aws:sns:[a-z0-9\-]+:[0-9]+:[A-Za-z0-9\-_]+'

# Enhanced by md on 2023/05/04
# digest: 4b0a00483046022100f21f72014009c99c3686709168455093723e26037bd4833bf245451fa5233e200221009ef95cfade255459600daaac5a6303176d7982e992543a4a8446b5316612e02d:922c64590222798bb761d5b6d8e72950