package
0.3.0
Repository: https://github.com/brenol/huskyci.git
Documentation: pkg.go.dev

# Functions

BanditStartAnalysis analyses the output from Bandit and sets a cResult based on it.
BrakemanStartAnalysis analyses the output from Brakeman and sets a cResult based on it.
DockerRun starts a new container, runs a given securityTest in it and then updates AnalysisCollection.
EnryStartAnalysis checks the languages of a repository, update them into mongoDB, and starts corresponding new securityTests.
GosecStartAnalysis analyses the output from Gosec and sets a cResult based on it.
MonitorAnalysis querys an analysis every retryTick seconds to check if it has already finished.
RetirejsStartAnalysis analyses the output from RetireJS and sets cResult basdes on it.
SafetyStartAnalysis analyses the output from Safety and sets cResult based on it.
StartAnalysis starts the analysis given a RID and a repository.

# Structs

BanditOutput is the structs that holds the json output form bandit analysis.
BrakemanOutput is the struct that holds issues and stats found on a Brakeman scan.
GosecIssue is the struct that holds all detailed information of a vulnerability found.
GosecOutput is the struct that holds issues and stats found on a Gosec scan.
GosecStats is the struct that holds the stats found on a Gosec scan.
Result is the struct that holds detailed information of issues found in bandit analysis.
RetirejsIdentifier is a struct that holds details on the vulnerabilities found.
RetirejsIssue is a struct that holds the results that were scanned and the file they came from.
RetirejsOutput is the struct that holds issues, messages and errors found on a Retire scan.
RetirejsResult is a struct that holds the vulnerabilities found on a component being used by the code being analysed.
RetirejsVulnerability is a struct that holds info on what vulnerabilies were found.
SafetyIssue is a struct that holds the results that were scanned and the file they came from.
SafetyOutput is the struct that holds issues, messages and errors found on a Safety scan.
WarningItem is the struct that holds all detailed information of a vulnerability found.