Skip to content

Commit

Permalink
Update example_provenance.json to slsa 0.2 spec
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Franssen <marco.franssen@philips.com>
  • Loading branch information
marcofranssen committed Nov 11, 2021
1 parent 10c44b6 commit af780dc
Showing 1 changed file with 46 additions and 40 deletions.
86 changes: 46 additions & 40 deletions .github/test_resource/example_provenance.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,48 @@
{
"_type": "https://in-toto.io/Statement/v0.1",
"subject": [
{
"name": "salsa.txt",
"digest": {
"sha256": "f8161d035cdf328c7bb124fce192cb90b603f34ca78d73e33b736b4f6bddf993"
}
}
],
"predicateType": "https://slsa.dev/provenance/v0.1",
"predicate": {
"builder": {
"id": "https://github.com/philips-labs/slsa-provenance-action/Attestations/GitHubHostedActions@v1"
},
"metadata": {
"buildInvocationId": "https://github.com/philips-labs/slsa-provenance-action/actions/runs/1303916967",
"completeness": {
"arguments": true,
"environment": false,
"materials": false
},
"reproducible": false,
"buildFinishedOn": "2021-10-04T11:08:34Z"
},
"recipe": {
"type": "https://github.com/Attestations/GitHubActionsWorkflow@v1",
"definedInMaterial": 0,
"entryPoint": "Integration test file provenance",
"arguments": null,
"environment": null
},
"materials": [
{
"uri": "git+https://github.com/philips-labs/slsa-provenance-action",
"digest": {
"sha1": "a3bc1c27230caa1cc3c27961f7e9cab43cd208dc"
}
}
]
"_type": "https://in-toto.io/Statement/v0.1",
"subject": [
{
"name": "salsa.txt",
"digest": {
"sha256": "f8161d035cdf328c7bb124fce192cb90b603f34ca78d73e33b736b4f6bddf993"
}
}
}
],
"predicateType": "https://slsa.dev/provenance/v0.2",
"predicate": {
"builder": {
"id": "https://github.com/philips-labs/slsa-provenance-action/Attestations/GitHubHostedActions@v1"
},
"buildType": "https://github.com/Attestations/GitHubActionsWorkflow@v1",
"invocation": {
"configSource": {
"entryPoint": "ci.yaml:build",
"uri": "git+https://github.com/philips-labs/slsa-provenance-action",
"digest": {
"sha1": "a3bc1c27230caa1cc3c27961f7e9cab43cd208dc"
}
},
"parameters": null,
"environment": null
},
"buildConfig": null,
"metadata": {
"buildInvocationId": "https://github.com/philips-labs/slsa-provenance-action/actions/runs/1303916967",
"buildFinishedOn": "2021-10-04T11:08:34Z",
"completeness": {
"parameters": true,
"environment": false,
"materials": false
},
"reproducible": false
},
"materials": [
{
"uri": "git+https://github.com/philips-labs/slsa-provenance-action",
"digest": {
"sha1": "a3bc1c27230caa1cc3c27961f7e9cab43cd208dc"
}
}
]
}
}

0 comments on commit af780dc

Please sign in to comment.