Skip to content

Commit 1094859

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

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-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:14:28.282"
2+
"spec_repo_commit": "a6f5281",
3+
"generated": "2025-08-06 17:43:25.644"
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/datadog_api_client/v2/model/rule_types_items.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ class RuleTypesItems(ModelSimple):
1818
Signal-based notification rules can filter signals based on rule types application_security, log_detection,
1919
workload_security, signal_correlation, cloud_configuration and infrastructure_configuration.
2020
Vulnerability-based notification rules can filter vulnerabilities based on rule types application_code_vulnerability,
21-
application_library_vulnerability, attack_path, container_image_vulnerability, identity_risk, misconfiguration, and api_security.
21+
application_library_vulnerability, attack_path, container_image_vulnerability, identity_risk, misconfiguration, api_security, host_vulnerability and iac_misconfiguration.
2222
23-
:param value: Must be one of ["application_security", "log_detection", "workload_security", "signal_correlation", "cloud_configuration", "infrastructure_configuration", "application_code_vulnerability", "application_library_vulnerability", "attack_path", "container_image_vulnerability", "identity_risk", "misconfiguration", "api_security"].
23+
:param value: Must be one of ["application_security", "log_detection", "workload_security", "signal_correlation", "cloud_configuration", "infrastructure_configuration", "application_code_vulnerability", "application_library_vulnerability", "attack_path", "container_image_vulnerability", "identity_risk", "misconfiguration", "api_security", "host_vulnerability", "iac_misconfiguration"].
2424
:type value: str
2525
"""
2626

@@ -38,6 +38,8 @@ class RuleTypesItems(ModelSimple):
3838
"identity_risk",
3939
"misconfiguration",
4040
"api_security",
41+
"host_vulnerability",
42+
"iac_misconfiguration",
4143
}
4244
APPLICATION_SECURITY: ClassVar["RuleTypesItems"]
4345
LOG_DETECTION: ClassVar["RuleTypesItems"]
@@ -52,6 +54,8 @@ class RuleTypesItems(ModelSimple):
5254
IDENTITY_RISK: ClassVar["RuleTypesItems"]
5355
MISCONFIGURATION: ClassVar["RuleTypesItems"]
5456
API_SECURITY: ClassVar["RuleTypesItems"]
57+
HOST_VULNERABILITY: ClassVar["RuleTypesItems"]
58+
IAC_MISCONFIGURATION: ClassVar["RuleTypesItems"]
5559

5660
@cached_property
5761
def openapi_types(_):
@@ -73,3 +77,5 @@ def openapi_types(_):
7377
RuleTypesItems.IDENTITY_RISK = RuleTypesItems("identity_risk")
7478
RuleTypesItems.MISCONFIGURATION = RuleTypesItems("misconfiguration")
7579
RuleTypesItems.API_SECURITY = RuleTypesItems("api_security")
80+
RuleTypesItems.HOST_VULNERABILITY = RuleTypesItems("host_vulnerability")
81+
RuleTypesItems.IAC_MISCONFIGURATION = RuleTypesItems("iac_misconfiguration")

0 commit comments

Comments
 (0)