Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostScanRequest ¶
type PostScanRequest struct { Format string `json:"format,omitempty"` // Format results (table, json, junit ...) - default json Account string `json:"account,omitempty"` // account ID Logger string `json:"-"` // logger level - debug/info/error - default is debug FailThreshold float32 `json:"failThreshold,omitempty"` // Failure score threshold ExcludedNamespaces []string `json:"excludedNamespaces,omitempty"` // used for host scanner namespace IncludeNamespaces []string `json:"includeNamespaces,omitempty"` // DEPRECATED? TargetNames []string `json:"targetNames,omitempty"` // default is all TargetType v1.NotificationPolicyKind `json:"targetType,omitempty"` // framework/control - default is framework Submit *bool `json:"submit,omitempty"` // Submit results to Armo BE - default will HostScanner *bool `json:"hostScanner,omitempty"` // Deploy ARMO K8s host scanner to collect data from certain controls KeepLocal *bool `json:"keepLocal,omitempty"` // Do not submit results UseCachedArtifacts *bool `json:"useCachedArtifacts,omitempty"` // Use the cached artifacts instead of downloading }
type Response ¶ added in v0.0.135
type Response struct { ID string `json:"id"` Type v1.ScanResponseType `json:"type"` Response interface{} `json:"response,omitempty"` }
Click to show internal directories.
Click to hide internal directories.