opaprocessor

package
v0.0.0-...-cb424ea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

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 OPAProcessor

type OPAProcessor struct {
	*cautils.OPASessionObj
	// contains filtered or unexported fields
}

func NewOPAProcessor

func NewOPAProcessor(sessionObj *cautils.OPASessionObj, regoDependenciesData *resources.RegoDependenciesData) *OPAProcessor

func (*OPAProcessor) Process

func (opap *OPAProcessor) Process(policies *cautils.Policies) error

func (*OPAProcessor) ProcessRulesListenner

func (opap *OPAProcessor) ProcessRulesListenner() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL