id: asana-client-id

info:
  name: Asana Client ID
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/asana-client-id.go
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/asana-client-id.yaml
  metadata:
    verified: true
    max-request: 1
  tags: asana,exposure,tokens,secret,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    extractors:
      - type: regex
        part: body
        regex:
          - (?i)(?:asana)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([0-9]{16})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 490a004630440220500bc34ef83cd93f43b550b63cb68744e2cf719741278e4df150d6ff5908b56202207ca748ef9f4150f4f4b5ac070f78f207f6bdf78b97cb738e25e072e6174520dc:922c64590222798bb761d5b6d8e72950