Skip to content

Commit ec8ec5e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit fbc68fb of spec repo
1 parent 3071bc2 commit ec8ec5e

4 files changed

Lines changed: 85 additions & 50 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 69 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -60787,19 +60787,23 @@ components:
6078760787
- DONE
6078860788
- TIMEOUT
6078960789
SecurityMonitoringContentPackActivation:
60790-
description: The activation status of a content pack
60790+
description: The activation lifecycle state of a content pack.
6079160791
enum:
6079260792
- never_activated
6079360793
- activated
6079460794
- deactivated
6079560795
example: activated
6079660796
type: string
60797+
x-enum-descriptions:
60798+
- Pack has never been activated for this organization.
60799+
- Pack is currently activated.
60800+
- Pack was previously activated but has since been deactivated.
6079760801
x-enum-varnames:
6079860802
- NEVER_ACTIVATED
6079960803
- ACTIVATED
6080060804
- DEACTIVATED
6080160805
SecurityMonitoringContentPackIntegrationStatus:
60802-
description: The installation status of the related integration
60806+
description: The installation status of the related Datadog integration.
6080360807
enum:
6080460808
- installed
6080560809
- available
@@ -60808,6 +60812,12 @@ components:
6080860812
- error
6080960813
example: installed
6081060814
type: string
60815+
x-enum-descriptions:
60816+
- Integration is fully installed.
60817+
- Integration exists in the catalog but is not installed.
60818+
- Integration is only partially configured.
60819+
- Integration detected (for example, logs are flowing) but not explicitly installed.
60820+
- Integration is in an error state.
6081160821
x-enum-varnames:
6081260822
- INSTALLED
6081360823
- AVAILABLE
@@ -60824,15 +60834,16 @@ components:
6082460834
cp_activation:
6082560835
$ref: "#/components/schemas/SecurityMonitoringContentPackActivation"
6082660836
filters_configured_for_logs:
60827-
description: Whether filters (Security Filters or Index Query depending on the pricing model) are configured for logs
60837+
description: Whether filters (Security Filters or Index Query depending on the pricing model) are present and correctly configured to route logs into Cloud SIEM.
6082860838
example: true
6082960839
type: boolean
6083060840
integration_installed_status:
6083160841
$ref: "#/components/schemas/SecurityMonitoringContentPackIntegrationStatus"
6083260842
logs_last_collected:
6083360843
$ref: "#/components/schemas/SecurityMonitoringContentPackTimestampBucket"
6083460844
logs_seen_from_any_index:
60835-
description: Whether logs have been seen from any index
60845+
description: >-
60846+
Whether logs for this content pack have been seen in any Datadog index within the last 72 hours, regardless of whether the Cloud SIEM filter is configured.
6083660847
example: true
6083760848
type: boolean
6083860849
state:
@@ -60897,7 +60908,7 @@ components:
6089760908
- meta
6089860909
type: object
6089960910
SecurityMonitoringContentPackStatus:
60900-
description: The current status of a content pack
60911+
description: The current operational status of a content pack.
6090160912
enum:
6090260913
- install
6090360914
- activate
@@ -60907,6 +60918,13 @@ components:
6090760918
- broken
6090860919
example: active
6090960920
type: string
60921+
x-enum-descriptions:
60922+
- Not activated; no logs detected in the last 72 hours.
60923+
- Not activated; logs are flowing into a Datadog index but not yet routed through Cloud SIEM.
60924+
- Activated; awaiting first log ingestion.
60925+
- Activated; logs received within the last 24 hours.
60926+
- Activated; integration not installed or logs last seen 24 to 72 hours ago.
60927+
- Activated; no logs for over 72 hours, filter missing, or Cloud SIEM index incorrectly ordered.
6091060928
x-enum-varnames:
6091160929
- INSTALL
6091260930
- ACTIVATE
@@ -60915,7 +60933,7 @@ components:
6091560933
- WARNING
6091660934
- BROKEN
6091760935
SecurityMonitoringContentPackTimestampBucket:
60918-
description: Timestamp bucket indicating when logs were last collected
60936+
description: When logs were last collected through the content pack's Cloud SIEM filter or index query.
6091960937
enum:
6092060938
- not_seen
6092160939
- within_24_hours
@@ -60924,6 +60942,12 @@ components:
6092460942
- over_30d
6092560943
example: within_24_hours
6092660944
type: string
60945+
x-enum-descriptions:
60946+
- No logs observed.
60947+
- Logs received within the last 24 hours.
60948+
- Logs last seen 24 to 72 hours ago.
60949+
- Logs last seen 3 to 30 days ago.
60950+
- Logs last seen more than 30 days ago.
6092760951
x-enum-varnames:
6092860952
- NOT_SEEN
6092960953
- WITHIN_24_HOURS
@@ -62014,7 +62038,7 @@ components:
6201462038
- $ref: "#/components/schemas/SecurityMonitoringSignalRulePayload"
6201562039
- $ref: "#/components/schemas/CloudConfigurationRulePayload"
6201662040
SecurityMonitoringSKU:
62017-
description: The SIEM pricing model (SKU) for the organization
62041+
description: The Cloud SIEM pricing model (SKU) for the organization.
6201862042
enum:
6201962043
- per_gb_analyzed
6202062044
- per_event_in_siem_index_2023
@@ -111561,10 +111585,7 @@ paths:
111561111585
- Security Monitoring
111562111586
/api/v2/security_monitoring/content_packs/states:
111563111587
get:
111564-
description: |-
111565-
Get the activation and configuration states for all security monitoring content packs.
111566-
This endpoint returns status information about each content pack including activation state,
111567-
integration status, and log collection status.
111588+
description: Get the activation and operational state for all Cloud SIEM content packs.
111568111589
operationId: GetContentPacksStates
111569111590
responses:
111570111591
"200":
@@ -111574,11 +111595,7 @@ paths:
111574111595
$ref: "#/components/schemas/SecurityMonitoringContentPackStatesResponse"
111575111596
description: OK
111576111597
"403":
111577-
content:
111578-
application/json:
111579-
schema:
111580-
$ref: "#/components/schemas/JSONAPIErrorResponse"
111581-
description: Forbidden
111598+
$ref: "#/components/responses/NotAuthorizedResponse"
111582111599
"404":
111583111600
content:
111584111601
application/json:
@@ -111587,21 +111604,31 @@ paths:
111587111604
description: Not Found
111588111605
"429":
111589111606
$ref: "#/components/responses/TooManyRequestsResponse"
111607+
security:
111608+
- apiKeyAuth: []
111609+
appKeyAuth: []
111610+
- AuthZ:
111611+
- security_monitoring_filters_read
111590111612
summary: Get content pack states
111591111613
tags:
111592111614
- Security Monitoring
111615+
"x-permission":
111616+
operator: OR
111617+
permissions:
111618+
- security_monitoring_filters_read
111619+
- logs_read_index_data
111593111620
x-unstable: |-
111594111621
**Note**: This endpoint is in preview and is subject to change.
111595111622
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
111596111623
/api/v2/security_monitoring/content_packs/{content_pack_id}/activate:
111597111624
put:
111598111625
description: |-
111599-
Activate a security monitoring content pack. This operation configures the necessary
111626+
Activate a Cloud SIEM content pack. This operation configures the necessary
111600111627
log filters or security filters depending on the pricing model and updates the content
111601111628
pack activation state.
111602111629
operationId: ActivateContentPack
111603111630
parameters:
111604-
- description: The ID of the content pack to activate.
111631+
- description: The ID of the content pack to activate (for example, `aws-cloudtrail`).
111605111632
in: path
111606111633
name: content_pack_id
111607111634
required: true
@@ -111612,11 +111639,7 @@ paths:
111612111639
"202":
111613111640
description: Accepted
111614111641
"403":
111615-
content:
111616-
application/json:
111617-
schema:
111618-
$ref: "#/components/schemas/JSONAPIErrorResponse"
111619-
description: Forbidden
111642+
$ref: "#/components/responses/NotAuthorizedResponse"
111620111643
"404":
111621111644
content:
111622111645
application/json:
@@ -111625,20 +111648,30 @@ paths:
111625111648
description: Not Found
111626111649
"429":
111627111650
$ref: "#/components/responses/TooManyRequestsResponse"
111651+
security:
111652+
- apiKeyAuth: []
111653+
appKeyAuth: []
111654+
- AuthZ:
111655+
- security_monitoring_filters_write
111628111656
summary: Activate content pack
111629111657
tags:
111630111658
- Security Monitoring
111659+
"x-permission":
111660+
operator: OR
111661+
permissions:
111662+
- security_monitoring_filters_write
111663+
- logs_modify_indexes
111631111664
x-unstable: |-
111632111665
**Note**: This endpoint is in preview and is subject to change.
111633111666
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
111634111667
/api/v2/security_monitoring/content_packs/{content_pack_id}/deactivate:
111635111668
put:
111636111669
description: |-
111637-
Deactivate a security monitoring content pack. This operation removes the content pack's
111670+
Deactivate a Cloud SIEM content pack. This operation removes the content pack's
111638111671
configuration from log filters or security filters and updates the content pack activation state.
111639111672
operationId: DeactivateContentPack
111640111673
parameters:
111641-
- description: The ID of the content pack to deactivate.
111674+
- description: The ID of the content pack to deactivate (for example, `aws-cloudtrail`).
111642111675
in: path
111643111676
name: content_pack_id
111644111677
required: true
@@ -111649,11 +111682,7 @@ paths:
111649111682
"202":
111650111683
description: Accepted
111651111684
"403":
111652-
content:
111653-
application/json:
111654-
schema:
111655-
$ref: "#/components/schemas/JSONAPIErrorResponse"
111656-
description: Forbidden
111685+
$ref: "#/components/responses/NotAuthorizedResponse"
111657111686
"404":
111658111687
content:
111659111688
application/json:
@@ -111662,9 +111691,19 @@ paths:
111662111691
description: Not Found
111663111692
"429":
111664111693
$ref: "#/components/responses/TooManyRequestsResponse"
111694+
security:
111695+
- apiKeyAuth: []
111696+
appKeyAuth: []
111697+
- AuthZ:
111698+
- security_monitoring_filters_write
111665111699
summary: Deactivate content pack
111666111700
tags:
111667111701
- Security Monitoring
111702+
"x-permission":
111703+
operator: OR
111704+
permissions:
111705+
- security_monitoring_filters_write
111706+
- logs_modify_indexes
111668111707
x-unstable: |-
111669111708
**Note**: This endpoint is in preview and is subject to change.
111670111709
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).

src/datadogV2/api/api_security_monitoring.rs

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,8 +1156,8 @@ impl SearchSecurityMonitoringSignalsOptionalParams {
11561156
#[derive(Debug, Clone, Serialize, Deserialize)]
11571157
#[serde(untagged)]
11581158
pub enum ActivateContentPackError {
1159-
JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse),
11601159
APIErrorResponse(crate::datadogV2::model::APIErrorResponse),
1160+
JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse),
11611161
UnknownValue(serde_json::Value),
11621162
}
11631163

@@ -1311,8 +1311,8 @@ pub enum CreateVulnerabilityNotificationRuleError {
13111311
#[derive(Debug, Clone, Serialize, Deserialize)]
13121312
#[serde(untagged)]
13131313
pub enum DeactivateContentPackError {
1314-
JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse),
13151314
APIErrorResponse(crate::datadogV2::model::APIErrorResponse),
1315+
JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse),
13161316
UnknownValue(serde_json::Value),
13171317
}
13181318

@@ -1416,8 +1416,8 @@ pub enum EditSecurityMonitoringSignalStateError {
14161416
#[derive(Debug, Clone, Serialize, Deserialize)]
14171417
#[serde(untagged)]
14181418
pub enum GetContentPacksStatesError {
1419-
JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse),
14201419
APIErrorResponse(crate::datadogV2::model::APIErrorResponse),
1420+
JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse),
14211421
UnknownValue(serde_json::Value),
14221422
}
14231423

@@ -1942,7 +1942,7 @@ impl SecurityMonitoringAPI {
19421942
Self { config, client }
19431943
}
19441944

1945-
/// Activate a security monitoring content pack. This operation configures the necessary
1945+
/// Activate a Cloud SIEM content pack. This operation configures the necessary
19461946
/// log filters or security filters depending on the pricing model and updates the content
19471947
/// pack activation state.
19481948
pub async fn activate_content_pack(
@@ -1958,7 +1958,7 @@ impl SecurityMonitoringAPI {
19581958
}
19591959
}
19601960

1961-
/// Activate a security monitoring content pack. This operation configures the necessary
1961+
/// Activate a Cloud SIEM content pack. This operation configures the necessary
19621962
/// log filters or security filters depending on the pricing model and updates the content
19631963
/// pack activation state.
19641964
pub async fn activate_content_pack_with_http_info(
@@ -4787,7 +4787,7 @@ impl SecurityMonitoringAPI {
47874787
}
47884788
}
47894789

4790-
/// Deactivate a security monitoring content pack. This operation removes the content pack's
4790+
/// Deactivate a Cloud SIEM content pack. This operation removes the content pack's
47914791
/// configuration from log filters or security filters and updates the content pack activation state.
47924792
pub async fn deactivate_content_pack(
47934793
&self,
@@ -4802,7 +4802,7 @@ impl SecurityMonitoringAPI {
48024802
}
48034803
}
48044804

4805-
/// Deactivate a security monitoring content pack. This operation removes the content pack's
4805+
/// Deactivate a Cloud SIEM content pack. This operation removes the content pack's
48064806
/// configuration from log filters or security filters and updates the content pack activation state.
48074807
pub async fn deactivate_content_pack_with_http_info(
48084808
&self,
@@ -6283,9 +6283,7 @@ impl SecurityMonitoringAPI {
62836283
}
62846284
}
62856285

6286-
/// Get the activation and configuration states for all security monitoring content packs.
6287-
/// This endpoint returns status information about each content pack including activation state,
6288-
/// integration status, and log collection status.
6286+
/// Get the activation and operational state for all Cloud SIEM content packs.
62896287
pub async fn get_content_packs_states(
62906288
&self,
62916289
) -> Result<
@@ -6306,9 +6304,7 @@ impl SecurityMonitoringAPI {
63066304
}
63076305
}
63086306

6309-
/// Get the activation and configuration states for all security monitoring content packs.
6310-
/// This endpoint returns status information about each content pack including activation state,
6311-
/// integration status, and log collection status.
6307+
/// Get the activation and operational state for all Cloud SIEM content packs.
63126308
pub async fn get_content_packs_states_with_http_info(
63136309
&self,
63146310
) -> Result<

src/datadogV2/model/model_security_monitoring_content_pack_state_attributes.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,23 @@ pub struct SecurityMonitoringContentPackStateAttributes {
1414
/// Whether the cloud SIEM index configuration is incorrect (only applies to certain pricing models)
1515
#[serde(rename = "cloud_siem_index_incorrect")]
1616
pub cloud_siem_index_incorrect: bool,
17-
/// The activation status of a content pack
17+
/// The activation lifecycle state of a content pack.
1818
#[serde(rename = "cp_activation")]
1919
pub cp_activation: crate::datadogV2::model::SecurityMonitoringContentPackActivation,
20-
/// Whether filters (Security Filters or Index Query depending on the pricing model) are configured for logs
20+
/// Whether filters (Security Filters or Index Query depending on the pricing model) are present and correctly configured to route logs into Cloud SIEM.
2121
#[serde(rename = "filters_configured_for_logs")]
2222
pub filters_configured_for_logs: bool,
23-
/// The installation status of the related integration
23+
/// The installation status of the related Datadog integration.
2424
#[serde(rename = "integration_installed_status")]
2525
pub integration_installed_status:
2626
Option<crate::datadogV2::model::SecurityMonitoringContentPackIntegrationStatus>,
27-
/// Timestamp bucket indicating when logs were last collected
27+
/// When logs were last collected through the content pack's Cloud SIEM filter or index query.
2828
#[serde(rename = "logs_last_collected")]
2929
pub logs_last_collected: crate::datadogV2::model::SecurityMonitoringContentPackTimestampBucket,
30-
/// Whether logs have been seen from any index
30+
/// Whether logs for this content pack have been seen in any Datadog index within the last 72 hours, regardless of whether the Cloud SIEM filter is configured.
3131
#[serde(rename = "logs_seen_from_any_index")]
3232
pub logs_seen_from_any_index: bool,
33-
/// The current status of a content pack
33+
/// The current operational status of a content pack.
3434
#[serde(rename = "state")]
3535
pub state: crate::datadogV2::model::SecurityMonitoringContentPackStatus,
3636
#[serde(flatten)]

src/datadogV2/model/model_security_monitoring_content_pack_state_meta.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub struct SecurityMonitoringContentPackStateMeta {
1414
/// Whether the cloud SIEM index configuration is incorrect at the organization level
1515
#[serde(rename = "cloud_siem_index_incorrect")]
1616
pub cloud_siem_index_incorrect: bool,
17-
/// The SIEM pricing model (SKU) for the organization
17+
/// The Cloud SIEM pricing model (SKU) for the organization.
1818
#[serde(rename = "sku")]
1919
pub sku: crate::datadogV2::model::SecurityMonitoringSKU,
2020
#[serde(flatten)]

0 commit comments

Comments
 (0)