From a43601cc408a60f96e5a6e3d7e012a84c13a5239 Mon Sep 17 00:00:00 2001 From: Spencer Schrock Date: Fri, 9 Jun 2023 10:28:15 -0700 Subject: [PATCH] remove unneeded policies from binary artifact tests. Signed-off-by: Spencer Schrock --- e2e/attestor_policy_test.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/e2e/attestor_policy_test.go b/e2e/attestor_policy_test.go index e2b40cdb300..b11f2978374 100644 --- a/e2e/attestor_policy_test.go +++ b/e2e/attestor_policy_test.go @@ -58,18 +58,16 @@ var _ = Describe("E2E TEST PAT: scorecard-attestor policy", func() { name: "test bad repo with ignored binary artifact", repoURL: "https://github.com/ossf-tests/scorecard-binauthz-test-bad", policy: policy.AttestationPolicy{ - PreventBinaryArtifacts: true, - AllowedBinaryArtifacts: []string{"test-binary-artifact-*"}, - PreventKnownVulnerabilities: true, + PreventBinaryArtifacts: true, + AllowedBinaryArtifacts: []string{"test-binary-artifact-*"}, }, expected: policy.Pass, }, { - name: "test bad repo with ignored binary artifact", + name: "test bad repo with binary artifact", repoURL: "https://github.com/ossf-tests/scorecard-binauthz-test-bad", policy: policy.AttestationPolicy{ - PreventBinaryArtifacts: true, - PreventKnownVulnerabilities: true, + PreventBinaryArtifacts: true, }, expected: policy.Fail, },