alertprofile

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2023 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

func DeleteAlertprofile(c api.Client, name string) error

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 CloudDiscovery struct {
	Enabled  bool     `json:"enabled"`
	Allrules bool     `json:"allRules"`
	Rules    []string `json:"rules,omitempty"`
}

type CodeRepoVulnerability added in v0.8.0

type CodeRepoVulnerability struct {
	Enabled  bool     `json:"enabled"`
	Allrules bool     `json:"allRules"`
	Rules    []string `json:"rules,omitempty"`
}

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 ContainerCompliance struct {
	Enabled  bool     `json:"enabled"`
	Allrules bool     `json:"allRules"`
	Rules    []string `json:"rules,omitempty"`
}

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 HostCompliance struct {
	Enabled  bool     `json:"enabled"`
	Allrules bool     `json:"allRules"`
	Rules    []string `json:"rules,omitempty"`
}

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

type Webhook

type Webhook struct {
	Enabled      bool   `json:"enabled"`
	CredentialId string `json:"credentialId,omitempty"`
	Url          string `json:"url,omitempty"`
	CaCert       string `json:"caCert,omitempty"`
	Json         string `json:"json,omitempty"`
}

Alert profiles types

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL