Verify SLSA provenance
verify_slsa_provenanceVerify an artifact's SLSA provenance by checking it against a signed attestation, confirming the build's integrity and origin.
Instructions
Verify an artifact's SLSA provenance with slsa-verifier.
**Reaches an external system**: shells out to a locally installed
``slsa-verifier`` binary (which may fetch metadata). No optional Python
extra is required, but the binary must be on ``PATH`` -- otherwise the
tool returns an ``EP_EXTERNAL_TOOL`` error.
Args:
artifact_path: Path to the artifact whose provenance is checked.
provenance_path: Path to the SLSA provenance attestation.
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": {
"artifact_path": "<artifact_path>",
"provenance_path": "<provenance_path>"
},
"name": "verify_slsa_provenance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artifact_path | Yes | Path to the artifact to verify. | |
| provenance_path | Yes | Path to the SLSA provenance attestation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||