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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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