18 lines
587 B
JSON
18 lines
587 B
JSON
{
|
|
"id": "stellaops.secrets.docker-hub-token",
|
|
"version": "1.0.0",
|
|
"name": "Docker Hub Access Token",
|
|
"description": "Detects Docker Hub personal access tokens",
|
|
"type": "regex",
|
|
"pattern": "dckr_pat_[A-Za-z0-9_-]{27}",
|
|
"severity": "high",
|
|
"confidence": "high",
|
|
"keywords": ["dckr_pat_", "docker", "registry"],
|
|
"filePatterns": ["*.yml", "*.yaml", "*.json", "*.env", "*.sh", ".docker/config.json"],
|
|
"enabled": true,
|
|
"tags": ["docker", "container", "registry", "credentials", "token"],
|
|
"references": [
|
|
"https://docs.docker.com/docker-hub/access-tokens/"
|
|
]
|
|
}
|