Skip to content

Commit

Permalink
Update ITE-10 to reflect actual schema
Browse files Browse the repository at this point in the history
Signed-off-by: Aditya Sirish <[email protected]>
  • Loading branch information
nmiyake authored and adityasaky committed Dec 13, 2024
1 parent 569bf3c commit cf05ebc
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions ITE/10/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -99,25 +99,26 @@ checkout step.

=== Setting Predicate Type Expectations for Steps and Inspections

Currently, step declarations have the following schema.
Currently (in-toto v1.0.0), step declarations have the following
link:https://github.com/in-toto/specification/blob/v1.0/in-toto-spec.md#431-steps[schema]:

```
name: string
threshold: int
expectedMaterials: list of artifact rules
expectedProducts: list of artifact rules
expected_materials: list of artifact rules
expected_products: list of artifact rules
pubkeys: list of authorized key IDs
expectedCommand: list of strings
expected_command: list of strings
```

This ITE proposes updating this schema to incorporate predicate types.

```
name: string
command: list of strings
expectedMaterials: list of artifact rules
expectedProducts: list of artifact rules
expectedPredicates: list of expectedStepPredicates
expected_materials: list of artifact rules
expected_products: list of artifact rules
expected_predicates: list of expectedStepPredicates
```

Each `expectedStepPredicate` object has the following schema.
Expand Down

0 comments on commit cf05ebc

Please sign in to comment.