Documentation
¶
Index ¶
Constants ¶
View Source
const Method = routing.POST
View Source
const Path = "/kubescape"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KubescapeResults ¶ added in v1.0.2
type KubescapeResults struct {
Results []Result `json:"results,omitempty"`
}
PostureReport posture scanning report structure
type PosturePaths ¶ added in v1.0.2
type ResourceAssociatedControl ¶ added in v1.0.2
type ResourceAssociatedControl struct {
ControlID string `json:"controlID"`
Name string `json:"name"`
ResourceAssociatedRules []ResourceAssociatedRule `json:"rules,omitempty"`
}
ResourceAssociatedControl control that is associated to a resource
type ResourceAssociatedRule ¶ added in v1.0.2
type ResourceAssociatedRule struct {
Name string `json:"name"` // rule name
Status string `json:"status"`
Paths []PosturePaths `json:"paths,omitempty"`
ControlConfigurations map[string][]string `json:"controlConfigurations,omitempty"`
}
ResourceAssociatedRule failed rule that is associated to a resource
type Result ¶ added in v1.0.2
type Result struct {
ResourceID string `json:"resourceID"` // <api-group>/<namespace>/<kind>/<name>
AssociatedControls []ResourceAssociatedControl `json:"controls,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.