Security First Aid looks for a repository policy file named .sfa.json in the scan target root unless --config is provided.
{
"enabledRules": ["SFA_SECRET_001", "SFA_GHA_003"],
"disabledRules": ["SFA_SECRET_001"],
"severityThreshold": "high",
"baselinePath": "./.sfa-baseline.json"
}Type: string[]
If provided, only the listed rules are allowed to run before disabledRules are applied.
Type: string[]
Disables specific rule IDs during scan execution.
Type: low | medium | high | critical
Defines the default CLI exit threshold when --severity-threshold is not supplied explicitly.
Type: string
Points to the baseline file to apply during scanning. Relative paths are resolved from the directory containing .sfa.json.
- CLI flags
.sfa.json- built-in defaults
{
"enabledRules": ["SFA_SECRET_001", "SFA_GHA_003", "SFA_DOCKER_001"],
"disabledRules": ["SFA_CONFIG_001"],
"severityThreshold": "critical",
"baselinePath": "./.sfa-baseline.json"
}