resultshandling

package
v1.0.110 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculatePostureScore added in v1.0.87

func CalculatePostureScore(postureReport *reporthandling.PostureReport) float32

CalculatePostureScore calculate final score

Types

type ResultsHandler

type ResultsHandler struct {
	// contains filtered or unexported fields
}

func NewResultsHandler

func NewResultsHandler(opaSessionObj *chan *cautils.OPASessionObj, reporterObj reporter.IReport, printerObj printer.IPrinter) *ResultsHandler

func (*ResultsHandler) HandleResults

func (resultsHandler *ResultsHandler) HandleResults(scanInfo *cautils.ScanInfo) float32

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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