Skip to content

Commit 13abf18

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 990363b of spec repo
1 parent 3cf3f08 commit 13abf18

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
@@ -9066,6 +9066,7 @@ components:
90669066
enum:
90679067
- server.db.statement
90689068
- server.io.fs.file
9069+
- server.io.fs.file_write
90699070
- server.io.net.url
90709071
- server.sys.shell.cmd
90719072
- server.request.method
@@ -9079,6 +9080,7 @@ components:
90799080
- server.request.trailers
90809081
- server.request.body
90819082
- server.request.body.filenames
9083+
- server.request.body.files_content
90829084
- server.response.status
90839085
- server.response.headers.no_cookies
90849086
- server.response.trailers
@@ -9100,6 +9102,7 @@ components:
91009102
x-enum-varnames:
91019103
- SERVER_DB_STATEMENT
91029104
- SERVER_IO_FS_FILE
9105+
- SERVER_IO_FS_FILE_WRITE
91039106
- SERVER_IO_NET_URL
91049107
- SERVER_SYS_SHELL_CMD
91059108
- SERVER_REQUEST_METHOD
@@ -9113,6 +9116,7 @@ components:
91139116
- SERVER_REQUEST_TRAILERS
91149117
- SERVER_REQUEST_BODY
91159118
- SERVER_REQUEST_BODY_FILENAMES
9119+
- SERVER_REQUEST_BODY_FILES_CONTENT
91169120
- SERVER_RESPONSE_STATUS
91179121
- SERVER_RESPONSE_HEADERS_NO_COOKIES
91189122
- 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)