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
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-06-18 14:53:50.116039",
"spec_repo_commit": "5f7cad1f"
"regenerated": "2025-06-19 12:11:23.953587",
"spec_repo_commit": "a171e0a8"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-06-18 14:53:50.134321",
"spec_repo_commit": "5f7cad1f"
"regenerated": "2025-06-19 12:11:23.969957",
"spec_repo_commit": "a171e0a8"
}
}
}
4 changes: 4 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33412,11 +33412,13 @@ components:
SecurityMonitoringRuleTypeCreate:
description: The rule type.
enum:
- api_security
- application_security
- log_detection
- workload_security
type: string
x-enum-varnames:
- API_SECURITY
- APPLICATION_SECURITY
- LOG_DETECTION
- WORKLOAD_SECURITY
Expand All @@ -33428,13 +33430,15 @@ components:
- workload_security
- cloud_configuration
- application_security
- api_security
type: string
x-enum-varnames:
- LOG_DETECTION
- INFRASTRUCTURE_CONFIGURATION
- WORKLOAD_SECURITY
- CLOUD_CONFIGURATION
- APPLICATION_SECURITY
- API_SECURITY
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 @@ -15,12 +15,14 @@ type SecurityMonitoringRuleTypeCreate string

// List of SecurityMonitoringRuleTypeCreate.
const (
SECURITYMONITORINGRULETYPECREATE_API_SECURITY SecurityMonitoringRuleTypeCreate = "api_security"
SECURITYMONITORINGRULETYPECREATE_APPLICATION_SECURITY SecurityMonitoringRuleTypeCreate = "application_security"
SECURITYMONITORINGRULETYPECREATE_LOG_DETECTION SecurityMonitoringRuleTypeCreate = "log_detection"
SECURITYMONITORINGRULETYPECREATE_WORKLOAD_SECURITY SecurityMonitoringRuleTypeCreate = "workload_security"
)

var allowedSecurityMonitoringRuleTypeCreateEnumValues = []SecurityMonitoringRuleTypeCreate{
SECURITYMONITORINGRULETYPECREATE_API_SECURITY,
SECURITYMONITORINGRULETYPECREATE_APPLICATION_SECURITY,
SECURITYMONITORINGRULETYPECREATE_LOG_DETECTION,
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 @@ -20,6 +20,7 @@ const (
SECURITYMONITORINGRULETYPEREAD_WORKLOAD_SECURITY SecurityMonitoringRuleTypeRead = "workload_security"
SECURITYMONITORINGRULETYPEREAD_CLOUD_CONFIGURATION SecurityMonitoringRuleTypeRead = "cloud_configuration"
SECURITYMONITORINGRULETYPEREAD_APPLICATION_SECURITY SecurityMonitoringRuleTypeRead = "application_security"
SECURITYMONITORINGRULETYPEREAD_API_SECURITY SecurityMonitoringRuleTypeRead = "api_security"
)

var allowedSecurityMonitoringRuleTypeReadEnumValues = []SecurityMonitoringRuleTypeRead{
Expand All @@ -28,6 +29,7 @@ var allowedSecurityMonitoringRuleTypeReadEnumValues = []SecurityMonitoringRuleTy
SECURITYMONITORINGRULETYPEREAD_WORKLOAD_SECURITY,
SECURITYMONITORINGRULETYPEREAD_CLOUD_CONFIGURATION,
SECURITYMONITORINGRULETYPEREAD_APPLICATION_SECURITY,
SECURITYMONITORINGRULETYPEREAD_API_SECURITY,
}

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