id: sendgrid-api-key-file

info:
  name: Sendgrid API Key
  author: gaurang
  severity: high
  tags: keys,file,token,sendgrid
file:
  - extensions:
      - all

    extractors:
      - type: regex
        regex:
          - "SG\\.[a-zA-Z0-9]{22}\\.[a-zA-Z0-9]{43}"
# digest: 4a0a00473045022025f93edf44ac5af9a498850ea537810f3fc33e687e08a7f02b87757ad2cce7700221009ee22e9e179ed169d50e138e9619450a843b1a8c831eb163cd203ac5808f84f9:922c64590222798bb761d5b6d8e72950