Add receipt input JSON and SHA256 hash for CVSS policy scoring tests
- Introduced a new JSON fixture `receipt-input.json` containing base, environmental, and threat metrics for CVSS scoring. - Added corresponding SHA256 hash file `receipt-input.sha256` to ensure integrity of the JSON fixture.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
source_field,target_field,rule,notes
|
||||
builder.id,builder.id,copy,""
|
||||
builder.version,builder.version,copy,""
|
||||
invocation.configSource.uri,configSource.uri,copy,""
|
||||
invocation.configSource.digest,configSource.digest,copy,""
|
||||
materials[],materials[],copy,"Keep materials but drop integrity fields unsupported in 1.0"
|
||||
subject[],subject[],copy,""
|
||||
provenance.dsse,metadata.buildInvocationID,copy,"Use DSSE hash as buildInvocationID placeholder"
|
||||
metadata.startedOn,metadata.buildStartedOn,copy,""
|
||||
metadata.finishedOn,metadata.buildFinishedOn,copy,""
|
||||
|
Reference in New Issue
Block a user