Documentation ¶
Index ¶
Constants ¶
View Source
const ScoreConfigPath = "/resources/config"
Variables ¶
This section is empty.
Functions ¶
func ConvertFrameworksToPolicies ¶
func ConvertFrameworksToPolicies(frameworks []reporthandling.Framework, version string) *cautils.Policies
ConvertFrameworksToPolicies convert list of frameworks to list of policies
func ConvertFrameworksToSummaryDetails ¶
func ConvertFrameworksToSummaryDetails(summaryDetails *reportsummary.SummaryDetails, frameworks []reporthandling.Framework, policies *cautils.Policies)
ConvertFrameworksToSummaryDetails initialize the summary details for the report object
Types ¶
type IJobProgressNotificationClient ¶ added in v2.1.0
type OPAProcessor ¶
type OPAProcessor struct { *cautils.OPASessionObj // contains filtered or unexported fields }
OPAProcessor processes Open Policy Agent rules.
func NewOPAProcessor ¶
func NewOPAProcessor(sessionObj *cautils.OPASessionObj, regoDependenciesData *resources.RegoDependenciesData) *OPAProcessor
func (*OPAProcessor) Process ¶
func (opap *OPAProcessor) Process(ctx context.Context, policies *cautils.Policies, progressListener IJobProgressNotificationClient, maxGoRoutines int) error
Process OPA policies (rules) on all configured controls.
func (*OPAProcessor) ProcessRulesListener ¶ added in v2.2.6
func (opap *OPAProcessor) ProcessRulesListener(ctx context.Context, progressListener IJobProgressNotificationClient) error
type VerifyCommand ¶ added in v2.1.0
type VerifyCommand struct { options.RegistryOptions Annotations sigs.AnnotationsMap CertChain string CertEmail string CertOidcProvider string CertIdentity string CertOidcIssuer string CertGithubWorkflowTrigger string CertGithubWorkflowSha string CertGithubWorkflowName string KeyRef string CertGithubWorkflowRef string SignatureRef string CertRef string CertGithubWorkflowRepository string Attachment string Slot string Output string RekorURL string HashAlgorithm crypto.Hash Sk bool CheckClaims bool LocalImage bool EnforceSCT bool }
VerifyCommand verifies a signature on a supplied container image
Click to show internal directories.
Click to hide internal directories.