Documentation
¶
Index ¶
- Constants
- func ColorPrintf(format string)
- func ErrorAndExit(message string, err error)
- func ErrorAndExitWithUsage(message string)
- func FormatBytes(size uint64) string
- func FormatDuration(duration time.Duration) string
- func FormatHumanDurationDays(duration time.Duration) string
- func GetFormattedOnlyInSideString(side string) string
- func GetFormattedSideString(side string) string
- func GetFormattedSideStringWithMessage(side, message string) string
- func IsFileNameInFancyList(fileName string, fancyList []string) bool
- func IsInIntArray(x int, y []int) bool
- func IsStringInStringArray(input string, list []string) bool
- func IsValidRegion(region string) bool
- func ParseApplicationIdFromPlatformUrl(url string) (int, error)
- func ParseBaseUrlFromRegion(region string) string
- func ParseBuildIdFromScanInformation(urlOrBuildId string) (int, error)
- func ParseRegionFromUrl(url string) string
- func ParseVeracodeDate(date string) time.Time
- func PrintTitle(title string)
- func StringToFloat(input string) (float64, error)
- func Top5StringList(items []string) string
Constants ¶
View Source
const MaximumAnalysisSizeBytesThreshold = 500000000 // 500MB
View Source
const MaximumFlawCountThreshold = 2500
View Source
const MaximumModuleCountThreshold = 500
View Source
const MaximumModuleSelectedCountThreshold = 100
View Source
const MaximumTotalModuleSizeBytesThreshold = 1000000000 // 1GB
View Source
const MaximumUploadedFileCountThreshold = 10000
View Source
const NotUsingAutomationIfScanOlderThanDays = 30
Variables ¶
This section is empty.
Functions ¶
func ColorPrintf ¶
func ColorPrintf(format string)
func ErrorAndExit ¶
func ErrorAndExitWithUsage ¶
func ErrorAndExitWithUsage(message string)
func FormatBytes ¶
func FormatDuration ¶
func FormatHumanDurationDays ¶
func GetFormattedSideString ¶
func IsFileNameInFancyList ¶
IsFileNameInFancyList tests a wildcard string Use a single * for case-insensitive wildcard search, e.g. "*.exe" Use ! for case-sensitive wildcard search, e.g. "!*.EXE" Use ^ for contains e.g. "^test" Otherwise will check for equality (case-insensitive)
func IsInIntArray ¶
func IsStringInStringArray ¶
func IsValidRegion ¶
func ParseBaseUrlFromRegion ¶
func ParseRegionFromUrl ¶
func ParseVeracodeDate ¶
func PrintTitle ¶
func PrintTitle(title string)
func StringToFloat ¶
func Top5StringList ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.