resultshandling

package
v1.0.165 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 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
v1
v2
v1
v2

Jump to

Keyboard shortcuts

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