Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageScanFilter ¶ added in v1.2.1
type ImageScanFilter struct {
Offset int `json:"offset"`
Size int `json:"size"`
CVEName string `json:"cveName"`
AppName string `json:"appName"`
// ObjectName deprecated
ObjectName string `json:"objectName"`
EnvironmentIds []int `json:"envIds"`
ClusterIds []int `json:"clusterIds"`
Severity []int `json:"severity"`
SortOrder SortOrder `json:"sortOrder"`
SortBy SortBy `json:"sortBy"` // sort by objectName,envName,lastChecked
}
type PolicyAction ¶
type PolicyAction int
const ( Inherit PolicyAction = iota Allow Block Blockiffixed )
func (PolicyAction) String ¶
func (d PolicyAction) String() string
type PolicyLevel ¶
type PolicyLevel int
----------------
const ( Global PolicyLevel = iota Cluster Environment Application )
func (PolicyLevel) String ¶
func (d PolicyLevel) String() string
type Severity ¶
type Severity int
------------------
func SeverityStringToEnum ¶ added in v1.2.1
func SeverityStringToEnumWithError ¶ added in v1.2.1
Click to show internal directories.
Click to hide internal directories.