Skip to content

Commit 9dd01bc

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit f80aaf5 of spec repo
1 parent ecb3578 commit 9dd01bc

9 files changed

Lines changed: 341 additions & 92 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 319 additions & 70 deletions
Large diffs are not rendered by default.

src/datadog_api_client/v2/api/security_monitoring_api.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def __init__(self, api_client=None):
192192
self._activate_content_pack_endpoint = _Endpoint(
193193
settings={
194194
"response_type": None,
195-
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
195+
"auth": ["apiKeyAuth", "appKeyAuth"],
196196
"endpoint_path": "/api/v2/security_monitoring/content_packs/{content_pack_id}/activate",
197197
"operation_id": "activate_content_pack",
198198
"http_method": "PUT",
@@ -659,7 +659,7 @@ def __init__(self, api_client=None):
659659
self._deactivate_content_pack_endpoint = _Endpoint(
660660
settings={
661661
"response_type": None,
662-
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
662+
"auth": ["apiKeyAuth", "appKeyAuth"],
663663
"endpoint_path": "/api/v2/security_monitoring/content_packs/{content_pack_id}/deactivate",
664664
"operation_id": "deactivate_content_pack",
665665
"http_method": "PUT",
@@ -1025,7 +1025,7 @@ def __init__(self, api_client=None):
10251025
self._get_content_packs_states_endpoint = _Endpoint(
10261026
settings={
10271027
"response_type": (SecurityMonitoringContentPackStatesResponse,),
1028-
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
1028+
"auth": ["apiKeyAuth", "appKeyAuth"],
10291029
"endpoint_path": "/api/v2/security_monitoring/content_packs/states",
10301030
"operation_id": "get_content_packs_states",
10311031
"http_method": "GET",
@@ -2993,11 +2993,11 @@ def activate_content_pack(
29932993
) -> None:
29942994
"""Activate content pack.
29952995
2996-
Activate a Cloud SIEM content pack. This operation configures the necessary
2996+
Activate a security monitoring content pack. This operation configures the necessary
29972997
log filters or security filters depending on the pricing model and updates the content
29982998
pack activation state.
29992999
3000-
:param content_pack_id: The ID of the content pack to activate (for example, ``aws-cloudtrail`` ).
3000+
:param content_pack_id: The ID of the content pack to activate.
30013001
:type content_pack_id: str
30023002
:rtype: None
30033003
"""
@@ -3417,10 +3417,10 @@ def deactivate_content_pack(
34173417
) -> None:
34183418
"""Deactivate content pack.
34193419
3420-
Deactivate a Cloud SIEM content pack. This operation removes the content pack's
3420+
Deactivate a security monitoring content pack. This operation removes the content pack's
34213421
configuration from log filters or security filters and updates the content pack activation state.
34223422
3423-
:param content_pack_id: The ID of the content pack to deactivate (for example, ``aws-cloudtrail`` ).
3423+
:param content_pack_id: The ID of the content pack to deactivate.
34243424
:type content_pack_id: str
34253425
:rtype: None
34263426
"""
@@ -3704,8 +3704,9 @@ def get_content_packs_states(
37043704
) -> SecurityMonitoringContentPackStatesResponse:
37053705
"""Get content pack states.
37063706
3707-
Get the activation state, integration status, and log collection status
3708-
for all Cloud SIEM content packs.
3707+
Get the activation and configuration states for all security monitoring content packs.
3708+
This endpoint returns status information about each content pack including activation state,
3709+
integration status, and log collection status.
37093710
37103711
:rtype: SecurityMonitoringContentPackStatesResponse
37113712
"""

src/datadog_api_client/v2/model/security_monitoring_content_pack_activation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class SecurityMonitoringContentPackActivation(ModelSimple):
1616
"""
17-
The activation status of a content pack.
17+
The activation status of a content pack
1818
1919
:param value: Must be one of ["never_activated", "activated", "deactivated"].
2020
:type value: str

src/datadog_api_client/v2/model/security_monitoring_content_pack_integration_status.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class SecurityMonitoringContentPackIntegrationStatus(ModelSimple):
1616
"""
17-
The installation status of the related integration.
17+
The installation status of the related integration
1818
1919
:param value: Must be one of ["installed", "available", "partially_installed", "detected", "error"].
2020
:type value: str

src/datadog_api_client/v2/model/security_monitoring_content_pack_state_attributes.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,23 +79,22 @@ def __init__(
7979
:param cloud_siem_index_incorrect: Whether the cloud SIEM index configuration is incorrect (only applies to certain pricing models)
8080
:type cloud_siem_index_incorrect: bool
8181
82-
:param cp_activation: The activation status of a content pack.
82+
:param cp_activation: The activation status of a content pack
8383
:type cp_activation: SecurityMonitoringContentPackActivation
8484
85-
:param filters_configured_for_logs: Whether filters (Security Filters or Index Query depending on the pricing model) are
86-
present and correctly configured to route logs into Cloud SIEM.
85+
:param filters_configured_for_logs: Whether filters (Security Filters or Index Query depending on the pricing model) are configured for logs
8786
:type filters_configured_for_logs: bool
8887
89-
:param integration_installed_status: The installation status of the related integration.
88+
:param integration_installed_status: The installation status of the related integration
9089
:type integration_installed_status: SecurityMonitoringContentPackIntegrationStatus, optional
9190
92-
:param logs_last_collected: Timestamp bucket indicating when logs were last collected.
91+
:param logs_last_collected: Timestamp bucket indicating when logs were last collected
9392
:type logs_last_collected: SecurityMonitoringContentPackTimestampBucket
9493
95-
:param logs_seen_from_any_index: Whether logs for this content pack have been seen in any Datadog index within the last 72 hours.
94+
:param logs_seen_from_any_index: Whether logs have been seen from any index
9695
:type logs_seen_from_any_index: bool
9796
98-
:param state: The current operational status of a content pack.
97+
:param state: The current status of a content pack
9998
:type state: SecurityMonitoringContentPackStatus
10099
"""
101100
if integration_installed_status is not unset:

src/datadog_api_client/v2/model/security_monitoring_content_pack_state_meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __init__(self_, cloud_siem_index_incorrect: bool, sku: SecurityMonitoringSKU
3737
:param cloud_siem_index_incorrect: Whether the cloud SIEM index configuration is incorrect at the organization level
3838
:type cloud_siem_index_incorrect: bool
3939
40-
:param sku: The Cloud SIEM pricing model (SKU) for the organization.
40+
:param sku: The SIEM pricing model (SKU) for the organization
4141
:type sku: SecurityMonitoringSKU
4242
"""
4343
super().__init__(kwargs)

src/datadog_api_client/v2/model/security_monitoring_content_pack_status.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class SecurityMonitoringContentPackStatus(ModelSimple):
1616
"""
17-
The current operational status of a content pack.
17+
The current status of a content pack
1818
1919
:param value: Must be one of ["install", "activate", "initializing", "active", "warning", "broken"].
2020
:type value: str

src/datadog_api_client/v2/model/security_monitoring_content_pack_timestamp_bucket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class SecurityMonitoringContentPackTimestampBucket(ModelSimple):
1616
"""
17-
Timestamp bucket indicating when logs were last collected.
17+
Timestamp bucket indicating when logs were last collected
1818
1919
:param value: Must be one of ["not_seen", "within_24_hours", "within_24_to_72_hours", "over_72h_to_30d", "over_30d"].
2020
:type value: str

src/datadog_api_client/v2/model/security_monitoring_sku.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class SecurityMonitoringSKU(ModelSimple):
1616
"""
17-
The Cloud SIEM pricing model (SKU) for the organization.
17+
The SIEM pricing model (SKU) for the organization
1818
1919
:param value: Must be one of ["per_gb_analyzed", "per_event_in_siem_index_2023", "add_on_2024"].
2020
:type value: str

0 commit comments

Comments
 (0)