id: alibaba-key-id

info:
  name: Alibaba Access Key ID
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/alibaba-access-key-id.yaml
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/alibaba-access-key-id.go
  metadata:
    verified: true
  tags: alibaba,access,file,keys

file:
  - extensions:
      - all

    extractors:
      - type: regex
        part: body
        regex:
          - (?i)\b((LTAI)(?i)[a-z0-9]{20})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 490a0046304402204994a2722f3f8fb1c1cc2aeaea02d41830500233e08836560183fc5b6c053e0902204141b1223d3d4d67eb45ad2fef8b16fad1526143dc6ebfe3ce6fe8fd496fd00b:922c64590222798bb761d5b6d8e72950