Skip to content

Commit 7e67db5

Browse files
committed
introduce validate vsa
1 parent 9708f5b commit 7e67db5

25 files changed

Lines changed: 3606 additions & 477 deletions

.cursor/rules/package_filtering_process.mdc

Lines changed: 97 additions & 289 deletions
Large diffs are not rendered by default.

cmd/validate/image_integration_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ import (
4444
func TestEvaluatorLifecycle(t *testing.T) {
4545
noEvaluators := 100
4646

47-
// Clear the download cache to ensure a clean state for this test
48-
// source.ClearDownloadCache()
49-
5047
ctx := utils.WithFS(context.Background(), afero.NewMemMapFs())
5148
client := fake.FakeClient{}
5249
commonMockClient(&client)

cmd/validate/validate.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import (
2323
"github.com/conforma/cli/internal/input"
2424
"github.com/conforma/cli/internal/policy"
2525
_ "github.com/conforma/cli/internal/rego"
26+
"github.com/conforma/cli/internal/validate/vsa"
2627
)
2728

2829
var ValidateCmd *cobra.Command
@@ -35,6 +36,7 @@ func init() {
3536
ValidateCmd.AddCommand(validateImageCmd(image.ValidateImage))
3637
ValidateCmd.AddCommand(validateInputCmd(input.ValidateInput))
3738
ValidateCmd.AddCommand(ValidatePolicyCmd(policy.ValidatePolicy))
39+
ValidateCmd.AddCommand(validateVSACmd(vsa.ValidateVSA))
3840
}
3941

4042
func NewValidateCmd() *cobra.Command {

0 commit comments

Comments
 (0)