Skip to content

Commit 3ff7df5

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit ab24a38 of spec repo
1 parent e5420ae commit 3ff7df5

11 files changed

Lines changed: 96 additions & 31 deletions

.generator/schemas/v1/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26513,6 +26513,7 @@ paths:
2651326513
- ap2.datadoghq.com
2651426514
- datadoghq.eu
2651526515
- ddog-gov.com
26516+
- us2.ddog-gov.com
2651626517
subdomain:
2651726518
default: ip-ranges
2651826519
description: The subdomain where the API is deployed.
@@ -39887,6 +39888,7 @@ paths:
3988739888
- ap2.datadoghq.com
3988839889
- datadoghq.eu
3988939890
- ddog-gov.com
39891+
- us2.ddog-gov.com
3989039892
subdomain:
3989139893
default: http-intake.logs
3989239894
description: The subdomain where the API is deployed.
@@ -39927,6 +39929,7 @@ servers:
3992739929
- ap2.datadoghq.com
3992839930
- datadoghq.eu
3992939931
- ddog-gov.com
39932+
- us2.ddog-gov.com
3993039933
subdomain:
3993139934
default: api
3993239935
description: The subdomain where the API is deployed.

.generator/schemas/v2/openapi.yaml

Lines changed: 71 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62654,19 +62654,23 @@ components:
6265462654
- DONE
6265562655
- TIMEOUT
6265662656
SecurityMonitoringContentPackActivation:
62657-
description: The activation status of a content pack
62657+
description: The activation status of a content pack.
6265862658
enum:
6265962659
- never_activated
6266062660
- activated
6266162661
- deactivated
6266262662
example: activated
6266362663
type: string
62664+
x-enum-descriptions:
62665+
- Pack has never been activated for this organization.
62666+
- Pack is currently activated.
62667+
- Pack was previously activated but has since been deactivated.
6266462668
x-enum-varnames:
6266562669
- NEVER_ACTIVATED
6266662670
- ACTIVATED
6266762671
- DEACTIVATED
6266862672
SecurityMonitoringContentPackIntegrationStatus:
62669-
description: The installation status of the related integration
62673+
description: The installation status of the related integration.
6267062674
enum:
6267162675
- installed
6267262676
- available
@@ -62675,6 +62679,12 @@ components:
6267562679
- error
6267662680
example: installed
6267762681
type: string
62682+
x-enum-descriptions:
62683+
- Integration is fully installed.
62684+
- Integration exists in the catalog but is not installed.
62685+
- Integration is only partially configured.
62686+
- Integration detected (for example, logs are flowing) but not explicitly installed.
62687+
- Integration is in an error state.
6267862688
x-enum-varnames:
6267962689
- INSTALLED
6268062690
- AVAILABLE
@@ -62691,15 +62701,17 @@ components:
6269162701
cp_activation:
6269262702
$ref: "#/components/schemas/SecurityMonitoringContentPackActivation"
6269362703
filters_configured_for_logs:
62694-
description: Whether filters (Security Filters or Index Query depending on the pricing model) are configured for logs
62704+
description: |-
62705+
Whether filters (Security Filters or Index Query depending on the pricing model) are
62706+
present and correctly configured to route logs into Cloud SIEM.
6269562707
example: true
6269662708
type: boolean
6269762709
integration_installed_status:
6269862710
$ref: "#/components/schemas/SecurityMonitoringContentPackIntegrationStatus"
6269962711
logs_last_collected:
6270062712
$ref: "#/components/schemas/SecurityMonitoringContentPackTimestampBucket"
6270162713
logs_seen_from_any_index:
62702-
description: Whether logs have been seen from any index
62714+
description: Whether logs for this content pack have been seen in any Datadog index within the last 72 hours.
6270362715
example: true
6270462716
type: boolean
6270562717
state:
@@ -62764,7 +62776,7 @@ components:
6276462776
- meta
6276562777
type: object
6276662778
SecurityMonitoringContentPackStatus:
62767-
description: The current status of a content pack
62779+
description: The current operational status of a content pack.
6276862780
enum:
6276962781
- install
6277062782
- activate
@@ -62774,6 +62786,13 @@ components:
6277462786
- broken
6277562787
example: active
6277662788
type: string
62789+
x-enum-descriptions:
62790+
- Not activated; no logs detected in the last 72 hours.
62791+
- Not activated; logs are flowing into a Datadog index but not yet routed through Cloud SIEM.
62792+
- Activated; awaiting first log ingestion.
62793+
- Activated; logs received within the last 24 hours.
62794+
- Activated; integration not installed or logs last seen 24 to 72 hours ago.
62795+
- Activated; no logs for over 72 hours, filter missing, or Cloud SIEM index incorrectly ordered.
6277762796
x-enum-varnames:
6277862797
- INSTALL
6277962798
- ACTIVATE
@@ -62782,7 +62801,7 @@ components:
6278262801
- WARNING
6278362802
- BROKEN
6278462803
SecurityMonitoringContentPackTimestampBucket:
62785-
description: Timestamp bucket indicating when logs were last collected
62804+
description: Timestamp bucket indicating when logs were last collected.
6278662805
enum:
6278762806
- not_seen
6278862807
- within_24_hours
@@ -62791,6 +62810,12 @@ components:
6279162810
- over_30d
6279262811
example: within_24_hours
6279362812
type: string
62813+
x-enum-descriptions:
62814+
- No logs observed.
62815+
- Logs received within the last 24 hours.
62816+
- Logs last seen 24 to 72 hours ago.
62817+
- Logs last seen 3 to 30 days ago.
62818+
- Logs last seen more than 30 days ago.
6279462819
x-enum-varnames:
6279562820
- NOT_SEEN
6279662821
- WITHIN_24_HOURS
@@ -63881,7 +63906,7 @@ components:
6388163906
- $ref: "#/components/schemas/SecurityMonitoringSignalRulePayload"
6388263907
- $ref: "#/components/schemas/CloudConfigurationRulePayload"
6388363908
SecurityMonitoringSKU:
63884-
description: The SIEM pricing model (SKU) for the organization
63909+
description: The Cloud SIEM pricing model (SKU) for the organization.
6388563910
enum:
6388663911
- per_gb_analyzed
6388763912
- per_event_in_siem_index_2023
@@ -93388,6 +93413,7 @@ paths:
9338893413
- ap2.datadoghq.com
9338993414
- datadoghq.eu
9339093415
- ddog-gov.com
93416+
- us2.ddog-gov.com
9339193417
subdomain:
9339293418
default: event-management-intake
9339393419
description: The subdomain where the API is deployed.
@@ -102595,6 +102621,7 @@ paths:
102595102621
- ap2.datadoghq.com
102596102622
- datadoghq.eu
102597102623
- ddog-gov.com
102624+
- us2.ddog-gov.com
102598102625
subdomain:
102599102626
default: http-intake.logs
102600102627
description: The subdomain where the API is deployed.
@@ -118804,9 +118831,8 @@ paths:
118804118831
/api/v2/security_monitoring/content_packs/states:
118805118832
get:
118806118833
description: |-
118807-
Get the activation and configuration states for all security monitoring content packs.
118808-
This endpoint returns status information about each content pack including activation state,
118809-
integration status, and log collection status.
118834+
Get the activation state, integration status, and log collection status
118835+
for all Cloud SIEM content packs.
118810118836
operationId: GetContentPacksStates
118811118837
responses:
118812118838
"200":
@@ -118829,21 +118855,31 @@ paths:
118829118855
description: Not Found
118830118856
"429":
118831118857
$ref: "#/components/responses/TooManyRequestsResponse"
118858+
security:
118859+
- apiKeyAuth: []
118860+
appKeyAuth: []
118861+
- AuthZ:
118862+
- security_monitoring_filters_read
118832118863
summary: Get content pack states
118833118864
tags:
118834118865
- Security Monitoring
118866+
"x-permission":
118867+
operator: OR
118868+
permissions:
118869+
- security_monitoring_filters_read
118870+
- logs_read_index_data
118835118871
x-unstable: |-
118836118872
**Note**: This endpoint is in preview and is subject to change.
118837118873
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
118838118874
/api/v2/security_monitoring/content_packs/{content_pack_id}/activate:
118839118875
put:
118840118876
description: |-
118841-
Activate a security monitoring content pack. This operation configures the necessary
118877+
Activate a Cloud SIEM content pack. This operation configures the necessary
118842118878
log filters or security filters depending on the pricing model and updates the content
118843118879
pack activation state.
118844118880
operationId: ActivateContentPack
118845118881
parameters:
118846-
- description: The ID of the content pack to activate.
118882+
- description: The ID of the content pack to activate (for example, `aws-cloudtrail`).
118847118883
in: path
118848118884
name: content_pack_id
118849118885
required: true
@@ -118867,20 +118903,30 @@ paths:
118867118903
description: Not Found
118868118904
"429":
118869118905
$ref: "#/components/responses/TooManyRequestsResponse"
118906+
security:
118907+
- apiKeyAuth: []
118908+
appKeyAuth: []
118909+
- AuthZ:
118910+
- security_monitoring_filters_write
118870118911
summary: Activate content pack
118871118912
tags:
118872118913
- Security Monitoring
118914+
"x-permission":
118915+
operator: OR
118916+
permissions:
118917+
- security_monitoring_filters_write
118918+
- logs_modify_indexes
118873118919
x-unstable: |-
118874118920
**Note**: This endpoint is in preview and is subject to change.
118875118921
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
118876118922
/api/v2/security_monitoring/content_packs/{content_pack_id}/deactivate:
118877118923
put:
118878118924
description: |-
118879-
Deactivate a security monitoring content pack. This operation removes the content pack's
118925+
Deactivate a Cloud SIEM content pack. This operation removes the content pack's
118880118926
configuration from log filters or security filters and updates the content pack activation state.
118881118927
operationId: DeactivateContentPack
118882118928
parameters:
118883-
- description: The ID of the content pack to deactivate.
118929+
- description: The ID of the content pack to deactivate (for example, `aws-cloudtrail`).
118884118930
in: path
118885118931
name: content_pack_id
118886118932
required: true
@@ -118904,9 +118950,19 @@ paths:
118904118950
description: Not Found
118905118951
"429":
118906118952
$ref: "#/components/responses/TooManyRequestsResponse"
118953+
security:
118954+
- apiKeyAuth: []
118955+
appKeyAuth: []
118956+
- AuthZ:
118957+
- security_monitoring_filters_write
118907118958
summary: Deactivate content pack
118908118959
tags:
118909118960
- Security Monitoring
118961+
"x-permission":
118962+
operator: OR
118963+
permissions:
118964+
- security_monitoring_filters_write
118965+
- logs_modify_indexes
118910118966
x-unstable: |-
118911118967
**Note**: This endpoint is in preview and is subject to change.
118912118968
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
@@ -130088,6 +130144,7 @@ servers:
130088130144
- ap2.datadoghq.com
130089130145
- datadoghq.eu
130090130146
- ddog-gov.com
130147+
- us2.ddog-gov.com
130091130148
subdomain:
130092130149
default: api
130093130150
description: The subdomain where the API is deployed.

api/datadog/configuration.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ func NewConfiguration() *Configuration {
161161
"ap2.datadoghq.com",
162162
"datadoghq.eu",
163163
"ddog-gov.com",
164+
"us2.ddog-gov.com",
164165
},
165166
},
166167
"subdomain": {
@@ -215,6 +216,7 @@ func NewConfiguration() *Configuration {
215216
"ap2.datadoghq.com",
216217
"datadoghq.eu",
217218
"ddog-gov.com",
219+
"us2.ddog-gov.com",
218220
},
219221
},
220222
"subdomain": {
@@ -264,6 +266,7 @@ func NewConfiguration() *Configuration {
264266
"ap2.datadoghq.com",
265267
"datadoghq.eu",
266268
"ddog-gov.com",
269+
"us2.ddog-gov.com",
267270
},
268271
},
269272
"subdomain": {
@@ -317,6 +320,7 @@ func NewConfiguration() *Configuration {
317320
"ap2.datadoghq.com",
318321
"datadoghq.eu",
319322
"ddog-gov.com",
323+
"us2.ddog-gov.com",
320324
},
321325
},
322326
"subdomain": {
@@ -370,6 +374,7 @@ func NewConfiguration() *Configuration {
370374
"ap2.datadoghq.com",
371375
"datadoghq.eu",
372376
"ddog-gov.com",
377+
"us2.ddog-gov.com",
373378
},
374379
},
375380
"subdomain": {

api/datadogV2/api_security_monitoring.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
type SecurityMonitoringApi datadog.Service
2222

2323
// ActivateContentPack Activate content pack.
24-
// Activate a security monitoring content pack. This operation configures the necessary
24+
// Activate a Cloud SIEM content pack. This operation configures the necessary
2525
// log filters or security filters depending on the pricing model and updates the content
2626
// pack activation state.
2727
func (a *SecurityMonitoringApi) ActivateContentPack(ctx _context.Context, contentPackId string) (*_nethttp.Response, error) {
@@ -1844,7 +1844,7 @@ func (a *SecurityMonitoringApi) CreateVulnerabilityNotificationRule(ctx _context
18441844
}
18451845

18461846
// DeactivateContentPack Deactivate content pack.
1847-
// Deactivate a security monitoring content pack. This operation removes the content pack's
1847+
// Deactivate a Cloud SIEM content pack. This operation removes the content pack's
18481848
// configuration from log filters or security filters and updates the content pack activation state.
18491849
func (a *SecurityMonitoringApi) DeactivateContentPack(ctx _context.Context, contentPackId string) (*_nethttp.Response, error) {
18501850
var (
@@ -2989,9 +2989,8 @@ func (a *SecurityMonitoringApi) ExportSecurityMonitoringTerraformResource(ctx _c
29892989
}
29902990

29912991
// GetContentPacksStates Get content pack states.
2992-
// Get the activation and configuration states for all security monitoring content packs.
2993-
// This endpoint returns status information about each content pack including activation state,
2994-
// integration status, and log collection status.
2992+
// Get the activation state, integration status, and log collection status
2993+
// for all Cloud SIEM content packs.
29952994
func (a *SecurityMonitoringApi) GetContentPacksStates(ctx _context.Context) (SecurityMonitoringContentPackStatesResponse, *_nethttp.Response, error) {
29962995
var (
29972996
localVarHTTPMethod = _nethttp.MethodGet

api/datadogV2/model_security_monitoring_content_pack_activation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
1111
)
1212

13-
// SecurityMonitoringContentPackActivation The activation status of a content pack
13+
// SecurityMonitoringContentPackActivation The activation status of a content pack.
1414
type SecurityMonitoringContentPackActivation string
1515

1616
// List of SecurityMonitoringContentPackActivation.

api/datadogV2/model_security_monitoring_content_pack_integration_status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
1111
)
1212

13-
// SecurityMonitoringContentPackIntegrationStatus The installation status of the related integration
13+
// SecurityMonitoringContentPackIntegrationStatus The installation status of the related integration.
1414
type SecurityMonitoringContentPackIntegrationStatus string
1515

1616
// List of SecurityMonitoringContentPackIntegrationStatus.

api/datadogV2/model_security_monitoring_content_pack_state_attributes.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,18 @@ import (
1414
type SecurityMonitoringContentPackStateAttributes struct {
1515
// Whether the cloud SIEM index configuration is incorrect (only applies to certain pricing models)
1616
CloudSiemIndexIncorrect bool `json:"cloud_siem_index_incorrect"`
17-
// The activation status of a content pack
17+
// The activation status of a content pack.
1818
CpActivation SecurityMonitoringContentPackActivation `json:"cp_activation"`
19-
// Whether filters (Security Filters or Index Query depending on the pricing model) are configured for logs
19+
// Whether filters (Security Filters or Index Query depending on the pricing model) are
20+
// present and correctly configured to route logs into Cloud SIEM.
2021
FiltersConfiguredForLogs bool `json:"filters_configured_for_logs"`
21-
// The installation status of the related integration
22+
// The installation status of the related integration.
2223
IntegrationInstalledStatus *SecurityMonitoringContentPackIntegrationStatus `json:"integration_installed_status,omitempty"`
23-
// Timestamp bucket indicating when logs were last collected
24+
// Timestamp bucket indicating when logs were last collected.
2425
LogsLastCollected SecurityMonitoringContentPackTimestampBucket `json:"logs_last_collected"`
25-
// Whether logs have been seen from any index
26+
// Whether logs for this content pack have been seen in any Datadog index within the last 72 hours.
2627
LogsSeenFromAnyIndex bool `json:"logs_seen_from_any_index"`
27-
// The current status of a content pack
28+
// The current operational status of a content pack.
2829
State SecurityMonitoringContentPackStatus `json:"state"`
2930
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
3031
UnparsedObject map[string]interface{} `json:"-"`

api/datadogV2/model_security_monitoring_content_pack_state_meta.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
type SecurityMonitoringContentPackStateMeta struct {
1515
// Whether the cloud SIEM index configuration is incorrect at the organization level
1616
CloudSiemIndexIncorrect bool `json:"cloud_siem_index_incorrect"`
17-
// The SIEM pricing model (SKU) for the organization
17+
// The Cloud SIEM pricing model (SKU) for the organization.
1818
Sku SecurityMonitoringSKU `json:"sku"`
1919
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
2020
UnparsedObject map[string]interface{} `json:"-"`

api/datadogV2/model_security_monitoring_content_pack_status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
1111
)
1212

13-
// SecurityMonitoringContentPackStatus The current status of a content pack
13+
// SecurityMonitoringContentPackStatus The current operational status of a content pack.
1414
type SecurityMonitoringContentPackStatus string
1515

1616
// List of SecurityMonitoringContentPackStatus.

api/datadogV2/model_security_monitoring_content_pack_timestamp_bucket.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
1111
)
1212

13-
// SecurityMonitoringContentPackTimestampBucket Timestamp bucket indicating when logs were last collected
13+
// SecurityMonitoringContentPackTimestampBucket Timestamp bucket indicating when logs were last collected.
1414
type SecurityMonitoringContentPackTimestampBucket string
1515

1616
// List of SecurityMonitoringContentPackTimestampBucket.

0 commit comments

Comments
 (0)