Skip to content

Commit f841dce

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 7ce49a61 of spec repo
1 parent 5f88599 commit f841dce

File tree

5 files changed

+383
-7
lines changed

5 files changed

+383
-7
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
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-05-14 15:44:18.459381",
8-
"spec_repo_commit": "64f5e7ee"
7+
"regenerated": "2025-05-15 13:43:27.435277",
8+
"spec_repo_commit": "7ce49a61"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-14 15:44:18.474808",
13-
"spec_repo_commit": "64f5e7ee"
12+
"regenerated": "2025-05-15 13:43:27.451879",
13+
"spec_repo_commit": "7ce49a61"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7484,6 +7484,11 @@ components:
74847484
agentConstraint:
74857485
description: The version of the Agent
74867486
type: string
7487+
blocking:
7488+
description: The blocking policies that the rule belongs to
7489+
items:
7490+
type: string
7491+
type: array
74877492
category:
74887493
description: The category of the Agent rule
74897494
example: Process Activity
@@ -7507,6 +7512,11 @@ components:
75077512
description: The description of the Agent rule
75087513
example: My Agent rule
75097514
type: string
7515+
disabled:
7516+
description: The disabled policies that the rule belongs to
7517+
items:
7518+
type: string
7519+
type: array
75107520
enabled:
75117521
description: Whether the Agent rule is enabled
75127522
example: true
@@ -7520,6 +7530,11 @@ components:
75207530
items:
75217531
type: string
75227532
type: array
7533+
monitoring:
7534+
description: The monitoring policies that the rule belongs to
7535+
items:
7536+
type: string
7537+
type: array
75237538
name:
75247539
description: The name of the Agent rule
75257540
example: my_agent_rule
@@ -7554,10 +7569,20 @@ components:
75547569
CloudWorkloadSecurityAgentRuleCreateAttributes:
75557570
description: Create a new Cloud Workload Security Agent rule.
75567571
properties:
7572+
blocking:
7573+
description: The blocking policies that the rule belongs to
7574+
items:
7575+
type: string
7576+
type: array
75577577
description:
75587578
description: The description of the Agent rule.
75597579
example: My Agent rule
75607580
type: string
7581+
disabled:
7582+
description: The disabled policies that the rule belongs to
7583+
items:
7584+
type: string
7585+
type: array
75617586
enabled:
75627587
description: Whether the Agent rule is enabled
75637588
example: true
@@ -7571,6 +7596,11 @@ components:
75717596
items:
75727597
type: string
75737598
type: array
7599+
monitoring:
7600+
description: The monitoring policies that the rule belongs to
7601+
items:
7602+
type: string
7603+
type: array
75747604
name:
75757605
description: The name of the Agent rule.
75767606
example: my_agent_rule
@@ -7661,10 +7691,20 @@ components:
76617691
CloudWorkloadSecurityAgentRuleUpdateAttributes:
76627692
description: Update an existing Cloud Workload Security Agent rule
76637693
properties:
7694+
blocking:
7695+
description: The blocking policies that the rule belongs to
7696+
items:
7697+
type: string
7698+
type: array
76647699
description:
76657700
description: The description of the Agent rule
76667701
example: My Agent rule
76677702
type: string
7703+
disabled:
7704+
description: The disabled policies that the rule belongs to
7705+
items:
7706+
type: string
7707+
type: array
76687708
enabled:
76697709
description: Whether the Agent rule is enabled
76707710
example: true
@@ -7673,6 +7713,11 @@ components:
76737713
description: The SECL expression of the Agent rule
76747714
example: exec.file.name == "sh"
76757715
type: string
7716+
monitoring:
7717+
description: The monitoring policies that the rule belongs to
7718+
items:
7719+
type: string
7720+
type: array
76767721
policy_id:
76777722
description: The ID of the policy where the Agent rule is saved
76787723
example: a8c8e364-6556-434d-b798-a4c23de29c0b

src/main/java/com/datadog/api/client/v2/model/CloudWorkloadSecurityAgentRuleAttributes.java

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,18 @@
2323
@JsonPropertyOrder({
2424
CloudWorkloadSecurityAgentRuleAttributes.JSON_PROPERTY_ACTIONS,
2525
CloudWorkloadSecurityAgentRuleAttributes.JSON_PROPERTY_AGENT_CONSTRAINT,
26+
CloudWorkloadSecurityAgentRuleAttributes.JSON_PROPERTY_BLOCKING,
2627
CloudWorkloadSecurityAgentRuleAttributes.JSON_PROPERTY_CATEGORY,
2728
CloudWorkloadSecurityAgentRuleAttributes.JSON_PROPERTY_CREATION_AUTHOR_UU_ID,
2829
CloudWorkloadSecurityAgentRuleAttributes.JSON_PROPERTY_CREATION_DATE,
2930
CloudWorkloadSecurityAgentRuleAttributes.JSON_PROPERTY_CREATOR,
3031
CloudWorkloadSecurityAgentRuleAttributes.JSON_PROPERTY_DEFAULT_RULE,
3132
CloudWorkloadSecurityAgentRuleAttributes.JSON_PROPERTY_DESCRIPTION,
33+
CloudWorkloadSecurityAgentRuleAttributes.JSON_PROPERTY_DISABLED,
3234
CloudWorkloadSecurityAgentRuleAttributes.JSON_PROPERTY_ENABLED,
3335
CloudWorkloadSecurityAgentRuleAttributes.JSON_PROPERTY_EXPRESSION,
3436
CloudWorkloadSecurityAgentRuleAttributes.JSON_PROPERTY_FILTERS,
37+
CloudWorkloadSecurityAgentRuleAttributes.JSON_PROPERTY_MONITORING,
3538
CloudWorkloadSecurityAgentRuleAttributes.JSON_PROPERTY_NAME,
3639
CloudWorkloadSecurityAgentRuleAttributes.JSON_PROPERTY_PRODUCT_TAGS,
3740
CloudWorkloadSecurityAgentRuleAttributes.JSON_PROPERTY_UPDATE_AUTHOR_UU_ID,
@@ -51,6 +54,9 @@ public class CloudWorkloadSecurityAgentRuleAttributes {
5154
public static final String JSON_PROPERTY_AGENT_CONSTRAINT = "agentConstraint";
5255
private String agentConstraint;
5356

57+
public static final String JSON_PROPERTY_BLOCKING = "blocking";
58+
private List<String> blocking = null;
59+
5460
public static final String JSON_PROPERTY_CATEGORY = "category";
5561
private String category;
5662

@@ -69,6 +75,9 @@ public class CloudWorkloadSecurityAgentRuleAttributes {
6975
public static final String JSON_PROPERTY_DESCRIPTION = "description";
7076
private String description;
7177

78+
public static final String JSON_PROPERTY_DISABLED = "disabled";
79+
private List<String> disabled = null;
80+
7281
public static final String JSON_PROPERTY_ENABLED = "enabled";
7382
private Boolean enabled;
7483

@@ -78,6 +87,9 @@ public class CloudWorkloadSecurityAgentRuleAttributes {
7887
public static final String JSON_PROPERTY_FILTERS = "filters";
7988
private List<String> filters = null;
8089

90+
public static final String JSON_PROPERTY_MONITORING = "monitoring";
91+
private List<String> monitoring = null;
92+
8193
public static final String JSON_PROPERTY_NAME = "name";
8294
private String name;
8395

@@ -166,6 +178,35 @@ public void setAgentConstraint(String agentConstraint) {
166178
this.agentConstraint = agentConstraint;
167179
}
168180

181+
public CloudWorkloadSecurityAgentRuleAttributes blocking(List<String> blocking) {
182+
this.blocking = blocking;
183+
return this;
184+
}
185+
186+
public CloudWorkloadSecurityAgentRuleAttributes addBlockingItem(String blockingItem) {
187+
if (this.blocking == null) {
188+
this.blocking = new ArrayList<>();
189+
}
190+
this.blocking.add(blockingItem);
191+
return this;
192+
}
193+
194+
/**
195+
* The blocking policies that the rule belongs to
196+
*
197+
* @return blocking
198+
*/
199+
@jakarta.annotation.Nullable
200+
@JsonProperty(JSON_PROPERTY_BLOCKING)
201+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
202+
public List<String> getBlocking() {
203+
return blocking;
204+
}
205+
206+
public void setBlocking(List<String> blocking) {
207+
this.blocking = blocking;
208+
}
209+
169210
public CloudWorkloadSecurityAgentRuleAttributes category(String category) {
170211
this.category = category;
171212
return this;
@@ -294,6 +335,35 @@ public void setDescription(String description) {
294335
this.description = description;
295336
}
296337

338+
public CloudWorkloadSecurityAgentRuleAttributes disabled(List<String> disabled) {
339+
this.disabled = disabled;
340+
return this;
341+
}
342+
343+
public CloudWorkloadSecurityAgentRuleAttributes addDisabledItem(String disabledItem) {
344+
if (this.disabled == null) {
345+
this.disabled = new ArrayList<>();
346+
}
347+
this.disabled.add(disabledItem);
348+
return this;
349+
}
350+
351+
/**
352+
* The disabled policies that the rule belongs to
353+
*
354+
* @return disabled
355+
*/
356+
@jakarta.annotation.Nullable
357+
@JsonProperty(JSON_PROPERTY_DISABLED)
358+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
359+
public List<String> getDisabled() {
360+
return disabled;
361+
}
362+
363+
public void setDisabled(List<String> disabled) {
364+
this.disabled = disabled;
365+
}
366+
297367
public CloudWorkloadSecurityAgentRuleAttributes enabled(Boolean enabled) {
298368
this.enabled = enabled;
299369
return this;
@@ -365,6 +435,35 @@ public void setFilters(List<String> filters) {
365435
this.filters = filters;
366436
}
367437

438+
public CloudWorkloadSecurityAgentRuleAttributes monitoring(List<String> monitoring) {
439+
this.monitoring = monitoring;
440+
return this;
441+
}
442+
443+
public CloudWorkloadSecurityAgentRuleAttributes addMonitoringItem(String monitoringItem) {
444+
if (this.monitoring == null) {
445+
this.monitoring = new ArrayList<>();
446+
}
447+
this.monitoring.add(monitoringItem);
448+
return this;
449+
}
450+
451+
/**
452+
* The monitoring policies that the rule belongs to
453+
*
454+
* @return monitoring
455+
*/
456+
@jakarta.annotation.Nullable
457+
@JsonProperty(JSON_PROPERTY_MONITORING)
458+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
459+
public List<String> getMonitoring() {
460+
return monitoring;
461+
}
462+
463+
public void setMonitoring(List<String> monitoring) {
464+
this.monitoring = monitoring;
465+
}
466+
368467
public CloudWorkloadSecurityAgentRuleAttributes name(String name) {
369468
this.name = name;
370469
return this;
@@ -582,16 +681,19 @@ public boolean equals(Object o) {
582681
return Objects.equals(this.actions, cloudWorkloadSecurityAgentRuleAttributes.actions)
583682
&& Objects.equals(
584683
this.agentConstraint, cloudWorkloadSecurityAgentRuleAttributes.agentConstraint)
684+
&& Objects.equals(this.blocking, cloudWorkloadSecurityAgentRuleAttributes.blocking)
585685
&& Objects.equals(this.category, cloudWorkloadSecurityAgentRuleAttributes.category)
586686
&& Objects.equals(
587687
this.creationAuthorUuId, cloudWorkloadSecurityAgentRuleAttributes.creationAuthorUuId)
588688
&& Objects.equals(this.creationDate, cloudWorkloadSecurityAgentRuleAttributes.creationDate)
589689
&& Objects.equals(this.creator, cloudWorkloadSecurityAgentRuleAttributes.creator)
590690
&& Objects.equals(this.defaultRule, cloudWorkloadSecurityAgentRuleAttributes.defaultRule)
591691
&& Objects.equals(this.description, cloudWorkloadSecurityAgentRuleAttributes.description)
692+
&& Objects.equals(this.disabled, cloudWorkloadSecurityAgentRuleAttributes.disabled)
592693
&& Objects.equals(this.enabled, cloudWorkloadSecurityAgentRuleAttributes.enabled)
593694
&& Objects.equals(this.expression, cloudWorkloadSecurityAgentRuleAttributes.expression)
594695
&& Objects.equals(this.filters, cloudWorkloadSecurityAgentRuleAttributes.filters)
696+
&& Objects.equals(this.monitoring, cloudWorkloadSecurityAgentRuleAttributes.monitoring)
595697
&& Objects.equals(this.name, cloudWorkloadSecurityAgentRuleAttributes.name)
596698
&& Objects.equals(this.productTags, cloudWorkloadSecurityAgentRuleAttributes.productTags)
597699
&& Objects.equals(
@@ -610,15 +712,18 @@ public int hashCode() {
610712
return Objects.hash(
611713
actions,
612714
agentConstraint,
715+
blocking,
613716
category,
614717
creationAuthorUuId,
615718
creationDate,
616719
creator,
617720
defaultRule,
618721
description,
722+
disabled,
619723
enabled,
620724
expression,
621725
filters,
726+
monitoring,
622727
name,
623728
productTags,
624729
updateAuthorUuId,
@@ -635,15 +740,18 @@ public String toString() {
635740
sb.append("class CloudWorkloadSecurityAgentRuleAttributes {\n");
636741
sb.append(" actions: ").append(toIndentedString(actions)).append("\n");
637742
sb.append(" agentConstraint: ").append(toIndentedString(agentConstraint)).append("\n");
743+
sb.append(" blocking: ").append(toIndentedString(blocking)).append("\n");
638744
sb.append(" category: ").append(toIndentedString(category)).append("\n");
639745
sb.append(" creationAuthorUuId: ").append(toIndentedString(creationAuthorUuId)).append("\n");
640746
sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n");
641747
sb.append(" creator: ").append(toIndentedString(creator)).append("\n");
642748
sb.append(" defaultRule: ").append(toIndentedString(defaultRule)).append("\n");
643749
sb.append(" description: ").append(toIndentedString(description)).append("\n");
750+
sb.append(" disabled: ").append(toIndentedString(disabled)).append("\n");
644751
sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n");
645752
sb.append(" expression: ").append(toIndentedString(expression)).append("\n");
646753
sb.append(" filters: ").append(toIndentedString(filters)).append("\n");
754+
sb.append(" monitoring: ").append(toIndentedString(monitoring)).append("\n");
647755
sb.append(" name: ").append(toIndentedString(name)).append("\n");
648756
sb.append(" productTags: ").append(toIndentedString(productTags)).append("\n");
649757
sb.append(" updateAuthorUuId: ").append(toIndentedString(updateAuthorUuId)).append("\n");

0 commit comments

Comments
 (0)