2323@ JsonPropertyOrder ({
2424 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_ACTIONS ,
2525 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_AGENT_CONSTRAINT ,
26+ CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_AGENT_VERSION ,
2627 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_BLOCKING ,
2728 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_CATEGORY ,
2829 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_CREATION_AUTHOR_UU_ID ,
3233 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_DESCRIPTION ,
3334 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_DISABLED ,
3435 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_ENABLED ,
36+ CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_EVERY ,
3537 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_EXPRESSION ,
3638 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_FILTERS ,
39+ CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_GROUP_ID ,
3740 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_MONITORING ,
3841 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_NAME ,
3942 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_PRODUCT_TAGS ,
@@ -55,6 +58,9 @@ public class CloudWorkloadSecurityAgentRuleAttributes {
5558 public static final String JSON_PROPERTY_AGENT_CONSTRAINT = "agentConstraint" ;
5659 private String agentConstraint ;
5760
61+ public static final String JSON_PROPERTY_AGENT_VERSION = "agent_version" ;
62+ private String agentVersion ;
63+
5864 public static final String JSON_PROPERTY_BLOCKING = "blocking" ;
5965 private List <String > blocking = null ;
6066
@@ -82,12 +88,18 @@ public class CloudWorkloadSecurityAgentRuleAttributes {
8288 public static final String JSON_PROPERTY_ENABLED = "enabled" ;
8389 private Boolean enabled ;
8490
91+ public static final String JSON_PROPERTY_EVERY = "every" ;
92+ private Long every ;
93+
8594 public static final String JSON_PROPERTY_EXPRESSION = "expression" ;
8695 private String expression ;
8796
8897 public static final String JSON_PROPERTY_FILTERS = "filters" ;
8998 private List <String > filters = null ;
9099
100+ public static final String JSON_PROPERTY_GROUP_ID = "group_id" ;
101+ private String groupId ;
102+
91103 public static final String JSON_PROPERTY_MONITORING = "monitoring" ;
92104 private List <String > monitoring = null ;
93105
@@ -182,6 +194,27 @@ public void setAgentConstraint(String agentConstraint) {
182194 this .agentConstraint = agentConstraint ;
183195 }
184196
197+ public CloudWorkloadSecurityAgentRuleAttributes agentVersion (String agentVersion ) {
198+ this .agentVersion = agentVersion ;
199+ return this ;
200+ }
201+
202+ /**
203+ * The version constraint of the Datadog Agent the rule applies to
204+ *
205+ * @return agentVersion
206+ */
207+ @ jakarta .annotation .Nullable
208+ @ JsonProperty (JSON_PROPERTY_AGENT_VERSION )
209+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
210+ public String getAgentVersion () {
211+ return agentVersion ;
212+ }
213+
214+ public void setAgentVersion (String agentVersion ) {
215+ this .agentVersion = agentVersion ;
216+ }
217+
185218 public CloudWorkloadSecurityAgentRuleAttributes blocking (List <String > blocking ) {
186219 this .blocking = blocking ;
187220 return this ;
@@ -392,6 +425,27 @@ public void setEnabled(Boolean enabled) {
392425 this .enabled = enabled ;
393426 }
394427
428+ public CloudWorkloadSecurityAgentRuleAttributes every (Long every ) {
429+ this .every = every ;
430+ return this ;
431+ }
432+
433+ /**
434+ * The rate limiting duration of the Agent rule, in nanoseconds
435+ *
436+ * @return every
437+ */
438+ @ jakarta .annotation .Nullable
439+ @ JsonProperty (JSON_PROPERTY_EVERY )
440+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
441+ public Long getEvery () {
442+ return every ;
443+ }
444+
445+ public void setEvery (Long every ) {
446+ this .every = every ;
447+ }
448+
395449 public CloudWorkloadSecurityAgentRuleAttributes expression (String expression ) {
396450 this .expression = expression ;
397451 return this ;
@@ -442,6 +496,27 @@ public void setFilters(List<String> filters) {
442496 this .filters = filters ;
443497 }
444498
499+ public CloudWorkloadSecurityAgentRuleAttributes groupId (String groupId ) {
500+ this .groupId = groupId ;
501+ return this ;
502+ }
503+
504+ /**
505+ * The group of rules the Agent rule belongs to
506+ *
507+ * @return groupId
508+ */
509+ @ jakarta .annotation .Nullable
510+ @ JsonProperty (JSON_PROPERTY_GROUP_ID )
511+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
512+ public String getGroupId () {
513+ return groupId ;
514+ }
515+
516+ public void setGroupId (String groupId ) {
517+ this .groupId = groupId ;
518+ }
519+
445520 public CloudWorkloadSecurityAgentRuleAttributes monitoring (List <String > monitoring ) {
446521 this .monitoring = monitoring ;
447522 return this ;
@@ -712,6 +787,7 @@ public boolean equals(Object o) {
712787 return Objects .equals (this .actions , cloudWorkloadSecurityAgentRuleAttributes .actions )
713788 && Objects .equals (
714789 this .agentConstraint , cloudWorkloadSecurityAgentRuleAttributes .agentConstraint )
790+ && Objects .equals (this .agentVersion , cloudWorkloadSecurityAgentRuleAttributes .agentVersion )
715791 && Objects .equals (this .blocking , cloudWorkloadSecurityAgentRuleAttributes .blocking )
716792 && Objects .equals (this .category , cloudWorkloadSecurityAgentRuleAttributes .category )
717793 && Objects .equals (
@@ -722,8 +798,10 @@ public boolean equals(Object o) {
722798 && Objects .equals (this .description , cloudWorkloadSecurityAgentRuleAttributes .description )
723799 && Objects .equals (this .disabled , cloudWorkloadSecurityAgentRuleAttributes .disabled )
724800 && Objects .equals (this .enabled , cloudWorkloadSecurityAgentRuleAttributes .enabled )
801+ && Objects .equals (this .every , cloudWorkloadSecurityAgentRuleAttributes .every )
725802 && Objects .equals (this .expression , cloudWorkloadSecurityAgentRuleAttributes .expression )
726803 && Objects .equals (this .filters , cloudWorkloadSecurityAgentRuleAttributes .filters )
804+ && Objects .equals (this .groupId , cloudWorkloadSecurityAgentRuleAttributes .groupId )
727805 && Objects .equals (this .monitoring , cloudWorkloadSecurityAgentRuleAttributes .monitoring )
728806 && Objects .equals (this .name , cloudWorkloadSecurityAgentRuleAttributes .name )
729807 && Objects .equals (this .productTags , cloudWorkloadSecurityAgentRuleAttributes .productTags )
@@ -744,6 +822,7 @@ public int hashCode() {
744822 return Objects .hash (
745823 actions ,
746824 agentConstraint ,
825+ agentVersion ,
747826 blocking ,
748827 category ,
749828 creationAuthorUuId ,
@@ -753,8 +832,10 @@ public int hashCode() {
753832 description ,
754833 disabled ,
755834 enabled ,
835+ every ,
756836 expression ,
757837 filters ,
838+ groupId ,
758839 monitoring ,
759840 name ,
760841 productTags ,
@@ -773,6 +854,7 @@ public String toString() {
773854 sb .append ("class CloudWorkloadSecurityAgentRuleAttributes {\n " );
774855 sb .append (" actions: " ).append (toIndentedString (actions )).append ("\n " );
775856 sb .append (" agentConstraint: " ).append (toIndentedString (agentConstraint )).append ("\n " );
857+ sb .append (" agentVersion: " ).append (toIndentedString (agentVersion )).append ("\n " );
776858 sb .append (" blocking: " ).append (toIndentedString (blocking )).append ("\n " );
777859 sb .append (" category: " ).append (toIndentedString (category )).append ("\n " );
778860 sb .append (" creationAuthorUuId: " ).append (toIndentedString (creationAuthorUuId )).append ("\n " );
@@ -782,8 +864,10 @@ public String toString() {
782864 sb .append (" description: " ).append (toIndentedString (description )).append ("\n " );
783865 sb .append (" disabled: " ).append (toIndentedString (disabled )).append ("\n " );
784866 sb .append (" enabled: " ).append (toIndentedString (enabled )).append ("\n " );
867+ sb .append (" every: " ).append (toIndentedString (every )).append ("\n " );
785868 sb .append (" expression: " ).append (toIndentedString (expression )).append ("\n " );
786869 sb .append (" filters: " ).append (toIndentedString (filters )).append ("\n " );
870+ sb .append (" groupId: " ).append (toIndentedString (groupId )).append ("\n " );
787871 sb .append (" monitoring: " ).append (toIndentedString (monitoring )).append ("\n " );
788872 sb .append (" name: " ).append (toIndentedString (name )).append ("\n " );
789873 sb .append (" productTags: " ).append (toIndentedString (productTags )).append ("\n " );
0 commit comments