Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AuthorizedUserMockId = int64(1234) SbomTask = "CycloneDX/gh-dotnet-generate-sbom" ArgonScannerAction = "argonsecurity/scanner-action" TrivyScannerAction = "aquasecurity/trivy-action" )
Functions ¶
func RunCheckTests ¶
func RunCheckTests(t *testing.T, testedAction checkmodels.CheckAction, tests []CheckTest, checksMetadata checkmodels.CheckMetadataMap)
Types ¶
type CheckTest ¶
type CheckTest struct { Name string Data *checkmodels.CheckData Expected []*checkmodels.CheckRunResult ExpectedResultsForRules []*checkmodels.CheckRunResult ExpectedE error }
Click to show internal directories.
Click to hide internal directories.