diff --git a/policy/release/sbom_cyclonedx.rego b/policy/release/sbom_cyclonedx.rego index 41ccd6c2..8e7ce2d8 100644 --- a/policy/release/sbom_cyclonedx.rego +++ b/policy/release/sbom_cyclonedx.rego @@ -233,4 +233,4 @@ _rule_data_errors contains msg if { _rule_data_packages_key := "disallowed_packages" -_rule_data_attributes_key := "dissalowed_attributes" +_rule_data_attributes_key := "disallowed_attributes" diff --git a/policy/release/sbom_cyclonedx_test.rego b/policy/release/sbom_cyclonedx_test.rego index 3310c837..d59d2142 100644 --- a/policy/release/sbom_cyclonedx_test.rego +++ b/policy/release/sbom_cyclonedx_test.rego @@ -276,25 +276,25 @@ test_rule_data_validation if { }, { "code": "sbom_cyclonedx.disallowed_packages_provided", - "msg": "Rule data dissalowed_attributes has unexpected format: 2: name is required", + "msg": "Rule data disallowed_attributes has unexpected format: 2: name is required", }, { "code": "sbom_cyclonedx.disallowed_packages_provided", - "msg": "Rule data dissalowed_attributes has unexpected format: 3: Additional property something is not allowed", + "msg": "Rule data disallowed_attributes has unexpected format: 3: Additional property something is not allowed", }, { "code": "sbom_cyclonedx.disallowed_packages_provided", # regal ignore:line-length - "msg": "Rule data dissalowed_attributes has unexpected format: 4.name: Invalid type. Expected: string, given: integer", + "msg": "Rule data disallowed_attributes has unexpected format: 4.name: Invalid type. Expected: string, given: integer", }, { "code": "sbom_cyclonedx.disallowed_packages_provided", # regal ignore:line-length - "msg": "Rule data dissalowed_attributes has unexpected format: 4.value: Invalid type. Expected: string, given: integer", + "msg": "Rule data disallowed_attributes has unexpected format: 4.value: Invalid type. Expected: string, given: integer", }, { "code": "sbom_cyclonedx.disallowed_packages_provided", - "msg": "Rule data dissalowed_attributes has unexpected format: (Root): array items[5,6] must be unique", + "msg": "Rule data disallowed_attributes has unexpected format: (Root): array items[5,6] must be unique", }, }