From cf05ebc693aeed43646cbc909a7302c782fd46cc Mon Sep 17 00:00:00 2001 From: Nick Miyake Date: Wed, 10 Jul 2024 09:51:28 -0700 Subject: [PATCH] Update ITE-10 to reflect actual schema Signed-off-by: Aditya Sirish --- ITE/10/README.adoc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/ITE/10/README.adoc b/ITE/10/README.adoc index facd0a6..a28cf73 100644 --- a/ITE/10/README.adoc +++ b/ITE/10/README.adoc @@ -99,15 +99,16 @@ 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. @@ -115,9 +116,9 @@ 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.