mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
17 lines
623 B
Go
17 lines
623 B
Go
package armotypes
|
|
|
|
type EnforcmentsRule struct {
|
|
MonitoredObject []string `json:"monitoredObject"`
|
|
MonitoredObjectExistence []string `json:"objectExistence"`
|
|
MonitoredObjectEvent []string `json:"event"`
|
|
Action []string `json:"action"`
|
|
}
|
|
|
|
type ExecutionPolicy struct {
|
|
PortalBase `json:",inline"`
|
|
Designators []PortalDesignator `json:"designators"`
|
|
PolicyType string `json:"policyType"`
|
|
CreationTime string `json:"creation_time"`
|
|
ExecutionEnforcmentsRules []EnforcmentsRule `json:"enforcementRules"`
|
|
}
|