make_baseline
Generates baseline ignore entries for current secret-scan findings so future scans report only new issues; copy fingerprints into .secretscan-ignore after verifying false positives or rotation.
Instructions
Return the lines to put in /.secretscan-ignore so the CURRENT findings are accepted (a baseline) and only new ones are reported later. Only fingerprints are listed, never values. This server does not write the file: copy the text into it yourself, after checking each finding really is a false positive or already rotated. Accepting a live secret hides it; rotate real ones instead.
Args: path: project directory. include_history: also include secrets found in git history. max_commits: history depth if include_history is true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "make_baseline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_commits | No | ||
| include_history | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |