From adb8b12fe97eeb913d5dca7c8707e28143f3b984 Mon Sep 17 00:00:00 2001 From: Simon Baird Date: Tue, 15 Aug 2023 12:41:27 -0400 Subject: [PATCH] Edit some "At least one.." descriptions Aiming for consistent language. --- checks/annotations_test.rego | 2 +- policy/release/attestation_type.rego | 2 +- policy/release/slsa_source_version_controlled.rego | 2 +- policy/release/test.rego | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/checks/annotations_test.rego b/checks/annotations_test.rego index 440720aad..bf84775a6 100644 --- a/checks/annotations_test.rego +++ b/checks/annotations_test.rego @@ -53,7 +53,7 @@ opa_inspect_valid := { "short_name": "pipelinerun_attestation_found", "solution": "Make sure the attestation being verified was generated from a Tekton pipelineRun.", }, - "description": "At least one PipelineRun attestation must be present.", + "description": "Confirm at least one PipelineRun attestation is present.", "scope": "rule", "title": "PipelineRun attestation found", }, diff --git a/policy/release/attestation_type.rego b/policy/release/attestation_type.rego index c6123a448..11348ff8e 100644 --- a/policy/release/attestation_type.rego +++ b/policy/release/attestation_type.rego @@ -38,7 +38,7 @@ deny contains result if { # METADATA # title: PipelineRun attestation found # description: >- -# At least one PipelineRun attestation must be present. +# Confirm at least one PipelineRun attestation is present. # custom: # short_name: pipelinerun_attestation_found # failure_msg: Missing pipelinerun attestation diff --git a/policy/release/slsa_source_version_controlled.rego b/policy/release/slsa_source_version_controlled.rego index 1c0d73286..fb5e9690e 100644 --- a/policy/release/slsa_source_version_controlled.rego +++ b/policy/release/slsa_source_version_controlled.rego @@ -35,7 +35,7 @@ import data.lib # METADATA # title: Materials have uri and digest # description: >- -# At least one entry in the predicate.materials array of the attestation contains +# Confirm at least one entry in the predicate.materials array of the attestation contains # the expected attributes: uri and digest.sha1. # custom: # short_name: materials_format_okay diff --git a/policy/release/test.rego b/policy/release/test.rego index 0000ce5f1..5e81df879 100644 --- a/policy/release/test.rego +++ b/policy/release/test.rego @@ -22,7 +22,7 @@ import future.keywords.in # short_name: test_data_found # failure_msg: No test data found # solution: >- -# At least one task in the build pipeline must contain a result named TEST_OUTPUT. +# Confirm at least one task in the build pipeline contains a result named TEST_OUTPUT. # collections: # - redhat # depends_on: