File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -99,25 +99,26 @@ checkout step.
99
99
100
100
=== Setting Predicate Type Expectations for Steps and Inspections
101
101
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]:
103
104
104
105
```
105
106
name: string
106
107
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
109
110
pubkeys: list of authorized key IDs
110
- expectedCommand : list of strings
111
+ expected_command : list of strings
111
112
```
112
113
113
114
This ITE proposes updating this schema to incorporate predicate types.
114
115
115
116
```
116
117
name: string
117
118
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
121
122
```
122
123
123
124
Each `expectedStepPredicate` object has the following schema.
You can’t perform that action at this time.
0 commit comments