Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53269,12 +53269,14 @@ components:
- api_security
- application_security
- log_detection
- workload_activity
- workload_security
type: string
x-enum-varnames:
- API_SECURITY
- APPLICATION_SECURITY
- LOG_DETECTION
- WORKLOAD_ACTIVITY
- WORKLOAD_SECURITY
SecurityMonitoringRuleTypeRead:
description: The rule type.
Expand All @@ -53285,6 +53287,7 @@ components:
- cloud_configuration
- application_security
- api_security
- workload_activity
type: string
x-enum-varnames:
- LOG_DETECTION
Expand All @@ -53293,6 +53296,7 @@ components:
- CLOUD_CONFIGURATION
- APPLICATION_SECURITY
- API_SECURITY
- WORKLOAD_ACTIVITY
SecurityMonitoringRuleTypeTest:
description: The rule type.
enum:
Expand Down
2 changes: 2 additions & 0 deletions api/datadogV2/model_security_monitoring_rule_type_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ const (
SECURITYMONITORINGRULETYPECREATE_API_SECURITY SecurityMonitoringRuleTypeCreate = "api_security"
SECURITYMONITORINGRULETYPECREATE_APPLICATION_SECURITY SecurityMonitoringRuleTypeCreate = "application_security"
SECURITYMONITORINGRULETYPECREATE_LOG_DETECTION SecurityMonitoringRuleTypeCreate = "log_detection"
SECURITYMONITORINGRULETYPECREATE_WORKLOAD_ACTIVITY SecurityMonitoringRuleTypeCreate = "workload_activity"
SECURITYMONITORINGRULETYPECREATE_WORKLOAD_SECURITY SecurityMonitoringRuleTypeCreate = "workload_security"
)

var allowedSecurityMonitoringRuleTypeCreateEnumValues = []SecurityMonitoringRuleTypeCreate{
SECURITYMONITORINGRULETYPECREATE_API_SECURITY,
SECURITYMONITORINGRULETYPECREATE_APPLICATION_SECURITY,
SECURITYMONITORINGRULETYPECREATE_LOG_DETECTION,
SECURITYMONITORINGRULETYPECREATE_WORKLOAD_ACTIVITY,
SECURITYMONITORINGRULETYPECREATE_WORKLOAD_SECURITY,
}

Expand Down
2 changes: 2 additions & 0 deletions api/datadogV2/model_security_monitoring_rule_type_read.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const (
SECURITYMONITORINGRULETYPEREAD_CLOUD_CONFIGURATION SecurityMonitoringRuleTypeRead = "cloud_configuration"
SECURITYMONITORINGRULETYPEREAD_APPLICATION_SECURITY SecurityMonitoringRuleTypeRead = "application_security"
SECURITYMONITORINGRULETYPEREAD_API_SECURITY SecurityMonitoringRuleTypeRead = "api_security"
SECURITYMONITORINGRULETYPEREAD_WORKLOAD_ACTIVITY SecurityMonitoringRuleTypeRead = "workload_activity"
)

var allowedSecurityMonitoringRuleTypeReadEnumValues = []SecurityMonitoringRuleTypeRead{
Expand All @@ -30,6 +31,7 @@ var allowedSecurityMonitoringRuleTypeReadEnumValues = []SecurityMonitoringRuleTy
SECURITYMONITORINGRULETYPEREAD_CLOUD_CONFIGURATION,
SECURITYMONITORINGRULETYPEREAD_APPLICATION_SECURITY,
SECURITYMONITORINGRULETYPEREAD_API_SECURITY,
SECURITYMONITORINGRULETYPEREAD_WORKLOAD_ACTIVITY,
}

// GetAllowedValues reeturns the list of possible values.
Expand Down
Loading