Skip to content

Commit 077803c

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 88dadf8 of spec repo
1 parent 98d06d1 commit 077803c

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8977,6 +8977,7 @@ components:
89778977
enum:
89788978
- server.db.statement
89798979
- server.io.fs.file
8980+
- server.io.fs.file_write
89808981
- server.io.net.url
89818982
- server.sys.shell.cmd
89828983
- server.request.method
@@ -8990,6 +8991,7 @@ components:
89908991
- server.request.trailers
89918992
- server.request.body
89928993
- server.request.body.filenames
8994+
- server.request.body.files_content
89938995
- server.response.status
89948996
- server.response.headers.no_cookies
89958997
- server.response.trailers
@@ -9011,6 +9013,7 @@ components:
90119013
x-enum-varnames:
90129014
- SERVER_DB_STATEMENT
90139015
- SERVER_IO_FS_FILE
9016+
- SERVER_IO_FS_FILE_WRITE
90149017
- SERVER_IO_NET_URL
90159018
- SERVER_SYS_SHELL_CMD
90169019
- SERVER_REQUEST_METHOD
@@ -9024,6 +9027,7 @@ components:
90249027
- SERVER_REQUEST_TRAILERS
90259028
- SERVER_REQUEST_BODY
90269029
- SERVER_REQUEST_BODY_FILENAMES
9030+
- SERVER_REQUEST_BODY_FILES_CONTENT
90279031
- SERVER_RESPONSE_STATUS
90289032
- SERVER_RESPONSE_HEADERS_NO_COOKIES
90299033
- SERVER_RESPONSE_TRAILERS

src/datadogV2/model/model_application_security_waf_custom_rule_condition_input_address.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ use serde::{Deserialize, Deserializer, Serialize, Serializer};
99
pub enum ApplicationSecurityWafCustomRuleConditionInputAddress {
1010
SERVER_DB_STATEMENT,
1111
SERVER_IO_FS_FILE,
12+
SERVER_IO_FS_FILE_WRITE,
1213
SERVER_IO_NET_URL,
1314
SERVER_SYS_SHELL_CMD,
1415
SERVER_REQUEST_METHOD,
@@ -22,6 +23,7 @@ pub enum ApplicationSecurityWafCustomRuleConditionInputAddress {
2223
SERVER_REQUEST_TRAILERS,
2324
SERVER_REQUEST_BODY,
2425
SERVER_REQUEST_BODY_FILENAMES,
26+
SERVER_REQUEST_BODY_FILES_CONTENT,
2527
SERVER_RESPONSE_STATUS,
2628
SERVER_RESPONSE_HEADERS_NO_COOKIES,
2729
SERVER_RESPONSE_TRAILERS,
@@ -46,6 +48,7 @@ impl ToString for ApplicationSecurityWafCustomRuleConditionInputAddress {
4648
match self {
4749
Self::SERVER_DB_STATEMENT => String::from("server.db.statement"),
4850
Self::SERVER_IO_FS_FILE => String::from("server.io.fs.file"),
51+
Self::SERVER_IO_FS_FILE_WRITE => String::from("server.io.fs.file_write"),
4952
Self::SERVER_IO_NET_URL => String::from("server.io.net.url"),
5053
Self::SERVER_SYS_SHELL_CMD => String::from("server.sys.shell.cmd"),
5154
Self::SERVER_REQUEST_METHOD => String::from("server.request.method"),
@@ -61,6 +64,9 @@ impl ToString for ApplicationSecurityWafCustomRuleConditionInputAddress {
6164
Self::SERVER_REQUEST_TRAILERS => String::from("server.request.trailers"),
6265
Self::SERVER_REQUEST_BODY => String::from("server.request.body"),
6366
Self::SERVER_REQUEST_BODY_FILENAMES => String::from("server.request.body.filenames"),
67+
Self::SERVER_REQUEST_BODY_FILES_CONTENT => {
68+
String::from("server.request.body.files_content")
69+
}
6470
Self::SERVER_RESPONSE_STATUS => String::from("server.response.status"),
6571
Self::SERVER_RESPONSE_HEADERS_NO_COOKIES => {
6672
String::from("server.response.headers.no_cookies")
@@ -105,6 +111,7 @@ impl<'de> Deserialize<'de> for ApplicationSecurityWafCustomRuleConditionInputAdd
105111
Ok(match s.as_str() {
106112
"server.db.statement" => Self::SERVER_DB_STATEMENT,
107113
"server.io.fs.file" => Self::SERVER_IO_FS_FILE,
114+
"server.io.fs.file_write" => Self::SERVER_IO_FS_FILE_WRITE,
108115
"server.io.net.url" => Self::SERVER_IO_NET_URL,
109116
"server.sys.shell.cmd" => Self::SERVER_SYS_SHELL_CMD,
110117
"server.request.method" => Self::SERVER_REQUEST_METHOD,
@@ -118,6 +125,7 @@ impl<'de> Deserialize<'de> for ApplicationSecurityWafCustomRuleConditionInputAdd
118125
"server.request.trailers" => Self::SERVER_REQUEST_TRAILERS,
119126
"server.request.body" => Self::SERVER_REQUEST_BODY,
120127
"server.request.body.filenames" => Self::SERVER_REQUEST_BODY_FILENAMES,
128+
"server.request.body.files_content" => Self::SERVER_REQUEST_BODY_FILES_CONTENT,
121129
"server.response.status" => Self::SERVER_RESPONSE_STATUS,
122130
"server.response.headers.no_cookies" => Self::SERVER_RESPONSE_HEADERS_NO_COOKIES,
123131
"server.response.trailers" => Self::SERVER_RESPONSE_TRAILERS,

0 commit comments

Comments
 (0)