Documentation ¶
Index ¶
- Variables
- func FormatFloatPointer(value *float64) string
- func FormatInterface(value interface{}) string
- func FormatStringPointer(value *string) string
- func GetConfig(key string, defaultValue string) string
- func GetSecret(key string) (string, error)
- func GetStringWithJsonPointer(configuration map[string]interface{}, jsonPointer string) *string
- func IsFindingExpired(finding *model2.SecurityFinding) bool
- func LoadConfig()
- func Reverse(s interface{})
- func StringSliceContains(strings []string, str string) bool
- func StringSliceIndexOf(strings []string, str string) int
- func ToPrettyJson(value interface{}) (string, error)
- func ValueToFloatPointer(value interface{}) *float64
- func ValueToString(value interface{}) string
- func ValueToStringPointer(value interface{}) *string
- type FlagArray
Constants ¶
This section is empty.
Variables ¶
View Source
var HourlyExpiringSecurityFindingTypes = []string{ model2.SecurityFindingTypeUnauthorizedAPICalls, "CIS AWS Benchmark/Console Signin", "CIS AWS Benchmark/Console Signin No MFA", "CIS AWS Benchmark/Unauthorized API Calls", }
Functions ¶
func FormatFloatPointer ¶
func FormatInterface ¶
func FormatInterface(value interface{}) string
func FormatStringPointer ¶
func IsFindingExpired ¶
func IsFindingExpired(finding *model2.SecurityFinding) bool
func LoadConfig ¶
func LoadConfig()
func StringSliceContains ¶
func StringSliceIndexOf ¶
func ToPrettyJson ¶
func ValueToFloatPointer ¶
func ValueToFloatPointer(value interface{}) *float64
func ValueToString ¶
func ValueToString(value interface{}) string
func ValueToStringPointer ¶
func ValueToStringPointer(value interface{}) *string
Types ¶
Click to show internal directories.
Click to hide internal directories.