Skip to content

Commit c0851f4

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
change a category in enum for datadog_appsec_waf_custom_rule (#2770)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent af6ab4f commit c0851f4

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-04-03 16:27:59.649576",
8-
"spec_repo_commit": "4468962d"
7+
"regenerated": "2025-04-04 12:49:29.243722",
8+
"spec_repo_commit": "73e22797"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-03 16:27:59.666584",
13-
"spec_repo_commit": "4468962d"
12+
"regenerated": "2025-04-04 12:49:29.261107",
13+
"spec_repo_commit": "73e22797"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2864,13 +2864,13 @@ components:
28642864
enum:
28652865
- attack_attempt
28662866
- business_logic
2867-
- security_responses
2867+
- security_response
28682868
example: business_logic
28692869
type: string
28702870
x-enum-varnames:
28712871
- ATTACK_ATTEMPT
28722872
- BUSINESS_LOGIC
2873-
- SECURITY_RESPONSES
2873+
- SECURITY_RESPONSE
28742874
ApplicationSecurityWafCustomRuleType:
28752875
default: custom_rule
28762876
description: The type of the resource. The value should always be `custom_rule`.

src/main/java/com/datadog/api/client/v2/model/ApplicationSecurityWafCustomRuleTagsCategory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929
public class ApplicationSecurityWafCustomRuleTagsCategory extends ModelEnum<String> {
3030

3131
private static final Set<String> allowedValues =
32-
new HashSet<String>(Arrays.asList("attack_attempt", "business_logic", "security_responses"));
32+
new HashSet<String>(Arrays.asList("attack_attempt", "business_logic", "security_response"));
3333

3434
public static final ApplicationSecurityWafCustomRuleTagsCategory ATTACK_ATTEMPT =
3535
new ApplicationSecurityWafCustomRuleTagsCategory("attack_attempt");
3636
public static final ApplicationSecurityWafCustomRuleTagsCategory BUSINESS_LOGIC =
3737
new ApplicationSecurityWafCustomRuleTagsCategory("business_logic");
38-
public static final ApplicationSecurityWafCustomRuleTagsCategory SECURITY_RESPONSES =
39-
new ApplicationSecurityWafCustomRuleTagsCategory("security_responses");
38+
public static final ApplicationSecurityWafCustomRuleTagsCategory SECURITY_RESPONSE =
39+
new ApplicationSecurityWafCustomRuleTagsCategory("security_response");
4040

4141
ApplicationSecurityWafCustomRuleTagsCategory(String value) {
4242
super(value, allowedValues);

0 commit comments

Comments
 (0)