Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .generated-info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"spec_repo_commit": "f391bf6",
"generated": "2025-08-06 15:14:28.282"
"spec_repo_commit": "a6f5281",
"generated": "2025-08-06 17:43:25.644"
}
6 changes: 5 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33749,7 +33749,7 @@ components:
rule types application_code_vulnerability,

application_library_vulnerability, attack_path, container_image_vulnerability,
identity_risk, misconfiguration, and api_security.'
identity_risk, misconfiguration, api_security, host_vulnerability and iac_misconfiguration.'
enum:
- application_security
- log_detection
Expand All @@ -33764,6 +33764,8 @@ components:
- identity_risk
- misconfiguration
- api_security
- host_vulnerability
- iac_misconfiguration
type: string
x-enum-varnames:
- APPLICATION_SECURITY
Expand All @@ -33779,6 +33781,8 @@ components:
- IDENTITY_RISK
- MISCONFIGURATION
- API_SECURITY
- HOST_VULNERABILITY
- IAC_MISCONFIGURATION
RuleUser:
description: User creating or modifying a rule.
properties:
Expand Down
10 changes: 8 additions & 2 deletions src/datadog_api_client/v2/model/rule_types_items.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ class RuleTypesItems(ModelSimple):
Signal-based notification rules can filter signals based on rule types application_security, log_detection,
workload_security, signal_correlation, cloud_configuration and infrastructure_configuration.
Vulnerability-based notification rules can filter vulnerabilities based on rule types application_code_vulnerability,
application_library_vulnerability, attack_path, container_image_vulnerability, identity_risk, misconfiguration, and api_security.
application_library_vulnerability, attack_path, container_image_vulnerability, identity_risk, misconfiguration, api_security, host_vulnerability and iac_misconfiguration.

: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"].
: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"].
:type value: str
"""

Expand All @@ -38,6 +38,8 @@ class RuleTypesItems(ModelSimple):
"identity_risk",
"misconfiguration",
"api_security",
"host_vulnerability",
"iac_misconfiguration",
}
APPLICATION_SECURITY: ClassVar["RuleTypesItems"]
LOG_DETECTION: ClassVar["RuleTypesItems"]
Expand All @@ -52,6 +54,8 @@ class RuleTypesItems(ModelSimple):
IDENTITY_RISK: ClassVar["RuleTypesItems"]
MISCONFIGURATION: ClassVar["RuleTypesItems"]
API_SECURITY: ClassVar["RuleTypesItems"]
HOST_VULNERABILITY: ClassVar["RuleTypesItems"]
IAC_MISCONFIGURATION: ClassVar["RuleTypesItems"]

@cached_property
def openapi_types(_):
Expand All @@ -73,3 +77,5 @@ def openapi_types(_):
RuleTypesItems.IDENTITY_RISK = RuleTypesItems("identity_risk")
RuleTypesItems.MISCONFIGURATION = RuleTypesItems("misconfiguration")
RuleTypesItems.API_SECURITY = RuleTypesItems("api_security")
RuleTypesItems.HOST_VULNERABILITY = RuleTypesItems("host_vulnerability")
RuleTypesItems.IAC_MISCONFIGURATION = RuleTypesItems("iac_misconfiguration")
Loading