id: okta-api info: name: Okta API Token author: DhiyaneshDK severity: info reference: - https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/builtin/rules/okta.yml - https://devforum.okta.com/t/api-token-length/5519 - https://developer.okta.com/docs/guides/create-an-api-token/main/ metadata: verified: true tags: okta,keys,file file: - extensions: - all extractors: - type: regex part: body regex: - (?i)(?s)(?:okta|ssws).{0,40}\b(00[a-z0-9_-]{39}[a-z0-9_])\b # digest: 4b0a0048304602210099f31a1c5cf66963fb04f1f4a78317a1329098914e756d1a97879086ca81de74022100c51328ddf041ad3e06759c5ce691eed371adf63ef1c6d203b2a50d87b165b1f9:922c64590222798bb761d5b6d8e72950