id: digitalocean-personal-token

info:
  name: DigitalOcean Personal Access Token
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/rules/digitalocean.yml
    - https://docs.digitalocean.com/reference/api/
  metadata:
    verified: true
  tags: keys,file,digitalocean,token

file:
  - extensions:
      - all

    extractors:
      - type: regex
        part: body
        regex:
          - (?i)\b(doo_v1_[a-f0-9]{64})\b
# digest: 4a0a0047304502201524e2869315a2ef331c90c262f1128e3d58c8b9c2c7af04cb9d78944801ad1e022100cb30b3e74dfe5b18d44c182dda8400ac56d43cbc3b80b9705ebd6526bc14de87:922c64590222798bb761d5b6d8e72950