Documentation ¶
Index ¶
Constants ¶
View Source
const ScoreConfigPath = "/resources/config"
Variables ¶
This section is empty.
Functions ¶
func ConvertFrameworksToPolicies ¶ added in v1.0.148
func ConvertFrameworksToPolicies(frameworks []reporthandling.Framework, version string) *cautils.Policies
ConvertFrameworksToPolicies convert list of frameworks to list of policies
func ConvertFrameworksToSummaryDetails ¶ added in v1.0.148
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 }
func NewOPAProcessor ¶
func NewOPAProcessor(sessionObj *cautils.OPASessionObj, regoDependenciesData *resources.RegoDependenciesData) *OPAProcessor
type OPAProcessorHandler ¶ added in v1.0.36
type OPAProcessorHandler struct {
// contains filtered or unexported fields
}
func NewOPAProcessorHandler ¶ added in v1.0.36
func NewOPAProcessorHandler(processedPolicy, reportResults *chan *cautils.OPASessionObj) *OPAProcessorHandler
func (*OPAProcessorHandler) ProcessRulesListenner ¶ added in v1.0.36
func (opaHandler *OPAProcessorHandler) ProcessRulesListenner()
Click to show internal directories.
Click to hide internal directories.