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: 490a0046304402207e55ee87e40a2d4d85bcc06d548501b06c21297fdc881073d65676a4819deca30220739ca22a94917910a17365d5f3118dc91aec1092877dc91905cc1f2a0458100d:922c64590222798bb761d5b6d8e72950