Skip to content

Commit e5420ae

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add missing request body examples for 15 operations [AAWF-1196] (#3981)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent f13fbac commit e5420ae

9 files changed

Lines changed: 336 additions & 87 deletions

.generator/schemas/v2/openapi.yaml

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

api/datadogV2/api_security_monitoring.go

Lines changed: 5 additions & 4 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 Cloud SIEM content pack. This operation configures the necessary
24+
// Activate a security monitoring 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 Cloud SIEM content pack. This operation removes the content pack's
1847+
// Deactivate a security monitoring 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,8 +2989,9 @@ func (a *SecurityMonitoringApi) ExportSecurityMonitoringTerraformResource(ctx _c
29892989
}
29902990

29912991
// GetContentPacksStates Get content pack states.
2992-
// Get the activation state, integration status, and log collection status
2993-
// for all Cloud SIEM content packs.
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.
29942995
func (a *SecurityMonitoringApi) GetContentPacksStates(ctx _context.Context) (SecurityMonitoringContentPackStatesResponse, *_nethttp.Response, error) {
29952996
var (
29962997
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: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,17 @@ 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
20-
// present and correctly configured to route logs into Cloud SIEM.
19+
// Whether filters (Security Filters or Index Query depending on the pricing model) are configured for logs
2120
FiltersConfiguredForLogs bool `json:"filters_configured_for_logs"`
22-
// The installation status of the related integration.
21+
// The installation status of the related integration
2322
IntegrationInstalledStatus *SecurityMonitoringContentPackIntegrationStatus `json:"integration_installed_status,omitempty"`
24-
// Timestamp bucket indicating when logs were last collected.
23+
// Timestamp bucket indicating when logs were last collected
2524
LogsLastCollected SecurityMonitoringContentPackTimestampBucket `json:"logs_last_collected"`
26-
// Whether logs for this content pack have been seen in any Datadog index within the last 72 hours.
25+
// Whether logs have been seen from any index
2726
LogsSeenFromAnyIndex bool `json:"logs_seen_from_any_index"`
28-
// The current operational status of a content pack.
27+
// The current status of a content pack
2928
State SecurityMonitoringContentPackStatus `json:"state"`
3029
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
3130
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 Cloud SIEM pricing model (SKU) for the organization.
17+
// The 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 operational status of a content pack.
13+
// SecurityMonitoringContentPackStatus The current 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.

api/datadogV2/model_security_monitoring_sku.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-
// SecurityMonitoringSKU The Cloud SIEM pricing model (SKU) for the organization.
13+
// SecurityMonitoringSKU The SIEM pricing model (SKU) for the organization
1414
type SecurityMonitoringSKU string
1515

1616
// List of SecurityMonitoringSKU.

0 commit comments

Comments
 (0)