id: aws-access-key

info:
  name: Amazon Web Services Access Key ID - Detect
  author: gaurang
  severity: info
  description: Amazon Web Services Access Key ID 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,aws,amazon

file:
  - extensions:
      - all

    extractors:
      - type: regex
        regex:
          - "(A3T[A-Z0-9]|AKIA|AGPA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}"
# digest: 4a0a0047304502204fdcba8da7457e35eb4c1ebac4e622c8038ffa5ad4a7cfcad4808b3e1a7184a0022100add66268251a829f7848a5ad6da77226f90f0f74fd8f4bcdeed2bc6541997039:922c64590222798bb761d5b6d8e72950