Skip to content

Commit

Permalink
content: adding a policyViolations optional collection
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Williams <[email protected]>
  • Loading branch information
djtjwillia committed Dec 17, 2024
1 parent f4de39f commit 92a6af1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/spec/draft/verification_summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ to establish minimum requirements on dependencies SLSA levels may use
...
],
"verificationResult": "<PASSED|FAILED>",
"policyViolations": [
{
"name": "<ViolationName>",
"description": "<ViolationDescription>"
},
...
]
"verifiedLevels": ["<SlsaResult>"],
"dependencyLevels": {
"<SlsaResult>": <Int>,
Expand Down Expand Up @@ -189,6 +196,11 @@ of the other top-level fields, such as `subject`, see [Statement]._

> Either “PASSED” or “FAILED” to indicate if the artifact passed or failed the policy verification.
<a id="policyViolations"></a>
`policyViolations` _array (object), opational_

> A collection of name and description pairs that can be output by the policy evaluator to provide details on policy violations.
<a id="verifiedLevels"></a>
`verifiedLevels` _array ([SlsaResult]), required_

Expand Down

0 comments on commit 92a6af1

Please sign in to comment.