record_security_audit
Record that a Git repository was security-audited at a specific commit to track coverage. Stores the repo path and audited commit SHA for later checks.
Instructions
Record that a repository was security-audited at a given commit.
Parameters: repo_root: Absolute path to an existing directory containing the git repo. sha: Optional 4-64 hex-character commit id. Defaults to HEAD.
Returns:
On success, {"ok": True, "repo_root": ..., "last_audited_sha": ..., "last_audited_at": ...}. On failure, {"ok": False, "error": ...}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | No | ||
| repo_root | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||