Skip to content

Commit f535408

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Support Host and IaC finding types in security notifications (#3048)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 48a9944 commit f535408

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "f391bf6",
3-
"generated": "2025-08-06 15:15:59.306"
2+
"spec_repo_commit": "a6f5281",
3+
"generated": "2025-08-06 17:44:35.840"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33749,7 +33749,7 @@ components:
3374933749
rule types application_code_vulnerability,
3375033750

3375133751
application_library_vulnerability, attack_path, container_image_vulnerability,
33752-
identity_risk, misconfiguration, and api_security.'
33752+
identity_risk, misconfiguration, api_security, host_vulnerability and iac_misconfiguration.'
3375333753
enum:
3375433754
- application_security
3375533755
- log_detection
@@ -33764,6 +33764,8 @@ components:
3376433764
- identity_risk
3376533765
- misconfiguration
3376633766
- api_security
33767+
- host_vulnerability
33768+
- iac_misconfiguration
3376733769
type: string
3376833770
x-enum-varnames:
3376933771
- APPLICATION_SECURITY
@@ -33779,6 +33781,8 @@ components:
3377933781
- IDENTITY_RISK
3378033782
- MISCONFIGURATION
3378133783
- API_SECURITY
33784+
- HOST_VULNERABILITY
33785+
- IAC_MISCONFIGURATION
3378233786
RuleUser:
3378333787
description: User creating or modifying a rule.
3378433788
properties:

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* signal_correlation, cloud_configuration and infrastructure_configuration. Vulnerability-based
2525
* notification rules can filter vulnerabilities based on rule types application_code_vulnerability,
2626
* application_library_vulnerability, attack_path, container_image_vulnerability, identity_risk,
27-
* misconfiguration, and api_security.
27+
* misconfiguration, api_security, host_vulnerability and iac_misconfiguration.
2828
*/
2929
@JsonSerialize(using = RuleTypesItems.RuleTypesItemsSerializer.class)
3030
public class RuleTypesItems extends ModelEnum<String> {
@@ -44,7 +44,9 @@ public class RuleTypesItems extends ModelEnum<String> {
4444
"container_image_vulnerability",
4545
"identity_risk",
4646
"misconfiguration",
47-
"api_security"));
47+
"api_security",
48+
"host_vulnerability",
49+
"iac_misconfiguration"));
4850

4951
public static final RuleTypesItems APPLICATION_SECURITY =
5052
new RuleTypesItems("application_security");
@@ -65,6 +67,9 @@ public class RuleTypesItems extends ModelEnum<String> {
6567
public static final RuleTypesItems IDENTITY_RISK = new RuleTypesItems("identity_risk");
6668
public static final RuleTypesItems MISCONFIGURATION = new RuleTypesItems("misconfiguration");
6769
public static final RuleTypesItems API_SECURITY = new RuleTypesItems("api_security");
70+
public static final RuleTypesItems HOST_VULNERABILITY = new RuleTypesItems("host_vulnerability");
71+
public static final RuleTypesItems IAC_MISCONFIGURATION =
72+
new RuleTypesItems("iac_misconfiguration");
6873

6974
RuleTypesItems(String value) {
7075
super(value, allowedValues);

0 commit comments

Comments
 (0)