diff --git a/.apigentools-info b/.apigentools-info index 53182058c34..1c2d148630b 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.4", - "regenerated": "2023-03-01 19:51:30.039125", - "spec_repo_commit": "fc9468ac" + "regenerated": "2023-03-01 20:14:33.017342", + "spec_repo_commit": "d6815e0a" }, "v2": { "apigentools_version": "1.6.4", - "regenerated": "2023-03-01 19:51:30.051769", - "spec_repo_commit": "fc9468ac" + "regenerated": "2023-03-01 20:14:33.030199", + "spec_repo_commit": "d6815e0a" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index e349e1bc7ef..baf7896f03c 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -10242,12 +10242,14 @@ components: - infrastructure_configuration - workload_security - cloud_configuration + - application_security type: string x-enum-varnames: - LOG_DETECTION - INFRASTRUCTURE_CONFIGURATION - WORKLOAD_SECURITY - CLOUD_CONFIGURATION + - APPLICATION_SECURITY SecurityMonitoringRuleUpdatePayload: description: Update an existing rule. properties: diff --git a/api/datadogV2/model_security_monitoring_rule_type_read.go b/api/datadogV2/model_security_monitoring_rule_type_read.go index ebb138fd0af..c80bb45428c 100644 --- a/api/datadogV2/model_security_monitoring_rule_type_read.go +++ b/api/datadogV2/model_security_monitoring_rule_type_read.go @@ -18,6 +18,7 @@ const ( SECURITYMONITORINGRULETYPEREAD_INFRASTRUCTURE_CONFIGURATION SecurityMonitoringRuleTypeRead = "infrastructure_configuration" SECURITYMONITORINGRULETYPEREAD_WORKLOAD_SECURITY SecurityMonitoringRuleTypeRead = "workload_security" SECURITYMONITORINGRULETYPEREAD_CLOUD_CONFIGURATION SecurityMonitoringRuleTypeRead = "cloud_configuration" + SECURITYMONITORINGRULETYPEREAD_APPLICATION_SECURITY SecurityMonitoringRuleTypeRead = "application_security" ) var allowedSecurityMonitoringRuleTypeReadEnumValues = []SecurityMonitoringRuleTypeRead{ @@ -25,6 +26,7 @@ var allowedSecurityMonitoringRuleTypeReadEnumValues = []SecurityMonitoringRuleTy SECURITYMONITORINGRULETYPEREAD_INFRASTRUCTURE_CONFIGURATION, SECURITYMONITORINGRULETYPEREAD_WORKLOAD_SECURITY, SECURITYMONITORINGRULETYPEREAD_CLOUD_CONFIGURATION, + SECURITYMONITORINGRULETYPEREAD_APPLICATION_SECURITY, } // GetAllowedValues reeturns the list of possible values.