Documentation ¶
Index ¶
- Constants
- func CreateAlertprofile(c api.Client, Alertprofile AlertProfile) error
- func DeleteAlertprofile(c api.Client, name string) error
- func UpdateAlertprofile(c api.Client, Alertprofile AlertProfile) error
- type Admission
- type AgentlessAppFirewall
- type AlertProfile
- type AppEmbeddedAppFirewall
- type AppEmbeddedRuntime
- type CloudDiscovery
- type CodeRepoVulnerability
- type ContainerAppFirewall
- type ContainerCompliance
- type ContainerComplianceScan
- type ContainerRuntime
- type ContainerVulnerability
- type Defender
- type Docker
- type HostAppFirewall
- type HostCompliance
- type HostComplianceScan
- type HostRuntime
- type HostVulnerability
- type Incident
- type KubernetesAudit
- type NetworkFirewall
- type Policy
- type RegistryVulnerability
- type ServerlessAppFirewall
- type ServerlessRuntime
- type VmCompliance
- type VmVulnerability
- type WaasHealth
- type Webhook
Constants ¶
const AlertprofilesEndpoint = "api/v1/alert-profiles"
Variables ¶
This section is empty.
Functions ¶
func CreateAlertprofile ¶
func CreateAlertprofile(c api.Client, Alertprofile AlertProfile) error
Create a new Alertprofile.
func DeleteAlertprofile ¶
Delete an existing Alertprofile.
func UpdateAlertprofile ¶
func UpdateAlertprofile(c api.Client, Alertprofile AlertProfile) error
Update an existing Alertprofile.
Types ¶
type Admission ¶
type Admission struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
Admission audits
type AgentlessAppFirewall ¶ added in v0.8.0
type AgentlessAppFirewall struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
WAAS Firewall (serverless)
type AlertProfile ¶ added in v0.8.0
type AlertProfile struct { Id string `json:"_id"` Name string `json:"name"` VulnerabilityImmediateAlertsEnabled bool `json:"vulnerabilityImmediateAlertsEnabled,omitempty"` Owner string `json:"owner,omitempty"` Webhook Webhook `json:"webhook,omitempty"` Policy Policy `json:"policy,omitempty"` }
AlertProfile struct
func GetAlertprofile ¶
func GetAlertprofile(c api.Client, name string) (*AlertProfile, error)
Get a specific Alertprofile.
func ListAlertprofiles ¶
func ListAlertprofiles(c api.Client) ([]AlertProfile, error)
Get all Alertprofiles.
type AppEmbeddedAppFirewall ¶
type AppEmbeddedAppFirewall struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
WAAS Firewall (App-Embedded Defender)
type AppEmbeddedRuntime ¶
type AppEmbeddedRuntime struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
App-Embedded Defender runtime
type CloudDiscovery ¶ added in v0.8.0
type CodeRepoVulnerability ¶ added in v0.8.0
type ContainerAppFirewall ¶
type ContainerAppFirewall struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
WAAS Firewall (container)
type ContainerCompliance ¶ added in v0.8.0
type ContainerComplianceScan ¶
type ContainerComplianceScan struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
Container and image compliance
type ContainerRuntime ¶
type ContainerRuntime struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
Container runtime
type ContainerVulnerability ¶
type ContainerVulnerability struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
Deployed image vulnerabilities
type Defender ¶
type Defender struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
Defender health
type Docker ¶
type Docker struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
Access
type HostAppFirewall ¶
type HostAppFirewall struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
WAAS Firewall (host)
type HostCompliance ¶ added in v0.8.0
type HostComplianceScan ¶
type HostComplianceScan struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
Host compliance
type HostRuntime ¶
type HostRuntime struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
Host runtime
type HostVulnerability ¶
type HostVulnerability struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
Host vulnerabilities
type Incident ¶
type Incident struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
Incidents
type KubernetesAudit ¶
type KubernetesAudit struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
Kubernetes audits
type NetworkFirewall ¶
type NetworkFirewall struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
Cloud Native Network Segmentation (CNNS)
type Policy ¶
type Policy struct { Admission Admission `json:"admission,omitempty"` AgentlessAppFirewall AgentlessAppFirewall `json:"agentlessAppFirewall,omitempty"` AppEmbeddedAppFirewall AppEmbeddedAppFirewall `json:"appEmbeddedAppFirewall,omitempty"` AppEmbeddedRuntime AppEmbeddedRuntime `json:"appEmbeddedRuntime,omitempty"` CloudDiscovery CloudDiscovery `json:"cloudDiscovery,omitempty"` CodeRepoVulnerability CodeRepoVulnerability `json:"codeRepoVulnerability"` ContainerAppFirewall ContainerAppFirewall `json:"containerAppFirewall,omitempty"` ContainerCompliance ContainerCompliance `json:"containerCompliance,omitempty"` ContainerComplianceScan ContainerComplianceScan `json:"containerComplianceScan,omitempty"` ContainerRuntime ContainerRuntime `json:"containerRuntime,omitempty"` ContainerVulnerability ContainerVulnerability `json:"containerVulnerability,omitempty"` Defender Defender `json:"defender,omitempty"` Docker Docker `json:"docker,omitempty"` HostAppFirewall HostAppFirewall `json:"hostAppFirewall,omitempty"` HostCompliance HostCompliance `json:"hostCompliance,omitempty"` HostComplianceScan HostComplianceScan `json:"hostComplianceScan,omitempty"` HostRuntime HostRuntime `json:"hostRuntime,omitempty"` HostVulnerability HostVulnerability `json:"hostVulnerability,omitempty"` Incident Incident `json:"incident,omitempty"` KubernetesAudit KubernetesAudit `json:"kubernetesAudit,omitempty"` NetworkFirewall NetworkFirewall `json:"networkFirewall,omitempty"` RegistryVulnerability RegistryVulnerability `json:"registryVulnerability,omitempty"` ServerlessAppFirewall ServerlessAppFirewall `json:"serverlessAppFirewall,omitempty"` ServerlessRuntime ServerlessRuntime `json:"serverlessRuntime,omitempty"` VmCompliance VmCompliance `json:"vmCompliance,omitempty"` VmVulnerability VmVulnerability `json:"vmVulnerability,omitempty"` WaasHealth WaasHealth `json:"waasHealth,omitempty"` }
Policy struct
type RegistryVulnerability ¶ added in v0.8.0
type RegistryVulnerability struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
Registry image vulnerabilities
type ServerlessAppFirewall ¶
type ServerlessAppFirewall struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
WAAS Firewall (serverless)
type ServerlessRuntime ¶
type ServerlessRuntime struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
Serverless runtime
type VmCompliance ¶ added in v0.8.0
type VmCompliance struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
VM images compliance
type VmVulnerability ¶ added in v0.8.0
type VmVulnerability struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
VM images vulnerabilities
type WaasHealth ¶
type WaasHealth struct { Enabled bool `json:"enabled"` Allrules bool `json:"allRules"` Rules []string `json:"rules,omitempty"` }
WaasHealth - WAAS health