Skip to content

Commit 74ae008

Browse files
authored
Merge pull request #56 from nmiyake/update-ITE-10
Update ITE-10 to reflect actual schema
2 parents 6dd4491 + cf05ebc commit 74ae008

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

ITE/10/README.adoc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,25 +99,26 @@ checkout step.
9999

100100
=== Setting Predicate Type Expectations for Steps and Inspections
101101

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

104105
```
105106
name: string
106107
threshold: int
107-
expectedMaterials: list of artifact rules
108-
expectedProducts: list of artifact rules
108+
expected_materials: list of artifact rules
109+
expected_products: list of artifact rules
109110
pubkeys: list of authorized key IDs
110-
expectedCommand: list of strings
111+
expected_command: list of strings
111112
```
112113

113114
This ITE proposes updating this schema to incorporate predicate types.
114115

115116
```
116117
name: string
117118
command: list of strings
118-
expectedMaterials: list of artifact rules
119-
expectedProducts: list of artifact rules
120-
expectedPredicates: list of expectedStepPredicates
119+
expected_materials: list of artifact rules
120+
expected_products: list of artifact rules
121+
expected_predicates: list of expectedStepPredicates
121122
```
122123

123124
Each `expectedStepPredicate` object has the following schema.

0 commit comments

Comments
 (0)