Documentation ¶
Index ¶
Constants ¶
View Source
const ScoreConfigPath = "/resources/config"
Variables ¶
This section is empty.
Functions ¶
func ConvertFrameworksToSummaryDetails ¶
func ConvertFrameworksToSummaryDetails(summaryDetails *reportsummary.SummaryDetails, frameworks []reporthandling.Framework, policies *cautils.Policies)
ConvertFrameworksToSummaryDetails initialize the summary details for the report object
Types ¶
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, clusterName string) *OPAProcessor
func (*OPAProcessor) Process ¶
func (opap *OPAProcessor) Process(ctx context.Context, policies *cautils.Policies, progressListener IJobProgressNotificationClient) error
Process OPA policies (rules) on all configured controls.
func (*OPAProcessor) ProcessRulesListener ¶
func (opap *OPAProcessor) ProcessRulesListener(ctx context.Context, progressListener IJobProgressNotificationClient) error
type VerifyCommand ¶
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.