nuclei-templates/file/keys/hashicorp-api-token.yaml

22 lines
568 B
YAML
Raw Normal View History

2023-07-14 11:42:53 +00:00
id: hashicorp-api-token
info:
name: Hashicorp API Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/hashicorp-tf-api-token.yaml
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/hashicorp-tf-api-token.go
metadata:
verified: true
tags: hashicorp,file,keys
file:
- extensions:
- all
extractors:
- type: regex
part: body
regex:
- (?i)[a-z0-9]{14}\.atlasv1\.[a-z0-9\-_=]{60,70}