Skip to content

Commit 5eef105

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
change a category in enum for datadog_appsec_waf_custom_rule (#570)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent a2f3cb6 commit 5eef105

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.apigentools-info

+4-4
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:50.158184",
8-
"spec_repo_commit": "4468962d"
7+
"regenerated": "2025-04-04 12:49:20.380905",
8+
"spec_repo_commit": "73e22797"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-03 16:27:50.174263",
13-
"spec_repo_commit": "4468962d"
12+
"regenerated": "2025-04-04 12:49:20.397038",
13+
"spec_repo_commit": "73e22797"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

+2-2
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`.

LICENSE-3rdparty.csv

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ deranged,https://github.com/jhpratt/deranged,MIT OR Apache-2.0,Jacob Pratt <jaco
2121
displaydoc,https://github.com/yaahc/displaydoc,MIT OR Apache-2.0,Jane Lusby <[email protected]>
2222
encoding_rs,https://github.com/hsivonen/encoding_rs,(Apache-2.0 OR MIT) AND BSD-3-Clause,Henri Sivonen <[email protected]>
2323
equivalent,https://github.com/indexmap-rs/equivalent,Apache-2.0 OR MIT,The equivalent Authors
24-
errno,https://github.com/lambda-fairy/rust-errno,MIT OR Apache-2.0,Chris Wong <[email protected]>
24+
errno,https://github.com/lambda-fairy/rust-errno,MIT OR Apache-2.0,"Chris Wong <[email protected]>, Dan Gohman <[email protected]>"
2525
fastrand,https://github.com/smol-rs/fastrand,Apache-2.0 OR MIT,Stjepan Glavina <[email protected]>
2626
flate2,https://github.com/rust-lang/flate2-rs,MIT OR Apache-2.0,"Alex Crichton <[email protected]>, Josh Triplett <[email protected]>"
2727
fnv,https://github.com/servo/rust-fnv,Apache-2.0 OR MIT,Alex Crichton <[email protected]>

src/datadogV2/model/model_application_security_waf_custom_rule_tags_category.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use serde::{Deserialize, Deserializer, Serialize, Serializer};
99
pub enum ApplicationSecurityWafCustomRuleTagsCategory {
1010
ATTACK_ATTEMPT,
1111
BUSINESS_LOGIC,
12-
SECURITY_RESPONSES,
12+
SECURITY_RESPONSE,
1313
UnparsedObject(crate::datadog::UnparsedObject),
1414
}
1515

@@ -18,7 +18,7 @@ impl ToString for ApplicationSecurityWafCustomRuleTagsCategory {
1818
match self {
1919
Self::ATTACK_ATTEMPT => String::from("attack_attempt"),
2020
Self::BUSINESS_LOGIC => String::from("business_logic"),
21-
Self::SECURITY_RESPONSES => String::from("security_responses"),
21+
Self::SECURITY_RESPONSE => String::from("security_response"),
2222
Self::UnparsedObject(v) => v.value.to_string(),
2323
}
2424
}
@@ -45,7 +45,7 @@ impl<'de> Deserialize<'de> for ApplicationSecurityWafCustomRuleTagsCategory {
4545
Ok(match s.as_str() {
4646
"attack_attempt" => Self::ATTACK_ATTEMPT,
4747
"business_logic" => Self::BUSINESS_LOGIC,
48-
"security_responses" => Self::SECURITY_RESPONSES,
48+
"security_response" => Self::SECURITY_RESPONSE,
4949
_ => Self::UnparsedObject(crate::datadog::UnparsedObject {
5050
value: serde_json::Value::String(s.into()),
5151
}),

0 commit comments

Comments
 (0)