@@ -21,6 +21,9 @@ pub struct CloudWorkloadSecurityAgentRuleAttributes {
2121 /// The version of the Agent
2222 #[ serde( rename = "agentConstraint" ) ]
2323 pub agent_constraint : Option < String > ,
24+ /// The blocking policies that the rule belongs to
25+ #[ serde( rename = "blocking" ) ]
26+ pub blocking : Option < Vec < String > > ,
2427 /// The category of the Agent rule
2528 #[ serde( rename = "category" ) ]
2629 pub category : Option < String > ,
@@ -39,6 +42,9 @@ pub struct CloudWorkloadSecurityAgentRuleAttributes {
3942 /// The description of the Agent rule
4043 #[ serde( rename = "description" ) ]
4144 pub description : Option < String > ,
45+ /// The disabled policies that the rule belongs to
46+ #[ serde( rename = "disabled" ) ]
47+ pub disabled : Option < Vec < String > > ,
4248 /// Whether the Agent rule is enabled
4349 #[ serde( rename = "enabled" ) ]
4450 pub enabled : Option < bool > ,
@@ -48,6 +54,9 @@ pub struct CloudWorkloadSecurityAgentRuleAttributes {
4854 /// The platforms the Agent rule is supported on
4955 #[ serde( rename = "filters" ) ]
5056 pub filters : Option < Vec < String > > ,
57+ /// The monitoring policies that the rule belongs to
58+ #[ serde( rename = "monitoring" ) ]
59+ pub monitoring : Option < Vec < String > > ,
5160 /// The name of the Agent rule
5261 #[ serde( rename = "name" ) ]
5362 pub name : Option < String > ,
@@ -81,15 +90,18 @@ impl CloudWorkloadSecurityAgentRuleAttributes {
8190 CloudWorkloadSecurityAgentRuleAttributes {
8291 actions : None ,
8392 agent_constraint : None ,
93+ blocking : None ,
8494 category : None ,
8595 creation_author_uu_id : None ,
8696 creation_date : None ,
8797 creator : None ,
8898 default_rule : None ,
8999 description : None ,
100+ disabled : None ,
90101 enabled : None ,
91102 expression : None ,
92103 filters : None ,
104+ monitoring : None ,
93105 name : None ,
94106 product_tags : None ,
95107 update_author_uu_id : None ,
@@ -115,6 +127,11 @@ impl CloudWorkloadSecurityAgentRuleAttributes {
115127 self
116128 }
117129
130+ pub fn blocking ( mut self , value : Vec < String > ) -> Self {
131+ self . blocking = Some ( value) ;
132+ self
133+ }
134+
118135 pub fn category ( mut self , value : String ) -> Self {
119136 self . category = Some ( value) ;
120137 self
@@ -148,6 +165,11 @@ impl CloudWorkloadSecurityAgentRuleAttributes {
148165 self
149166 }
150167
168+ pub fn disabled ( mut self , value : Vec < String > ) -> Self {
169+ self . disabled = Some ( value) ;
170+ self
171+ }
172+
151173 pub fn enabled ( mut self , value : bool ) -> Self {
152174 self . enabled = Some ( value) ;
153175 self
@@ -163,6 +185,11 @@ impl CloudWorkloadSecurityAgentRuleAttributes {
163185 self
164186 }
165187
188+ pub fn monitoring ( mut self , value : Vec < String > ) -> Self {
189+ self . monitoring = Some ( value) ;
190+ self
191+ }
192+
166193 pub fn name ( mut self , value : String ) -> Self {
167194 self . name = Some ( value) ;
168195 self
@@ -237,6 +264,7 @@ impl<'de> Deserialize<'de> for CloudWorkloadSecurityAgentRuleAttributes {
237264 Option < Vec < crate :: datadogV2:: model:: CloudWorkloadSecurityAgentRuleAction > > ,
238265 > = None ;
239266 let mut agent_constraint: Option < String > = None ;
267+ let mut blocking: Option < Vec < String > > = None ;
240268 let mut category: Option < String > = None ;
241269 let mut creation_author_uu_id: Option < String > = None ;
242270 let mut creation_date: Option < i64 > = None ;
@@ -245,9 +273,11 @@ impl<'de> Deserialize<'de> for CloudWorkloadSecurityAgentRuleAttributes {
245273 > = None ;
246274 let mut default_rule: Option < bool > = None ;
247275 let mut description: Option < String > = None ;
276+ let mut disabled: Option < Vec < String > > = None ;
248277 let mut enabled: Option < bool > = None ;
249278 let mut expression: Option < String > = None ;
250279 let mut filters: Option < Vec < String > > = None ;
280+ let mut monitoring: Option < Vec < String > > = None ;
251281 let mut name: Option < String > = None ;
252282 let mut product_tags: Option < Vec < String > > = None ;
253283 let mut update_author_uu_id: Option < String > = None ;
@@ -275,6 +305,12 @@ impl<'de> Deserialize<'de> for CloudWorkloadSecurityAgentRuleAttributes {
275305 agent_constraint =
276306 Some ( serde_json:: from_value ( v) . map_err ( M :: Error :: custom) ?) ;
277307 }
308+ "blocking" => {
309+ if v. is_null ( ) {
310+ continue ;
311+ }
312+ blocking = Some ( serde_json:: from_value ( v) . map_err ( M :: Error :: custom) ?) ;
313+ }
278314 "category" => {
279315 if v. is_null ( ) {
280316 continue ;
@@ -315,6 +351,12 @@ impl<'de> Deserialize<'de> for CloudWorkloadSecurityAgentRuleAttributes {
315351 description =
316352 Some ( serde_json:: from_value ( v) . map_err ( M :: Error :: custom) ?) ;
317353 }
354+ "disabled" => {
355+ if v. is_null ( ) {
356+ continue ;
357+ }
358+ disabled = Some ( serde_json:: from_value ( v) . map_err ( M :: Error :: custom) ?) ;
359+ }
318360 "enabled" => {
319361 if v. is_null ( ) {
320362 continue ;
@@ -333,6 +375,12 @@ impl<'de> Deserialize<'de> for CloudWorkloadSecurityAgentRuleAttributes {
333375 }
334376 filters = Some ( serde_json:: from_value ( v) . map_err ( M :: Error :: custom) ?) ;
335377 }
378+ "monitoring" => {
379+ if v. is_null ( ) {
380+ continue ;
381+ }
382+ monitoring = Some ( serde_json:: from_value ( v) . map_err ( M :: Error :: custom) ?) ;
383+ }
336384 "name" => {
337385 if v. is_null ( ) {
338386 continue ;
@@ -389,15 +437,18 @@ impl<'de> Deserialize<'de> for CloudWorkloadSecurityAgentRuleAttributes {
389437 let content = CloudWorkloadSecurityAgentRuleAttributes {
390438 actions,
391439 agent_constraint,
440+ blocking,
392441 category,
393442 creation_author_uu_id,
394443 creation_date,
395444 creator,
396445 default_rule,
397446 description,
447+ disabled,
398448 enabled,
399449 expression,
400450 filters,
451+ monitoring,
401452 name,
402453 product_tags,
403454 update_author_uu_id,
0 commit comments