id: asana-clientsecret

info:
  name: Asana Client Secret
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/asana-client-secret.go
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/asana-client-secret.yaml
  metadata:
    verified: true
  tags: asana,client,file,keys,secret

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}([a-z0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 4a0a0047304502200c211c86cd9b48f6d1dea8cf6345809be815230de7acf28e3fd53b536a45d0bb022100bebee96cb4f78be628db14ee7f2a9f79268d36dc3f5abd9300fa5cbbd9e15293:922c64590222798bb761d5b6d8e72950