id: asana-clientid

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
  tags: asana,client,file,keys

file:
  - extensions:
      - all

    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: 490a0046304402202fc7fe7150e993d069a276368080f39926c9556cd4e1e76de6b9142acb63583d022002e53451b3034fd2d8e62ba2055279f77b6589e32d55c6fc0abf605d6ce579a0:922c64590222798bb761d5b6d8e72950