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
389 changes: 319 additions & 70 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions api/datadogV2/api_security_monitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
type SecurityMonitoringApi datadog.Service

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

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

// GetContentPacksStates Get content pack states.
// Get the activation state, integration status, and log collection status
// for all Cloud SIEM content packs.
// Get the activation and configuration states for all security monitoring content packs.
// This endpoint returns status information about each content pack including activation state,
// integration status, and log collection status.
func (a *SecurityMonitoringApi) GetContentPacksStates(ctx _context.Context) (SecurityMonitoringContentPackStatesResponse, *_nethttp.Response, error) {
var (
localVarHTTPMethod = _nethttp.MethodGet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
)

// SecurityMonitoringContentPackActivation The activation status of a content pack.
// SecurityMonitoringContentPackActivation The activation status of a content pack
type SecurityMonitoringContentPackActivation string

// List of SecurityMonitoringContentPackActivation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
)

// SecurityMonitoringContentPackIntegrationStatus The installation status of the related integration.
// SecurityMonitoringContentPackIntegrationStatus The installation status of the related integration
type SecurityMonitoringContentPackIntegrationStatus string

// List of SecurityMonitoringContentPackIntegrationStatus.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,17 @@ import (
type SecurityMonitoringContentPackStateAttributes struct {
// Whether the cloud SIEM index configuration is incorrect (only applies to certain pricing models)
CloudSiemIndexIncorrect bool `json:"cloud_siem_index_incorrect"`
// The activation status of a content pack.
// The activation status of a content pack
CpActivation SecurityMonitoringContentPackActivation `json:"cp_activation"`
// Whether filters (Security Filters or Index Query depending on the pricing model) are
// present and correctly configured to route logs into Cloud SIEM.
// Whether filters (Security Filters or Index Query depending on the pricing model) are configured for logs
FiltersConfiguredForLogs bool `json:"filters_configured_for_logs"`
// The installation status of the related integration.
// The installation status of the related integration
IntegrationInstalledStatus *SecurityMonitoringContentPackIntegrationStatus `json:"integration_installed_status,omitempty"`
// Timestamp bucket indicating when logs were last collected.
// Timestamp bucket indicating when logs were last collected
LogsLastCollected SecurityMonitoringContentPackTimestampBucket `json:"logs_last_collected"`
// Whether logs for this content pack have been seen in any Datadog index within the last 72 hours.
// Whether logs have been seen from any index
LogsSeenFromAnyIndex bool `json:"logs_seen_from_any_index"`
// The current operational status of a content pack.
// The current status of a content pack
State SecurityMonitoringContentPackStatus `json:"state"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
type SecurityMonitoringContentPackStateMeta struct {
// Whether the cloud SIEM index configuration is incorrect at the organization level
CloudSiemIndexIncorrect bool `json:"cloud_siem_index_incorrect"`
// The Cloud SIEM pricing model (SKU) for the organization.
// The SIEM pricing model (SKU) for the organization
Sku SecurityMonitoringSKU `json:"sku"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
)

// SecurityMonitoringContentPackStatus The current operational status of a content pack.
// SecurityMonitoringContentPackStatus The current status of a content pack
type SecurityMonitoringContentPackStatus string

// List of SecurityMonitoringContentPackStatus.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
)

// SecurityMonitoringContentPackTimestampBucket Timestamp bucket indicating when logs were last collected.
// SecurityMonitoringContentPackTimestampBucket Timestamp bucket indicating when logs were last collected
type SecurityMonitoringContentPackTimestampBucket string

// List of SecurityMonitoringContentPackTimestampBucket.
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV2/model_security_monitoring_sku.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
)

// SecurityMonitoringSKU The Cloud SIEM pricing model (SKU) for the organization.
// SecurityMonitoringSKU The SIEM pricing model (SKU) for the organization
type SecurityMonitoringSKU string

// List of SecurityMonitoringSKU.
Expand Down
Loading