analysis

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2019 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalyzeResult

func AnalyzeResult(analysisResult types.Analysis)

AnalyzeResult analyzes the result received from HuskyCI API.

func CheckMongoDBContainerOutput

func CheckMongoDBContainerOutput(container types.Container)

CheckMongoDBContainerOutput will validate the output of a given container.

func GetAnalysis

func GetAnalysis(RID string) (types.Analysis, error)

GetAnalysis gets the results of an analysis.

func MonitorAnalysis

func MonitorAnalysis(RID string) (types.Analysis, error)

MonitorAnalysis will keep monitoring an analysis until it has finished or timed out.

func PrintBanditOutput

func PrintBanditOutput(mongoDBcontainerOutput string, mongoDBcontainerInfo string)

PrintBanditOutput will print Bandit output.

func PrintBrakemanOutput

func PrintBrakemanOutput(mongoDBcontainerOutput string, mongoDBcontainerInfo string)

PrintBrakemanOutput will print Brakeman output.

func PrintGosecOutput

func PrintGosecOutput(mongoDBcontainerOutput string, mongoDBcontainerInfo string)

PrintGosecOutput will print the Gosec output.

func PrintRetirejsOutput

func PrintRetirejsOutput(mongoDBcontainerOutput string, mongoDBcontainerInfo string)

PrintRetirejsOutput will print Retirejs output.

func PrintSafetyOutput

func PrintSafetyOutput(mongoDBcontainerOutput string, mongoDBcontainerInfo string)

PrintSafetyOutput will print Safety output.

func StartAnalysis

func StartAnalysis() (string, error)

StartAnalysis starts a container and returns its RID and error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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