From bfe63ad0e0ffa9d51fb1539ba8fab57ef96cb161 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 17 Jul 2026 13:51:54 +0000 Subject: [PATCH] Regenerate client from commit 32df318 of spec repo --- .generator/schemas/v2/openapi.yaml | 527 ++---------------- ...eateSecurityMonitoringIntegrationConfig.ts | 9 +- ...dateSecurityMonitoringIntegrationConfig.ts | 9 +- ...ecurityMonitoringIntegrationCredentials.ts | 9 +- features/v2/security_monitoring.feature | 14 +- packages/datadog-api-client-v2/index.ts | 25 - .../models/ObjectSerializer.ts | 103 +--- ...StrikeIntegrationConfigCreateAttributes.ts | 90 --- ...StrikeIntegrationConfigUpdateAttributes.ts | 95 ---- ...ntegrationCredentialsValidateAttributes.ts | 73 --- ...ntraIdIntegrationConfigCreateAttributes.ts | 80 --- ...ntraIdIntegrationConfigUpdateAttributes.ts | 86 --- ...ntegrationCredentialsValidateAttributes.ts | 63 --- ...kspaceIntegrationConfigCreateAttributes.ts | 90 --- ...kspaceIntegrationConfigUpdateAttributes.ts | 95 ---- ...ntegrationCredentialsValidateAttributes.ts | 73 --- ...toringIntegrationConfigCreateAttributes.ts | 91 ++- ...ringIntegrationConfigCrowdStrikeSecrets.ts | 62 --- ...IntegrationConfigGoogleWorkspaceSecrets.ts | 62 --- ...tionConfigGoogleWorkspaceServiceAccount.ts | 80 --- ...yMonitoringIntegrationConfigOktaSecrets.ts | 53 -- ...ringIntegrationConfigSentinelOneSecrets.ts | 53 -- ...toringIntegrationConfigUpdateAttributes.ts | 98 +++- ...tyMonitoringIntegrationConfigUpdateData.ts | 2 +- ...ntegrationCredentialsValidateAttributes.ts | 74 ++- .../SecurityMonitoringIntegrationType.ts | 4 - ...ityMonitoringIntegrationTypeCrowdStrike.ts | 16 - ...ecurityMonitoringIntegrationTypeEntraId.ts | 16 - ...onitoringIntegrationTypeGoogleWorkspace.ts | 16 - .../SecurityMonitoringIntegrationTypeOkta.ts | 16 - ...ityMonitoringIntegrationTypeSentinelOne.ts | 16 - ...ngOktaIntegrationConfigCreateAttributes.ts | 90 --- ...ngOktaIntegrationConfigUpdateAttributes.ts | 95 ---- ...ntegrationCredentialsValidateAttributes.ts | 73 --- ...nelOneIntegrationConfigCreateAttributes.ts | 90 --- ...nelOneIntegrationConfigUpdateAttributes.ts | 95 ---- ...ntegrationCredentialsValidateAttributes.ts | 73 --- 37 files changed, 305 insertions(+), 2311 deletions(-) delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringEntraIdIntegrationConfigCreateAttributes.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigCrowdStrikeSecrets.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigGoogleWorkspaceServiceAccount.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigOktaSecrets.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigSentinelOneSecrets.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeCrowdStrike.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeEntraId.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeGoogleWorkspace.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeOkta.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeSentinelOne.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringOktaIntegrationConfigCreateAttributes.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringOktaIntegrationConfigUpdateAttributes.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringOktaIntegrationCredentialsValidateAttributes.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes.ts delete mode 100644 packages/datadog-api-client-v2/models/SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes.ts diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index ed984a56d0ee..ee899f5065d7 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -88799,69 +88799,6 @@ components: $ref: "#/components/schemas/SecurityMonitoringCriticalAsset" type: array type: object - SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes: - description: The attributes of a CrowdStrike entity context sync configuration to create. - properties: - domain: - description: The domain associated with the external entity source. - example: api.crowdstrike.com - type: string - integration_type: - $ref: "#/components/schemas/SecurityMonitoringIntegrationTypeCrowdStrike" - name: - description: The display name for the entity context sync configuration. - example: My CrowdStrike Integration - type: string - secrets: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigCrowdStrikeSecrets" - settings: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigSettings" - required: - - integration_type - - domain - - name - - secrets - type: object - SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes: - description: Fields to update on a CrowdStrike entity context sync configuration. - properties: - domain: - description: The new domain associated with the external entity source. - example: api.crowdstrike.com - type: string - enabled: - description: Whether the entity context sync should be enabled. - example: true - type: boolean - integration_type: - $ref: "#/components/schemas/SecurityMonitoringIntegrationTypeCrowdStrike" - name: - description: The new display name for the entity context sync configuration. - example: My CrowdStrike Integration (renamed) - type: string - secrets: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigCrowdStrikeSecrets" - settings: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigSettings" - required: - - integration_type - type: object - SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes: - description: The CrowdStrike credentials to validate against the external entity source. - properties: - domain: - description: The domain associated with the external entity source. - example: api.crowdstrike.com - type: string - integration_type: - $ref: "#/components/schemas/SecurityMonitoringIntegrationTypeCrowdStrike" - secrets: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigCrowdStrikeSecrets" - required: - - integration_type - - domain - - secrets - type: object SecurityMonitoringDatasetAttributesRequest: description: The attributes of a dataset create or update request. properties: @@ -89420,61 +89357,6 @@ components: required: - data type: object - SecurityMonitoringEntraIdIntegrationConfigCreateAttributes: - description: The attributes of an Entra ID entity context sync configuration to create. - properties: - domain: - description: The domain associated with the external entity source. - example: siem-test.com - type: string - integration_type: - $ref: "#/components/schemas/SecurityMonitoringIntegrationTypeEntraId" - name: - description: The display name for the entity context sync configuration. - example: My Entra ID Integration - type: string - settings: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigSettings" - required: - - integration_type - - domain - - name - type: object - SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes: - description: Fields to update on an Entra ID entity context sync configuration. - properties: - domain: - description: The new domain associated with the external entity source. - example: siem-test.com - type: string - enabled: - description: Whether the entity context sync should be enabled. - example: true - type: boolean - integration_type: - $ref: "#/components/schemas/SecurityMonitoringIntegrationTypeEntraId" - name: - description: The new display name for the entity context sync configuration. - example: My Entra ID Integration (renamed) - type: string - settings: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigSettings" - required: - - integration_type - type: object - SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes: - description: The Entra ID credentials to validate against the external entity source. - properties: - domain: - description: The domain associated with the external entity source. - example: siem-test.com - type: string - integration_type: - $ref: "#/components/schemas/SecurityMonitoringIntegrationTypeEntraId" - required: - - integration_type - - domain - type: object SecurityMonitoringFilter: description: The rule's suppression filter. properties: @@ -89493,69 +89375,6 @@ components: x-enum-varnames: - REQUIRE - SUPPRESS - SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes: - description: The attributes of a Google Workspace entity context sync configuration to create. - properties: - domain: - description: The domain associated with the external entity source. - example: siem-test.com - type: string - integration_type: - $ref: "#/components/schemas/SecurityMonitoringIntegrationTypeGoogleWorkspace" - name: - description: The display name for the entity context sync configuration. - example: My GWS Integration - type: string - secrets: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets" - settings: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigSettings" - required: - - integration_type - - domain - - name - - secrets - type: object - SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes: - description: Fields to update on a Google Workspace entity context sync configuration. - properties: - domain: - description: The new domain associated with the external entity source. - example: siem-test.com - type: string - enabled: - description: Whether the entity context sync should be enabled. - example: true - type: boolean - integration_type: - $ref: "#/components/schemas/SecurityMonitoringIntegrationTypeGoogleWorkspace" - name: - description: The new display name for the entity context sync configuration. - example: My GWS Integration (renamed) - type: string - secrets: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets" - settings: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigSettings" - required: - - integration_type - type: object - SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes: - description: The Google Workspace credentials to validate against the external entity source. - properties: - domain: - description: The domain associated with the external entity source. - example: siem-test.com - type: string - integration_type: - $ref: "#/components/schemas/SecurityMonitoringIntegrationTypeGoogleWorkspace" - secrets: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets" - required: - - integration_type - - domain - - secrets - type: object SecurityMonitoringIntegrationActivateAttributes: description: Overrides applied when activating the integration. All fields are optional. properties: @@ -89631,20 +89450,26 @@ components: type: object SecurityMonitoringIntegrationConfigCreateAttributes: description: The attributes of the entity context sync configuration to create. - discriminator: - mapping: - CROWDSTRIKE: "#/components/schemas/SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes" - ENTRA_ID: "#/components/schemas/SecurityMonitoringEntraIdIntegrationConfigCreateAttributes" - GOOGLE_WORKSPACE: "#/components/schemas/SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes" - OKTA: "#/components/schemas/SecurityMonitoringOktaIntegrationConfigCreateAttributes" - SENTINELONE: "#/components/schemas/SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes" - propertyName: integration_type - oneOf: - - $ref: "#/components/schemas/SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes" - - $ref: "#/components/schemas/SecurityMonitoringOktaIntegrationConfigCreateAttributes" - - $ref: "#/components/schemas/SecurityMonitoringEntraIdIntegrationConfigCreateAttributes" - - $ref: "#/components/schemas/SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes" - - $ref: "#/components/schemas/SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes" + properties: + domain: + description: The domain associated with the external entity source. + example: siem-test.com + type: string + integration_type: + $ref: "#/components/schemas/SecurityMonitoringIntegrationType" + name: + description: The display name for the entity context sync configuration. + example: My GWS Integration + type: string + secrets: + $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigSecrets" + settings: + $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigSettings" + required: + - integration_type + - domain + - name + type: object SecurityMonitoringIntegrationConfigCreateData: description: The entity context sync configuration to create. properties: @@ -89664,21 +89489,6 @@ components: required: - data type: object - SecurityMonitoringIntegrationConfigCrowdStrikeSecrets: - description: Credentials for a CrowdStrike entity context sync. - properties: - client_id: - description: The CrowdStrike API client ID. - example: abcdef0123456789abcdef0123456789 - type: string - client_secret: - description: The CrowdStrike API client secret. - example: aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789ABCDEF - type: string - required: - - client_id - - client_secret - type: object SecurityMonitoringIntegrationConfigData: description: An entity context sync configuration. properties: @@ -89695,54 +89505,6 @@ components: - type - attributes type: object - SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets: - description: Credentials for a Google Workspace entity context sync. - properties: - admin_email: - description: The admin email to impersonate for domain-wide delegation. - example: admin@example.com - type: string - service_account_json: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigGoogleWorkspaceServiceAccount" - required: - - service_account_json - type: object - SecurityMonitoringIntegrationConfigGoogleWorkspaceServiceAccount: - additionalProperties: {} - description: The Google Cloud service account JSON used to authenticate against the Google Workspace Admin SDK. Additional keys beyond those documented are preserved. - properties: - client_email: - description: The service account client email. - example: svc@my-project.iam.gserviceaccount.com - type: string - private_key: - description: The service account private key. - example: "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----" - type: string - project_id: - description: The Google Cloud project ID that owns the service account. - example: my-project - type: string - type: - description: The service account type. Must be `service_account`. - example: service_account - type: string - required: - - type - - project_id - - private_key - - client_email - type: object - SecurityMonitoringIntegrationConfigOktaSecrets: - description: Credentials for an Okta entity context sync. - properties: - api_token: - description: The Okta API token used to authenticate against the Okta API. - example: 00aBcDeFgHiJkLmNoPqRsTuVwXyZ - type: string - required: - - api_token - type: object SecurityMonitoringIntegrationConfigResourceType: default: integration_config description: The type of the resource. The value should always be `integration_config`. @@ -89760,15 +89522,13 @@ components: required: - data type: object - SecurityMonitoringIntegrationConfigSentinelOneSecrets: - description: Credentials for a SentinelOne entity context sync. - properties: - api_token: - description: The SentinelOne API token. - example: aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789 - type: string - required: - - api_token + SecurityMonitoringIntegrationConfigSecrets: + additionalProperties: {} + description: |- + The secrets used to authenticate against the external entity source. The accepted keys depend on the source type + (for example, `admin_email` for Google Workspace). Not required for source types that do not use secrets (for example, `ENTRA_ID`). + example: + admin_email: test@example.com type: object SecurityMonitoringIntegrationConfigSettings: additionalProperties: {} @@ -89789,21 +89549,27 @@ components: - INVALID - INITIALIZING SecurityMonitoringIntegrationConfigUpdateAttributes: - description: Fields to update on the entity context sync configuration. All fields other than the integration type are optional. - discriminator: - mapping: - CROWDSTRIKE: "#/components/schemas/SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes" - ENTRA_ID: "#/components/schemas/SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes" - GOOGLE_WORKSPACE: "#/components/schemas/SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes" - OKTA: "#/components/schemas/SecurityMonitoringOktaIntegrationConfigUpdateAttributes" - SENTINELONE: "#/components/schemas/SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes" - propertyName: integration_type - oneOf: - - $ref: "#/components/schemas/SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes" - - $ref: "#/components/schemas/SecurityMonitoringOktaIntegrationConfigUpdateAttributes" - - $ref: "#/components/schemas/SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes" - - $ref: "#/components/schemas/SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes" - - $ref: "#/components/schemas/SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes" + description: Fields to update on the entity context sync configuration. All fields are optional. + properties: + domain: + description: The new domain associated with the external entity source. + example: siem-test.com + type: string + enabled: + description: Whether the entity context sync should be enabled. + example: true + type: boolean + integration_type: + $ref: "#/components/schemas/SecurityMonitoringIntegrationType" + name: + description: The new display name for the entity context sync configuration. + example: My GWS Integration (renamed) + type: string + secrets: + $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigSecrets" + settings: + $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigSettings" + type: object SecurityMonitoringIntegrationConfigUpdateData: description: The entity context sync configuration fields to update. properties: @@ -89836,20 +89602,19 @@ components: type: object SecurityMonitoringIntegrationCredentialsValidateAttributes: description: The credentials to validate against the external entity source. - discriminator: - mapping: - CROWDSTRIKE: "#/components/schemas/SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes" - ENTRA_ID: "#/components/schemas/SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes" - GOOGLE_WORKSPACE: "#/components/schemas/SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes" - OKTA: "#/components/schemas/SecurityMonitoringOktaIntegrationCredentialsValidateAttributes" - SENTINELONE: "#/components/schemas/SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes" - propertyName: integration_type - oneOf: - - $ref: "#/components/schemas/SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes" - - $ref: "#/components/schemas/SecurityMonitoringOktaIntegrationCredentialsValidateAttributes" - - $ref: "#/components/schemas/SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes" - - $ref: "#/components/schemas/SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes" - - $ref: "#/components/schemas/SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes" + properties: + domain: + description: The domain associated with the external entity source. + example: siem-test.com + type: string + integration_type: + $ref: "#/components/schemas/SecurityMonitoringIntegrationType" + secrets: + $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigSecrets" + required: + - integration_type + - domain + type: object SecurityMonitoringIntegrationCredentialsValidateData: description: The credentials to validate. properties: @@ -89875,56 +89640,12 @@ components: - GOOGLE_WORKSPACE - OKTA - ENTRA_ID - - CROWDSTRIKE - - SENTINELONE example: GOOGLE_WORKSPACE type: string x-enum-varnames: - GOOGLE_WORKSPACE - OKTA - ENTRA_ID - - CROWDSTRIKE - - SENTINELONE - SecurityMonitoringIntegrationTypeCrowdStrike: - description: The source type for a CrowdStrike entity context sync. - enum: - - CROWDSTRIKE - example: CROWDSTRIKE - type: string - x-enum-varnames: - - CROWDSTRIKE - SecurityMonitoringIntegrationTypeEntraId: - description: The source type for an Entra ID entity context sync. - enum: - - ENTRA_ID - example: ENTRA_ID - type: string - x-enum-varnames: - - ENTRA_ID - SecurityMonitoringIntegrationTypeGoogleWorkspace: - description: The source type for a Google Workspace entity context sync. - enum: - - GOOGLE_WORKSPACE - example: GOOGLE_WORKSPACE - type: string - x-enum-varnames: - - GOOGLE_WORKSPACE - SecurityMonitoringIntegrationTypeOkta: - description: The source type for an Okta entity context sync. - enum: - - OKTA - example: OKTA - type: string - x-enum-varnames: - - OKTA - SecurityMonitoringIntegrationTypeSentinelOne: - description: The source type for a SentinelOne entity context sync. - enum: - - SENTINELONE - example: SENTINELONE - type: string - x-enum-varnames: - - SENTINELONE SecurityMonitoringListRulesResponse: description: List of rules. properties: @@ -89936,69 +89657,6 @@ components: meta: $ref: "#/components/schemas/ResponseMetaAttributes" type: object - SecurityMonitoringOktaIntegrationConfigCreateAttributes: - description: The attributes of an Okta entity context sync configuration to create. - properties: - domain: - description: The domain associated with the external entity source. - example: siem-test.com - type: string - integration_type: - $ref: "#/components/schemas/SecurityMonitoringIntegrationTypeOkta" - name: - description: The display name for the entity context sync configuration. - example: My Okta Integration - type: string - secrets: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigOktaSecrets" - settings: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigSettings" - required: - - integration_type - - domain - - name - - secrets - type: object - SecurityMonitoringOktaIntegrationConfigUpdateAttributes: - description: Fields to update on an Okta entity context sync configuration. - properties: - domain: - description: The new domain associated with the external entity source. - example: siem-test.com - type: string - enabled: - description: Whether the entity context sync should be enabled. - example: true - type: boolean - integration_type: - $ref: "#/components/schemas/SecurityMonitoringIntegrationTypeOkta" - name: - description: The new display name for the entity context sync configuration. - example: My Okta Integration (renamed) - type: string - secrets: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigOktaSecrets" - settings: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigSettings" - required: - - integration_type - type: object - SecurityMonitoringOktaIntegrationCredentialsValidateAttributes: - description: The Okta credentials to validate against the external entity source. - properties: - domain: - description: The domain associated with the external entity source. - example: siem-test.com - type: string - integration_type: - $ref: "#/components/schemas/SecurityMonitoringIntegrationTypeOkta" - secrets: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigOktaSecrets" - required: - - integration_type - - domain - - secrets - type: object SecurityMonitoringPaginatedSuppressionsResponse: description: Response object containing the available suppression rules with pagination metadata. properties: @@ -90959,69 +90617,6 @@ components: example: America/New_York type: string type: object - SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes: - description: The attributes of a SentinelOne entity context sync configuration to create. - properties: - domain: - description: The domain associated with the external entity source. - example: acme.sentinelone.net - type: string - integration_type: - $ref: "#/components/schemas/SecurityMonitoringIntegrationTypeSentinelOne" - name: - description: The display name for the entity context sync configuration. - example: My SentinelOne Integration - type: string - secrets: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigSentinelOneSecrets" - settings: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigSettings" - required: - - integration_type - - domain - - name - - secrets - type: object - SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes: - description: Fields to update on a SentinelOne entity context sync configuration. - properties: - domain: - description: The new domain associated with the external entity source. - example: acme.sentinelone.net - type: string - enabled: - description: Whether the entity context sync should be enabled. - example: true - type: boolean - integration_type: - $ref: "#/components/schemas/SecurityMonitoringIntegrationTypeSentinelOne" - name: - description: The new display name for the entity context sync configuration. - example: My SentinelOne Integration (renamed) - type: string - secrets: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigSentinelOneSecrets" - settings: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigSettings" - required: - - integration_type - type: object - SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes: - description: The SentinelOne credentials to validate against the external entity source. - properties: - domain: - description: The domain associated with the external entity source. - example: acme.sentinelone.net - type: string - integration_type: - $ref: "#/components/schemas/SecurityMonitoringIntegrationTypeSentinelOne" - secrets: - $ref: "#/components/schemas/SecurityMonitoringIntegrationConfigSentinelOneSecrets" - required: - - integration_type - - domain - - secrets - type: object SecurityMonitoringSignal: description: Object description of a security signal. properties: diff --git a/examples/v2/security-monitoring/CreateSecurityMonitoringIntegrationConfig.ts b/examples/v2/security-monitoring/CreateSecurityMonitoringIntegrationConfig.ts index 0578d67d269f..26feb1f9f99c 100644 --- a/examples/v2/security-monitoring/CreateSecurityMonitoringIntegrationConfig.ts +++ b/examples/v2/security-monitoring/CreateSecurityMonitoringIntegrationConfig.ts @@ -19,14 +19,7 @@ const params: v2.SecurityMonitoringApiCreateSecurityMonitoringIntegrationConfigR integrationType: "GOOGLE_WORKSPACE", name: "My GWS Integration", secrets: { - adminEmail: "admin@example.com", - serviceAccountJson: { - clientEmail: "svc@my-project.iam.gserviceaccount.com", - privateKey: - "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", - projectId: "my-project", - type: "service_account", - }, + admin_email: "test@example.com", }, settings: { setting1: "value1", diff --git a/examples/v2/security-monitoring/UpdateSecurityMonitoringIntegrationConfig.ts b/examples/v2/security-monitoring/UpdateSecurityMonitoringIntegrationConfig.ts index c1f97560d517..98c135fd4f4f 100644 --- a/examples/v2/security-monitoring/UpdateSecurityMonitoringIntegrationConfig.ts +++ b/examples/v2/security-monitoring/UpdateSecurityMonitoringIntegrationConfig.ts @@ -20,14 +20,7 @@ const params: v2.SecurityMonitoringApiUpdateSecurityMonitoringIntegrationConfigR integrationType: "GOOGLE_WORKSPACE", name: "My GWS Integration (renamed)", secrets: { - adminEmail: "admin@example.com", - serviceAccountJson: { - clientEmail: "svc@my-project.iam.gserviceaccount.com", - privateKey: - "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", - projectId: "my-project", - type: "service_account", - }, + admin_email: "test@example.com", }, settings: { setting1: "value1", diff --git a/examples/v2/security-monitoring/ValidateSecurityMonitoringIntegrationCredentials.ts b/examples/v2/security-monitoring/ValidateSecurityMonitoringIntegrationCredentials.ts index aed584438160..8ccbb2c4203d 100644 --- a/examples/v2/security-monitoring/ValidateSecurityMonitoringIntegrationCredentials.ts +++ b/examples/v2/security-monitoring/ValidateSecurityMonitoringIntegrationCredentials.ts @@ -18,14 +18,7 @@ const params: v2.SecurityMonitoringApiValidateSecurityMonitoringIntegrationCrede domain: "siem-test.com", integrationType: "GOOGLE_WORKSPACE", secrets: { - adminEmail: "admin@example.com", - serviceAccountJson: { - clientEmail: "svc@my-project.iam.gserviceaccount.com", - privateKey: - "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", - projectId: "my-project", - type: "service_account", - }, + admin_email: "test@example.com", }, }, type: "integration_config", diff --git a/features/v2/security_monitoring.feature b/features/v2/security_monitoring.feature index c713293f4632..d81e8c9f2d3e 100644 --- a/features/v2/security_monitoring.feature +++ b/features/v2/security_monitoring.feature @@ -1024,7 +1024,7 @@ Feature: Security Monitoring Scenario: Create an entity context sync configuration returns "Bad Request" response Given operation "CreateSecurityMonitoringIntegrationConfig" enabled And new "CreateSecurityMonitoringIntegrationConfig" request - And body with value {"data": {"attributes": {"domain": "siem-test.com", "integration_type": "GOOGLE_WORKSPACE", "name": "My GWS Integration", "secrets": {"admin_email": "admin@example.com", "service_account_json": {"client_email": "svc@my-project.iam.gserviceaccount.com", "private_key": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", "project_id": "my-project", "type": "service_account"}}, "settings": {"setting1": "value1"}}, "type": "integration_config"}} + And body with value {"data": {"attributes": {"domain": "siem-test.com", "integration_type": "GOOGLE_WORKSPACE", "name": "My GWS Integration", "secrets": {"admin_email": "test@example.com"}, "settings": {"setting1": "value1"}}, "type": "integration_config"}} When the request is sent Then the response status is 400 Bad Request @@ -1032,7 +1032,7 @@ Feature: Security Monitoring Scenario: Create an entity context sync configuration returns "OK" response Given operation "CreateSecurityMonitoringIntegrationConfig" enabled And new "CreateSecurityMonitoringIntegrationConfig" request - And body with value {"data": {"attributes": {"domain": "siem-test.com", "integration_type": "GOOGLE_WORKSPACE", "name": "My GWS Integration", "secrets": {"admin_email": "admin@example.com", "service_account_json": {"client_email": "svc@my-project.iam.gserviceaccount.com", "private_key": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", "project_id": "my-project", "type": "service_account"}}, "settings": {"setting1": "value1"}}, "type": "integration_config"}} + And body with value {"data": {"attributes": {"domain": "siem-test.com", "integration_type": "GOOGLE_WORKSPACE", "name": "My GWS Integration", "secrets": {"admin_email": "test@example.com"}, "settings": {"setting1": "value1"}}, "type": "integration_config"}} When the request is sent Then the response status is 200 OK @@ -3476,7 +3476,7 @@ Feature: Security Monitoring Given operation "UpdateSecurityMonitoringIntegrationConfig" enabled And new "UpdateSecurityMonitoringIntegrationConfig" request And request contains "integration_config_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"domain": "siem-test.com", "enabled": true, "integration_type": "GOOGLE_WORKSPACE", "name": "My GWS Integration (renamed)", "secrets": {"admin_email": "admin@example.com", "service_account_json": {"client_email": "svc@my-project.iam.gserviceaccount.com", "private_key": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", "project_id": "my-project", "type": "service_account"}}, "settings": {"setting1": "value1"}}, "type": "integration_config"}} + And body with value {"data": {"attributes": {"domain": "siem-test.com", "enabled": true, "integration_type": "GOOGLE_WORKSPACE", "name": "My GWS Integration (renamed)", "secrets": {"admin_email": "test@example.com"}, "settings": {"setting1": "value1"}}, "type": "integration_config"}} When the request is sent Then the response status is 400 Bad Request @@ -3485,7 +3485,7 @@ Feature: Security Monitoring Given operation "UpdateSecurityMonitoringIntegrationConfig" enabled And new "UpdateSecurityMonitoringIntegrationConfig" request And request contains "integration_config_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"domain": "siem-test.com", "enabled": true, "integration_type": "GOOGLE_WORKSPACE", "name": "My GWS Integration (renamed)", "secrets": {"admin_email": "admin@example.com", "service_account_json": {"client_email": "svc@my-project.iam.gserviceaccount.com", "private_key": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", "project_id": "my-project", "type": "service_account"}}, "settings": {"setting1": "value1"}}, "type": "integration_config"}} + And body with value {"data": {"attributes": {"domain": "siem-test.com", "enabled": true, "integration_type": "GOOGLE_WORKSPACE", "name": "My GWS Integration (renamed)", "secrets": {"admin_email": "test@example.com"}, "settings": {"setting1": "value1"}}, "type": "integration_config"}} When the request is sent Then the response status is 404 Not Found @@ -3494,7 +3494,7 @@ Feature: Security Monitoring Given operation "UpdateSecurityMonitoringIntegrationConfig" enabled And new "UpdateSecurityMonitoringIntegrationConfig" request And request contains "integration_config_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"domain": "siem-test.com", "enabled": true, "integration_type": "GOOGLE_WORKSPACE", "name": "My GWS Integration (renamed)", "secrets": {"admin_email": "admin@example.com", "service_account_json": {"client_email": "svc@my-project.iam.gserviceaccount.com", "private_key": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", "project_id": "my-project", "type": "service_account"}}, "settings": {"setting1": "value1"}}, "type": "integration_config"}} + And body with value {"data": {"attributes": {"domain": "siem-test.com", "enabled": true, "integration_type": "GOOGLE_WORKSPACE", "name": "My GWS Integration (renamed)", "secrets": {"admin_email": "test@example.com"}, "settings": {"setting1": "value1"}}, "type": "integration_config"}} When the request is sent Then the response status is 200 OK @@ -3634,7 +3634,7 @@ Feature: Security Monitoring Scenario: Validate entity context sync credentials returns "Bad Request" response Given operation "ValidateSecurityMonitoringIntegrationCredentials" enabled And new "ValidateSecurityMonitoringIntegrationCredentials" request - And body with value {"data": {"attributes": {"domain": "siem-test.com", "integration_type": "GOOGLE_WORKSPACE", "secrets": {"admin_email": "admin@example.com", "service_account_json": {"client_email": "svc@my-project.iam.gserviceaccount.com", "private_key": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", "project_id": "my-project", "type": "service_account"}}}, "type": "integration_config"}} + And body with value {"data": {"attributes": {"domain": "siem-test.com", "integration_type": "GOOGLE_WORKSPACE", "secrets": {"admin_email": "test@example.com"}}, "type": "integration_config"}} When the request is sent Then the response status is 400 Bad Request @@ -3642,6 +3642,6 @@ Feature: Security Monitoring Scenario: Validate entity context sync credentials returns "OK" response Given operation "ValidateSecurityMonitoringIntegrationCredentials" enabled And new "ValidateSecurityMonitoringIntegrationCredentials" request - And body with value {"data": {"attributes": {"domain": "siem-test.com", "integration_type": "GOOGLE_WORKSPACE", "secrets": {"admin_email": "admin@example.com", "service_account_json": {"client_email": "svc@my-project.iam.gserviceaccount.com", "private_key": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", "project_id": "my-project", "type": "service_account"}}}, "type": "integration_config"}} + And body with value {"data": {"attributes": {"domain": "siem-test.com", "integration_type": "GOOGLE_WORKSPACE", "secrets": {"admin_email": "test@example.com"}}, "type": "integration_config"}} When the request is sent Then the response status is 200 OK diff --git a/packages/datadog-api-client-v2/index.ts b/packages/datadog-api-client-v2/index.ts index 6364ae4d03f6..3f5f3d3311ec 100644 --- a/packages/datadog-api-client-v2/index.ts +++ b/packages/datadog-api-client-v2/index.ts @@ -7214,9 +7214,6 @@ export { SecurityMonitoringCriticalAssetType } from "./models/SecurityMonitoring export { SecurityMonitoringCriticalAssetUpdateAttributes } from "./models/SecurityMonitoringCriticalAssetUpdateAttributes"; export { SecurityMonitoringCriticalAssetUpdateData } from "./models/SecurityMonitoringCriticalAssetUpdateData"; export { SecurityMonitoringCriticalAssetUpdateRequest } from "./models/SecurityMonitoringCriticalAssetUpdateRequest"; -export { SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes } from "./models/SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes"; -export { SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes } from "./models/SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes"; -export { SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes } from "./models/SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes"; export { SecurityMonitoringDatasetAttributesRequest } from "./models/SecurityMonitoringDatasetAttributesRequest"; export { SecurityMonitoringDatasetAttributesResponse } from "./models/SecurityMonitoringDatasetAttributesResponse"; export { SecurityMonitoringDatasetColumn } from "./models/SecurityMonitoringDatasetColumn"; @@ -7253,14 +7250,8 @@ export { SecurityMonitoringEntraIdAzureAppRegistrationsAttributes } from "./mode export { SecurityMonitoringEntraIdAzureAppRegistrationsData } from "./models/SecurityMonitoringEntraIdAzureAppRegistrationsData"; export { SecurityMonitoringEntraIdAzureAppRegistrationsResourceType } from "./models/SecurityMonitoringEntraIdAzureAppRegistrationsResourceType"; export { SecurityMonitoringEntraIdAzureAppRegistrationsResponse } from "./models/SecurityMonitoringEntraIdAzureAppRegistrationsResponse"; -export { SecurityMonitoringEntraIdIntegrationConfigCreateAttributes } from "./models/SecurityMonitoringEntraIdIntegrationConfigCreateAttributes"; -export { SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes } from "./models/SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes"; -export { SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes } from "./models/SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes"; export { SecurityMonitoringFilter } from "./models/SecurityMonitoringFilter"; export { SecurityMonitoringFilterAction } from "./models/SecurityMonitoringFilterAction"; -export { SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes } from "./models/SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes"; -export { SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes } from "./models/SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes"; -export { SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes } from "./models/SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes"; export { SecurityMonitoringIntegrationActivateAttributes } from "./models/SecurityMonitoringIntegrationActivateAttributes"; export { SecurityMonitoringIntegrationActivateData } from "./models/SecurityMonitoringIntegrationActivateData"; export { SecurityMonitoringIntegrationActivateRequest } from "./models/SecurityMonitoringIntegrationActivateRequest"; @@ -7269,14 +7260,9 @@ export { SecurityMonitoringIntegrationConfigAttributes } from "./models/Security export { SecurityMonitoringIntegrationConfigCreateAttributes } from "./models/SecurityMonitoringIntegrationConfigCreateAttributes"; export { SecurityMonitoringIntegrationConfigCreateData } from "./models/SecurityMonitoringIntegrationConfigCreateData"; export { SecurityMonitoringIntegrationConfigCreateRequest } from "./models/SecurityMonitoringIntegrationConfigCreateRequest"; -export { SecurityMonitoringIntegrationConfigCrowdStrikeSecrets } from "./models/SecurityMonitoringIntegrationConfigCrowdStrikeSecrets"; export { SecurityMonitoringIntegrationConfigData } from "./models/SecurityMonitoringIntegrationConfigData"; -export { SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets } from "./models/SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets"; -export { SecurityMonitoringIntegrationConfigGoogleWorkspaceServiceAccount } from "./models/SecurityMonitoringIntegrationConfigGoogleWorkspaceServiceAccount"; -export { SecurityMonitoringIntegrationConfigOktaSecrets } from "./models/SecurityMonitoringIntegrationConfigOktaSecrets"; export { SecurityMonitoringIntegrationConfigResourceType } from "./models/SecurityMonitoringIntegrationConfigResourceType"; export { SecurityMonitoringIntegrationConfigResponse } from "./models/SecurityMonitoringIntegrationConfigResponse"; -export { SecurityMonitoringIntegrationConfigSentinelOneSecrets } from "./models/SecurityMonitoringIntegrationConfigSentinelOneSecrets"; export { SecurityMonitoringIntegrationConfigsResponse } from "./models/SecurityMonitoringIntegrationConfigsResponse"; export { SecurityMonitoringIntegrationConfigState } from "./models/SecurityMonitoringIntegrationConfigState"; export { SecurityMonitoringIntegrationConfigUpdateAttributes } from "./models/SecurityMonitoringIntegrationConfigUpdateAttributes"; @@ -7286,15 +7272,7 @@ export { SecurityMonitoringIntegrationCredentialsValidateAttributes } from "./mo export { SecurityMonitoringIntegrationCredentialsValidateData } from "./models/SecurityMonitoringIntegrationCredentialsValidateData"; export { SecurityMonitoringIntegrationCredentialsValidateRequest } from "./models/SecurityMonitoringIntegrationCredentialsValidateRequest"; export { SecurityMonitoringIntegrationType } from "./models/SecurityMonitoringIntegrationType"; -export { SecurityMonitoringIntegrationTypeCrowdStrike } from "./models/SecurityMonitoringIntegrationTypeCrowdStrike"; -export { SecurityMonitoringIntegrationTypeEntraId } from "./models/SecurityMonitoringIntegrationTypeEntraId"; -export { SecurityMonitoringIntegrationTypeGoogleWorkspace } from "./models/SecurityMonitoringIntegrationTypeGoogleWorkspace"; -export { SecurityMonitoringIntegrationTypeOkta } from "./models/SecurityMonitoringIntegrationTypeOkta"; -export { SecurityMonitoringIntegrationTypeSentinelOne } from "./models/SecurityMonitoringIntegrationTypeSentinelOne"; export { SecurityMonitoringListRulesResponse } from "./models/SecurityMonitoringListRulesResponse"; -export { SecurityMonitoringOktaIntegrationConfigCreateAttributes } from "./models/SecurityMonitoringOktaIntegrationConfigCreateAttributes"; -export { SecurityMonitoringOktaIntegrationConfigUpdateAttributes } from "./models/SecurityMonitoringOktaIntegrationConfigUpdateAttributes"; -export { SecurityMonitoringOktaIntegrationCredentialsValidateAttributes } from "./models/SecurityMonitoringOktaIntegrationCredentialsValidateAttributes"; export { SecurityMonitoringPaginatedSuppressionsResponse } from "./models/SecurityMonitoringPaginatedSuppressionsResponse"; export { SecurityMonitoringReferenceTable } from "./models/SecurityMonitoringReferenceTable"; export { SecurityMonitoringRuleAnomalyDetectionOptions } from "./models/SecurityMonitoringRuleAnomalyDetectionOptions"; @@ -7353,9 +7331,6 @@ export { SecurityMonitoringRuleTypeTest } from "./models/SecurityMonitoringRuleT export { SecurityMonitoringRuleUpdatePayload } from "./models/SecurityMonitoringRuleUpdatePayload"; export { SecurityMonitoringRuleValidatePayload } from "./models/SecurityMonitoringRuleValidatePayload"; export { SecurityMonitoringSchedulingOptions } from "./models/SecurityMonitoringSchedulingOptions"; -export { SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes } from "./models/SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes"; -export { SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes } from "./models/SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes"; -export { SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes } from "./models/SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes"; export { SecurityMonitoringSignal } from "./models/SecurityMonitoringSignal"; export { SecurityMonitoringSignalArchiveReason } from "./models/SecurityMonitoringSignalArchiveReason"; export { SecurityMonitoringSignalAssigneeUpdateAttributes } from "./models/SecurityMonitoringSignalAssigneeUpdateAttributes"; diff --git a/packages/datadog-api-client-v2/models/ObjectSerializer.ts b/packages/datadog-api-client-v2/models/ObjectSerializer.ts index 5f4990408a85..187a89abed54 100644 --- a/packages/datadog-api-client-v2/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v2/models/ObjectSerializer.ts @@ -4137,9 +4137,6 @@ import { SecurityMonitoringCriticalAssetUpdateAttributes } from "./SecurityMonit import { SecurityMonitoringCriticalAssetUpdateData } from "./SecurityMonitoringCriticalAssetUpdateData"; import { SecurityMonitoringCriticalAssetUpdateRequest } from "./SecurityMonitoringCriticalAssetUpdateRequest"; import { SecurityMonitoringCriticalAssetsResponse } from "./SecurityMonitoringCriticalAssetsResponse"; -import { SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes } from "./SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes"; -import { SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes } from "./SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes"; -import { SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes } from "./SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes"; import { SecurityMonitoringDatasetAttributesRequest } from "./SecurityMonitoringDatasetAttributesRequest"; import { SecurityMonitoringDatasetAttributesResponse } from "./SecurityMonitoringDatasetAttributesResponse"; import { SecurityMonitoringDatasetColumn } from "./SecurityMonitoringDatasetColumn"; @@ -4170,35 +4167,24 @@ import { SecurityMonitoringDatasetsListResponse } from "./SecurityMonitoringData import { SecurityMonitoringEntraIdAzureAppRegistrationsAttributes } from "./SecurityMonitoringEntraIdAzureAppRegistrationsAttributes"; import { SecurityMonitoringEntraIdAzureAppRegistrationsData } from "./SecurityMonitoringEntraIdAzureAppRegistrationsData"; import { SecurityMonitoringEntraIdAzureAppRegistrationsResponse } from "./SecurityMonitoringEntraIdAzureAppRegistrationsResponse"; -import { SecurityMonitoringEntraIdIntegrationConfigCreateAttributes } from "./SecurityMonitoringEntraIdIntegrationConfigCreateAttributes"; -import { SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes } from "./SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes"; -import { SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes } from "./SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes"; import { SecurityMonitoringFilter } from "./SecurityMonitoringFilter"; -import { SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes } from "./SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes"; -import { SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes } from "./SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes"; -import { SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes } from "./SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes"; import { SecurityMonitoringIntegrationActivateAttributes } from "./SecurityMonitoringIntegrationActivateAttributes"; import { SecurityMonitoringIntegrationActivateData } from "./SecurityMonitoringIntegrationActivateData"; import { SecurityMonitoringIntegrationActivateRequest } from "./SecurityMonitoringIntegrationActivateRequest"; import { SecurityMonitoringIntegrationConfigAttributes } from "./SecurityMonitoringIntegrationConfigAttributes"; +import { SecurityMonitoringIntegrationConfigCreateAttributes } from "./SecurityMonitoringIntegrationConfigCreateAttributes"; import { SecurityMonitoringIntegrationConfigCreateData } from "./SecurityMonitoringIntegrationConfigCreateData"; import { SecurityMonitoringIntegrationConfigCreateRequest } from "./SecurityMonitoringIntegrationConfigCreateRequest"; -import { SecurityMonitoringIntegrationConfigCrowdStrikeSecrets } from "./SecurityMonitoringIntegrationConfigCrowdStrikeSecrets"; import { SecurityMonitoringIntegrationConfigData } from "./SecurityMonitoringIntegrationConfigData"; -import { SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets } from "./SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets"; -import { SecurityMonitoringIntegrationConfigGoogleWorkspaceServiceAccount } from "./SecurityMonitoringIntegrationConfigGoogleWorkspaceServiceAccount"; -import { SecurityMonitoringIntegrationConfigOktaSecrets } from "./SecurityMonitoringIntegrationConfigOktaSecrets"; import { SecurityMonitoringIntegrationConfigResponse } from "./SecurityMonitoringIntegrationConfigResponse"; -import { SecurityMonitoringIntegrationConfigSentinelOneSecrets } from "./SecurityMonitoringIntegrationConfigSentinelOneSecrets"; +import { SecurityMonitoringIntegrationConfigUpdateAttributes } from "./SecurityMonitoringIntegrationConfigUpdateAttributes"; import { SecurityMonitoringIntegrationConfigUpdateData } from "./SecurityMonitoringIntegrationConfigUpdateData"; import { SecurityMonitoringIntegrationConfigUpdateRequest } from "./SecurityMonitoringIntegrationConfigUpdateRequest"; import { SecurityMonitoringIntegrationConfigsResponse } from "./SecurityMonitoringIntegrationConfigsResponse"; +import { SecurityMonitoringIntegrationCredentialsValidateAttributes } from "./SecurityMonitoringIntegrationCredentialsValidateAttributes"; import { SecurityMonitoringIntegrationCredentialsValidateData } from "./SecurityMonitoringIntegrationCredentialsValidateData"; import { SecurityMonitoringIntegrationCredentialsValidateRequest } from "./SecurityMonitoringIntegrationCredentialsValidateRequest"; import { SecurityMonitoringListRulesResponse } from "./SecurityMonitoringListRulesResponse"; -import { SecurityMonitoringOktaIntegrationConfigCreateAttributes } from "./SecurityMonitoringOktaIntegrationConfigCreateAttributes"; -import { SecurityMonitoringOktaIntegrationConfigUpdateAttributes } from "./SecurityMonitoringOktaIntegrationConfigUpdateAttributes"; -import { SecurityMonitoringOktaIntegrationCredentialsValidateAttributes } from "./SecurityMonitoringOktaIntegrationCredentialsValidateAttributes"; import { SecurityMonitoringPaginatedSuppressionsResponse } from "./SecurityMonitoringPaginatedSuppressionsResponse"; import { SecurityMonitoringReferenceTable } from "./SecurityMonitoringReferenceTable"; import { SecurityMonitoringRuleAnomalyDetectionOptions } from "./SecurityMonitoringRuleAnomalyDetectionOptions"; @@ -4230,9 +4216,6 @@ import { SecurityMonitoringRuleTestResponse } from "./SecurityMonitoringRuleTest import { SecurityMonitoringRuleThirdPartyOptions } from "./SecurityMonitoringRuleThirdPartyOptions"; import { SecurityMonitoringRuleUpdatePayload } from "./SecurityMonitoringRuleUpdatePayload"; import { SecurityMonitoringSchedulingOptions } from "./SecurityMonitoringSchedulingOptions"; -import { SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes } from "./SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes"; -import { SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes } from "./SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes"; -import { SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes } from "./SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes"; import { SecurityMonitoringSignal } from "./SecurityMonitoringSignal"; import { SecurityMonitoringSignalAssigneeUpdateAttributes } from "./SecurityMonitoringSignalAssigneeUpdateAttributes"; import { SecurityMonitoringSignalAssigneeUpdateData } from "./SecurityMonitoringSignalAssigneeUpdateData"; @@ -7607,18 +7590,7 @@ const enumsMap: { [key: string]: any[] } = { "invalid", "initializing", ], - SecurityMonitoringIntegrationType: [ - "GOOGLE_WORKSPACE", - "OKTA", - "ENTRA_ID", - "CROWDSTRIKE", - "SENTINELONE", - ], - SecurityMonitoringIntegrationTypeCrowdStrike: ["CROWDSTRIKE"], - SecurityMonitoringIntegrationTypeEntraId: ["ENTRA_ID"], - SecurityMonitoringIntegrationTypeGoogleWorkspace: ["GOOGLE_WORKSPACE"], - SecurityMonitoringIntegrationTypeOkta: ["OKTA"], - SecurityMonitoringIntegrationTypeSentinelOne: ["SENTINELONE"], + SecurityMonitoringIntegrationType: ["GOOGLE_WORKSPACE", "OKTA", "ENTRA_ID"], SecurityMonitoringRuleAnomalyDetectionOptionsBucketDuration: [ 300, 600, 900, 1800, 3600, 10800, ], @@ -13230,12 +13202,6 @@ const typeMap: { [index: string]: any } = { SecurityMonitoringCriticalAssetUpdateRequest, SecurityMonitoringCriticalAssetsResponse: SecurityMonitoringCriticalAssetsResponse, - SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes: - SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes, - SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes: - SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes, - SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes: - SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes, SecurityMonitoringDatasetAttributesRequest: SecurityMonitoringDatasetAttributesRequest, SecurityMonitoringDatasetAttributesResponse: @@ -13286,19 +13252,7 @@ const typeMap: { [index: string]: any } = { SecurityMonitoringEntraIdAzureAppRegistrationsData, SecurityMonitoringEntraIdAzureAppRegistrationsResponse: SecurityMonitoringEntraIdAzureAppRegistrationsResponse, - SecurityMonitoringEntraIdIntegrationConfigCreateAttributes: - SecurityMonitoringEntraIdIntegrationConfigCreateAttributes, - SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes: - SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes, - SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes: - SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes, SecurityMonitoringFilter: SecurityMonitoringFilter, - SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes: - SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes, - SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes: - SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes, - SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes: - SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes, SecurityMonitoringIntegrationActivateAttributes: SecurityMonitoringIntegrationActivateAttributes, SecurityMonitoringIntegrationActivateData: @@ -13307,41 +13261,31 @@ const typeMap: { [index: string]: any } = { SecurityMonitoringIntegrationActivateRequest, SecurityMonitoringIntegrationConfigAttributes: SecurityMonitoringIntegrationConfigAttributes, + SecurityMonitoringIntegrationConfigCreateAttributes: + SecurityMonitoringIntegrationConfigCreateAttributes, SecurityMonitoringIntegrationConfigCreateData: SecurityMonitoringIntegrationConfigCreateData, SecurityMonitoringIntegrationConfigCreateRequest: SecurityMonitoringIntegrationConfigCreateRequest, - SecurityMonitoringIntegrationConfigCrowdStrikeSecrets: - SecurityMonitoringIntegrationConfigCrowdStrikeSecrets, SecurityMonitoringIntegrationConfigData: SecurityMonitoringIntegrationConfigData, - SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets: - SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets, - SecurityMonitoringIntegrationConfigGoogleWorkspaceServiceAccount: - SecurityMonitoringIntegrationConfigGoogleWorkspaceServiceAccount, - SecurityMonitoringIntegrationConfigOktaSecrets: - SecurityMonitoringIntegrationConfigOktaSecrets, SecurityMonitoringIntegrationConfigResponse: SecurityMonitoringIntegrationConfigResponse, - SecurityMonitoringIntegrationConfigSentinelOneSecrets: - SecurityMonitoringIntegrationConfigSentinelOneSecrets, + SecurityMonitoringIntegrationConfigUpdateAttributes: + SecurityMonitoringIntegrationConfigUpdateAttributes, SecurityMonitoringIntegrationConfigUpdateData: SecurityMonitoringIntegrationConfigUpdateData, SecurityMonitoringIntegrationConfigUpdateRequest: SecurityMonitoringIntegrationConfigUpdateRequest, SecurityMonitoringIntegrationConfigsResponse: SecurityMonitoringIntegrationConfigsResponse, + SecurityMonitoringIntegrationCredentialsValidateAttributes: + SecurityMonitoringIntegrationCredentialsValidateAttributes, SecurityMonitoringIntegrationCredentialsValidateData: SecurityMonitoringIntegrationCredentialsValidateData, SecurityMonitoringIntegrationCredentialsValidateRequest: SecurityMonitoringIntegrationCredentialsValidateRequest, SecurityMonitoringListRulesResponse: SecurityMonitoringListRulesResponse, - SecurityMonitoringOktaIntegrationConfigCreateAttributes: - SecurityMonitoringOktaIntegrationConfigCreateAttributes, - SecurityMonitoringOktaIntegrationConfigUpdateAttributes: - SecurityMonitoringOktaIntegrationConfigUpdateAttributes, - SecurityMonitoringOktaIntegrationCredentialsValidateAttributes: - SecurityMonitoringOktaIntegrationCredentialsValidateAttributes, SecurityMonitoringPaginatedSuppressionsResponse: SecurityMonitoringPaginatedSuppressionsResponse, SecurityMonitoringReferenceTable: SecurityMonitoringReferenceTable, @@ -13389,12 +13333,6 @@ const typeMap: { [index: string]: any } = { SecurityMonitoringRuleThirdPartyOptions, SecurityMonitoringRuleUpdatePayload: SecurityMonitoringRuleUpdatePayload, SecurityMonitoringSchedulingOptions: SecurityMonitoringSchedulingOptions, - SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes: - SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes, - SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes: - SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes, - SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes: - SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes, SecurityMonitoringSignal: SecurityMonitoringSignal, SecurityMonitoringSignalAssigneeUpdateAttributes: SecurityMonitoringSignalAssigneeUpdateAttributes, @@ -15332,27 +15270,6 @@ const oneOfMap: { [index: string]: string[] } = { "ScheduleData", "User", ], - SecurityMonitoringIntegrationConfigCreateAttributes: [ - "SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes", - "SecurityMonitoringOktaIntegrationConfigCreateAttributes", - "SecurityMonitoringEntraIdIntegrationConfigCreateAttributes", - "SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes", - "SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes", - ], - SecurityMonitoringIntegrationConfigUpdateAttributes: [ - "SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes", - "SecurityMonitoringOktaIntegrationConfigUpdateAttributes", - "SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes", - "SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes", - "SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes", - ], - SecurityMonitoringIntegrationCredentialsValidateAttributes: [ - "SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes", - "SecurityMonitoringOktaIntegrationCredentialsValidateAttributes", - "SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes", - "SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes", - "SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes", - ], SecurityMonitoringRuleConvertPayload: [ "SecurityMonitoringStandardRulePayload", "SecurityMonitoringSignalRulePayload", diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes.ts deleted file mode 100644 index 8aaf9d0c5df6..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes.ts +++ /dev/null @@ -1,90 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { SecurityMonitoringIntegrationConfigCrowdStrikeSecrets } from "./SecurityMonitoringIntegrationConfigCrowdStrikeSecrets"; -import { SecurityMonitoringIntegrationTypeCrowdStrike } from "./SecurityMonitoringIntegrationTypeCrowdStrike"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * The attributes of a CrowdStrike entity context sync configuration to create. - */ -export class SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes { - /** - * The domain associated with the external entity source. - */ - "domain": string; - /** - * The source type for a CrowdStrike entity context sync. - */ - "integrationType": SecurityMonitoringIntegrationTypeCrowdStrike; - /** - * The display name for the entity context sync configuration. - */ - "name": string; - /** - * Credentials for a CrowdStrike entity context sync. - */ - "secrets": SecurityMonitoringIntegrationConfigCrowdStrikeSecrets; - /** - * Free-form, non-sensitive settings for the entity context sync. The accepted keys depend on the source type. - */ - "settings"?: { [key: string]: any }; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - domain: { - baseName: "domain", - type: "string", - required: true, - }, - integrationType: { - baseName: "integration_type", - type: "SecurityMonitoringIntegrationTypeCrowdStrike", - required: true, - }, - name: { - baseName: "name", - type: "string", - required: true, - }, - secrets: { - baseName: "secrets", - type: "SecurityMonitoringIntegrationConfigCrowdStrikeSecrets", - required: true, - }, - settings: { - baseName: "settings", - type: "{ [key: string]: any; }", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes.ts deleted file mode 100644 index aacb7f118ebe..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes.ts +++ /dev/null @@ -1,95 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { SecurityMonitoringIntegrationConfigCrowdStrikeSecrets } from "./SecurityMonitoringIntegrationConfigCrowdStrikeSecrets"; -import { SecurityMonitoringIntegrationTypeCrowdStrike } from "./SecurityMonitoringIntegrationTypeCrowdStrike"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Fields to update on a CrowdStrike entity context sync configuration. - */ -export class SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes { - /** - * The new domain associated with the external entity source. - */ - "domain"?: string; - /** - * Whether the entity context sync should be enabled. - */ - "enabled"?: boolean; - /** - * The source type for a CrowdStrike entity context sync. - */ - "integrationType": SecurityMonitoringIntegrationTypeCrowdStrike; - /** - * The new display name for the entity context sync configuration. - */ - "name"?: string; - /** - * Credentials for a CrowdStrike entity context sync. - */ - "secrets"?: SecurityMonitoringIntegrationConfigCrowdStrikeSecrets; - /** - * Free-form, non-sensitive settings for the entity context sync. The accepted keys depend on the source type. - */ - "settings"?: { [key: string]: any }; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - domain: { - baseName: "domain", - type: "string", - }, - enabled: { - baseName: "enabled", - type: "boolean", - }, - integrationType: { - baseName: "integration_type", - type: "SecurityMonitoringIntegrationTypeCrowdStrike", - required: true, - }, - name: { - baseName: "name", - type: "string", - }, - secrets: { - baseName: "secrets", - type: "SecurityMonitoringIntegrationConfigCrowdStrikeSecrets", - }, - settings: { - baseName: "settings", - type: "{ [key: string]: any; }", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes.ts deleted file mode 100644 index abad14a4cf80..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes.ts +++ /dev/null @@ -1,73 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { SecurityMonitoringIntegrationConfigCrowdStrikeSecrets } from "./SecurityMonitoringIntegrationConfigCrowdStrikeSecrets"; -import { SecurityMonitoringIntegrationTypeCrowdStrike } from "./SecurityMonitoringIntegrationTypeCrowdStrike"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * The CrowdStrike credentials to validate against the external entity source. - */ -export class SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes { - /** - * The domain associated with the external entity source. - */ - "domain": string; - /** - * The source type for a CrowdStrike entity context sync. - */ - "integrationType": SecurityMonitoringIntegrationTypeCrowdStrike; - /** - * Credentials for a CrowdStrike entity context sync. - */ - "secrets": SecurityMonitoringIntegrationConfigCrowdStrikeSecrets; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - domain: { - baseName: "domain", - type: "string", - required: true, - }, - integrationType: { - baseName: "integration_type", - type: "SecurityMonitoringIntegrationTypeCrowdStrike", - required: true, - }, - secrets: { - baseName: "secrets", - type: "SecurityMonitoringIntegrationConfigCrowdStrikeSecrets", - required: true, - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringEntraIdIntegrationConfigCreateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringEntraIdIntegrationConfigCreateAttributes.ts deleted file mode 100644 index 05675806f3f0..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringEntraIdIntegrationConfigCreateAttributes.ts +++ /dev/null @@ -1,80 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { SecurityMonitoringIntegrationTypeEntraId } from "./SecurityMonitoringIntegrationTypeEntraId"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * The attributes of an Entra ID entity context sync configuration to create. - */ -export class SecurityMonitoringEntraIdIntegrationConfigCreateAttributes { - /** - * The domain associated with the external entity source. - */ - "domain": string; - /** - * The source type for an Entra ID entity context sync. - */ - "integrationType": SecurityMonitoringIntegrationTypeEntraId; - /** - * The display name for the entity context sync configuration. - */ - "name": string; - /** - * Free-form, non-sensitive settings for the entity context sync. The accepted keys depend on the source type. - */ - "settings"?: { [key: string]: any }; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - domain: { - baseName: "domain", - type: "string", - required: true, - }, - integrationType: { - baseName: "integration_type", - type: "SecurityMonitoringIntegrationTypeEntraId", - required: true, - }, - name: { - baseName: "name", - type: "string", - required: true, - }, - settings: { - baseName: "settings", - type: "{ [key: string]: any; }", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringEntraIdIntegrationConfigCreateAttributes.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes.ts deleted file mode 100644 index ad0536ac946d..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes.ts +++ /dev/null @@ -1,86 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { SecurityMonitoringIntegrationTypeEntraId } from "./SecurityMonitoringIntegrationTypeEntraId"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Fields to update on an Entra ID entity context sync configuration. - */ -export class SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes { - /** - * The new domain associated with the external entity source. - */ - "domain"?: string; - /** - * Whether the entity context sync should be enabled. - */ - "enabled"?: boolean; - /** - * The source type for an Entra ID entity context sync. - */ - "integrationType": SecurityMonitoringIntegrationTypeEntraId; - /** - * The new display name for the entity context sync configuration. - */ - "name"?: string; - /** - * Free-form, non-sensitive settings for the entity context sync. The accepted keys depend on the source type. - */ - "settings"?: { [key: string]: any }; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - domain: { - baseName: "domain", - type: "string", - }, - enabled: { - baseName: "enabled", - type: "boolean", - }, - integrationType: { - baseName: "integration_type", - type: "SecurityMonitoringIntegrationTypeEntraId", - required: true, - }, - name: { - baseName: "name", - type: "string", - }, - settings: { - baseName: "settings", - type: "{ [key: string]: any; }", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes.ts deleted file mode 100644 index 4ddcafa643c3..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes.ts +++ /dev/null @@ -1,63 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { SecurityMonitoringIntegrationTypeEntraId } from "./SecurityMonitoringIntegrationTypeEntraId"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * The Entra ID credentials to validate against the external entity source. - */ -export class SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes { - /** - * The domain associated with the external entity source. - */ - "domain": string; - /** - * The source type for an Entra ID entity context sync. - */ - "integrationType": SecurityMonitoringIntegrationTypeEntraId; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - domain: { - baseName: "domain", - type: "string", - required: true, - }, - integrationType: { - baseName: "integration_type", - type: "SecurityMonitoringIntegrationTypeEntraId", - required: true, - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes.ts deleted file mode 100644 index 94721948e388..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes.ts +++ /dev/null @@ -1,90 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets } from "./SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets"; -import { SecurityMonitoringIntegrationTypeGoogleWorkspace } from "./SecurityMonitoringIntegrationTypeGoogleWorkspace"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * The attributes of a Google Workspace entity context sync configuration to create. - */ -export class SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes { - /** - * The domain associated with the external entity source. - */ - "domain": string; - /** - * The source type for a Google Workspace entity context sync. - */ - "integrationType": SecurityMonitoringIntegrationTypeGoogleWorkspace; - /** - * The display name for the entity context sync configuration. - */ - "name": string; - /** - * Credentials for a Google Workspace entity context sync. - */ - "secrets": SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets; - /** - * Free-form, non-sensitive settings for the entity context sync. The accepted keys depend on the source type. - */ - "settings"?: { [key: string]: any }; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - domain: { - baseName: "domain", - type: "string", - required: true, - }, - integrationType: { - baseName: "integration_type", - type: "SecurityMonitoringIntegrationTypeGoogleWorkspace", - required: true, - }, - name: { - baseName: "name", - type: "string", - required: true, - }, - secrets: { - baseName: "secrets", - type: "SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets", - required: true, - }, - settings: { - baseName: "settings", - type: "{ [key: string]: any; }", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes.ts deleted file mode 100644 index 4de9602e4f8e..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes.ts +++ /dev/null @@ -1,95 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets } from "./SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets"; -import { SecurityMonitoringIntegrationTypeGoogleWorkspace } from "./SecurityMonitoringIntegrationTypeGoogleWorkspace"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Fields to update on a Google Workspace entity context sync configuration. - */ -export class SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes { - /** - * The new domain associated with the external entity source. - */ - "domain"?: string; - /** - * Whether the entity context sync should be enabled. - */ - "enabled"?: boolean; - /** - * The source type for a Google Workspace entity context sync. - */ - "integrationType": SecurityMonitoringIntegrationTypeGoogleWorkspace; - /** - * The new display name for the entity context sync configuration. - */ - "name"?: string; - /** - * Credentials for a Google Workspace entity context sync. - */ - "secrets"?: SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets; - /** - * Free-form, non-sensitive settings for the entity context sync. The accepted keys depend on the source type. - */ - "settings"?: { [key: string]: any }; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - domain: { - baseName: "domain", - type: "string", - }, - enabled: { - baseName: "enabled", - type: "boolean", - }, - integrationType: { - baseName: "integration_type", - type: "SecurityMonitoringIntegrationTypeGoogleWorkspace", - required: true, - }, - name: { - baseName: "name", - type: "string", - }, - secrets: { - baseName: "secrets", - type: "SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets", - }, - settings: { - baseName: "settings", - type: "{ [key: string]: any; }", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes.ts deleted file mode 100644 index a6fb91fb72e6..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes.ts +++ /dev/null @@ -1,73 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets } from "./SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets"; -import { SecurityMonitoringIntegrationTypeGoogleWorkspace } from "./SecurityMonitoringIntegrationTypeGoogleWorkspace"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * The Google Workspace credentials to validate against the external entity source. - */ -export class SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes { - /** - * The domain associated with the external entity source. - */ - "domain": string; - /** - * The source type for a Google Workspace entity context sync. - */ - "integrationType": SecurityMonitoringIntegrationTypeGoogleWorkspace; - /** - * Credentials for a Google Workspace entity context sync. - */ - "secrets": SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - domain: { - baseName: "domain", - type: "string", - required: true, - }, - integrationType: { - baseName: "integration_type", - type: "SecurityMonitoringIntegrationTypeGoogleWorkspace", - required: true, - }, - secrets: { - baseName: "secrets", - type: "SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets", - required: true, - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigCreateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigCreateAttributes.ts index 78e55f23de82..fdc4e7d12bf5 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigCreateAttributes.ts @@ -3,22 +3,87 @@ * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2020-Present Datadog, Inc. */ -import { SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes } from "./SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes"; -import { SecurityMonitoringEntraIdIntegrationConfigCreateAttributes } from "./SecurityMonitoringEntraIdIntegrationConfigCreateAttributes"; -import { SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes } from "./SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes"; -import { SecurityMonitoringOktaIntegrationConfigCreateAttributes } from "./SecurityMonitoringOktaIntegrationConfigCreateAttributes"; -import { SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes } from "./SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes"; +import { SecurityMonitoringIntegrationType } from "./SecurityMonitoringIntegrationType"; -import { UnparsedObject } from "../../datadog-api-client-common/util"; +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * The attributes of the entity context sync configuration to create. */ +export class SecurityMonitoringIntegrationConfigCreateAttributes { + /** + * The domain associated with the external entity source. + */ + "domain": string; + /** + * The type of external source that provides entities to Cloud SIEM. + */ + "integrationType": SecurityMonitoringIntegrationType; + /** + * The display name for the entity context sync configuration. + */ + "name": string; + /** + * The secrets used to authenticate against the external entity source. The accepted keys depend on the source type + * (for example, `admin_email` for Google Workspace). Not required for source types that do not use secrets (for example, `ENTRA_ID`). + */ + "secrets"?: { [key: string]: any }; + /** + * Free-form, non-sensitive settings for the entity context sync. The accepted keys depend on the source type. + */ + "settings"?: { [key: string]: any }; -export type SecurityMonitoringIntegrationConfigCreateAttributes = - | SecurityMonitoringGoogleWorkspaceIntegrationConfigCreateAttributes - | SecurityMonitoringOktaIntegrationConfigCreateAttributes - | SecurityMonitoringEntraIdIntegrationConfigCreateAttributes - | SecurityMonitoringCrowdStrikeIntegrationConfigCreateAttributes - | SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes - | UnparsedObject; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + domain: { + baseName: "domain", + type: "string", + required: true, + }, + integrationType: { + baseName: "integration_type", + type: "SecurityMonitoringIntegrationType", + required: true, + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + secrets: { + baseName: "secrets", + type: "{ [key: string]: any; }", + }, + settings: { + baseName: "settings", + type: "{ [key: string]: any; }", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return SecurityMonitoringIntegrationConfigCreateAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigCrowdStrikeSecrets.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigCrowdStrikeSecrets.ts deleted file mode 100644 index a247e671641d..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigCrowdStrikeSecrets.ts +++ /dev/null @@ -1,62 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Credentials for a CrowdStrike entity context sync. - */ -export class SecurityMonitoringIntegrationConfigCrowdStrikeSecrets { - /** - * The CrowdStrike API client ID. - */ - "clientId": string; - /** - * The CrowdStrike API client secret. - */ - "clientSecret": string; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - clientId: { - baseName: "client_id", - type: "string", - required: true, - }, - clientSecret: { - baseName: "client_secret", - type: "string", - required: true, - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringIntegrationConfigCrowdStrikeSecrets.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets.ts deleted file mode 100644 index 095a589360c3..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets.ts +++ /dev/null @@ -1,62 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { SecurityMonitoringIntegrationConfigGoogleWorkspaceServiceAccount } from "./SecurityMonitoringIntegrationConfigGoogleWorkspaceServiceAccount"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Credentials for a Google Workspace entity context sync. - */ -export class SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets { - /** - * The admin email to impersonate for domain-wide delegation. - */ - "adminEmail"?: string; - /** - * The Google Cloud service account JSON used to authenticate against the Google Workspace Admin SDK. Additional keys beyond those documented are preserved. - */ - "serviceAccountJson": SecurityMonitoringIntegrationConfigGoogleWorkspaceServiceAccount; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - adminEmail: { - baseName: "admin_email", - type: "string", - }, - serviceAccountJson: { - baseName: "service_account_json", - type: "SecurityMonitoringIntegrationConfigGoogleWorkspaceServiceAccount", - required: true, - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringIntegrationConfigGoogleWorkspaceSecrets.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigGoogleWorkspaceServiceAccount.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigGoogleWorkspaceServiceAccount.ts deleted file mode 100644 index 3b6bac7cbac5..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigGoogleWorkspaceServiceAccount.ts +++ /dev/null @@ -1,80 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * The Google Cloud service account JSON used to authenticate against the Google Workspace Admin SDK. Additional keys beyond those documented are preserved. - */ -export class SecurityMonitoringIntegrationConfigGoogleWorkspaceServiceAccount { - /** - * The service account client email. - */ - "clientEmail": string; - /** - * The service account private key. - */ - "privateKey": string; - /** - * The Google Cloud project ID that owns the service account. - */ - "projectId": string; - /** - * The service account type. Must be `service_account`. - */ - "type": string; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - clientEmail: { - baseName: "client_email", - type: "string", - required: true, - }, - privateKey: { - baseName: "private_key", - type: "string", - required: true, - }, - projectId: { - baseName: "project_id", - type: "string", - required: true, - }, - type: { - baseName: "type", - type: "string", - required: true, - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringIntegrationConfigGoogleWorkspaceServiceAccount.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigOktaSecrets.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigOktaSecrets.ts deleted file mode 100644 index 656fc2aaeb45..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigOktaSecrets.ts +++ /dev/null @@ -1,53 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Credentials for an Okta entity context sync. - */ -export class SecurityMonitoringIntegrationConfigOktaSecrets { - /** - * The Okta API token used to authenticate against the Okta API. - */ - "apiToken": string; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - apiToken: { - baseName: "api_token", - type: "string", - required: true, - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringIntegrationConfigOktaSecrets.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigSentinelOneSecrets.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigSentinelOneSecrets.ts deleted file mode 100644 index 4f9e1b1e8a60..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigSentinelOneSecrets.ts +++ /dev/null @@ -1,53 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Credentials for a SentinelOne entity context sync. - */ -export class SecurityMonitoringIntegrationConfigSentinelOneSecrets { - /** - * The SentinelOne API token. - */ - "apiToken": string; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - apiToken: { - baseName: "api_token", - type: "string", - required: true, - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringIntegrationConfigSentinelOneSecrets.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigUpdateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigUpdateAttributes.ts index 39269bea77c0..8bfd8eca129d 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigUpdateAttributes.ts @@ -3,22 +3,92 @@ * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2020-Present Datadog, Inc. */ -import { SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes } from "./SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes"; -import { SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes } from "./SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes"; -import { SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes } from "./SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes"; -import { SecurityMonitoringOktaIntegrationConfigUpdateAttributes } from "./SecurityMonitoringOktaIntegrationConfigUpdateAttributes"; -import { SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes } from "./SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes"; +import { SecurityMonitoringIntegrationType } from "./SecurityMonitoringIntegrationType"; -import { UnparsedObject } from "../../datadog-api-client-common/util"; +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** - * Fields to update on the entity context sync configuration. All fields other than the integration type are optional. + * Fields to update on the entity context sync configuration. All fields are optional. */ +export class SecurityMonitoringIntegrationConfigUpdateAttributes { + /** + * The new domain associated with the external entity source. + */ + "domain"?: string; + /** + * Whether the entity context sync should be enabled. + */ + "enabled"?: boolean; + /** + * The type of external source that provides entities to Cloud SIEM. + */ + "integrationType"?: SecurityMonitoringIntegrationType; + /** + * The new display name for the entity context sync configuration. + */ + "name"?: string; + /** + * The secrets used to authenticate against the external entity source. The accepted keys depend on the source type + * (for example, `admin_email` for Google Workspace). Not required for source types that do not use secrets (for example, `ENTRA_ID`). + */ + "secrets"?: { [key: string]: any }; + /** + * Free-form, non-sensitive settings for the entity context sync. The accepted keys depend on the source type. + */ + "settings"?: { [key: string]: any }; -export type SecurityMonitoringIntegrationConfigUpdateAttributes = - | SecurityMonitoringGoogleWorkspaceIntegrationConfigUpdateAttributes - | SecurityMonitoringOktaIntegrationConfigUpdateAttributes - | SecurityMonitoringEntraIdIntegrationConfigUpdateAttributes - | SecurityMonitoringCrowdStrikeIntegrationConfigUpdateAttributes - | SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes - | UnparsedObject; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + domain: { + baseName: "domain", + type: "string", + }, + enabled: { + baseName: "enabled", + type: "boolean", + }, + integrationType: { + baseName: "integration_type", + type: "SecurityMonitoringIntegrationType", + }, + name: { + baseName: "name", + type: "string", + }, + secrets: { + baseName: "secrets", + type: "{ [key: string]: any; }", + }, + settings: { + baseName: "settings", + type: "{ [key: string]: any; }", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return SecurityMonitoringIntegrationConfigUpdateAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigUpdateData.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigUpdateData.ts index 0cb11359a8fa..ea3513140d01 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigUpdateData.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationConfigUpdateData.ts @@ -13,7 +13,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; */ export class SecurityMonitoringIntegrationConfigUpdateData { /** - * Fields to update on the entity context sync configuration. All fields other than the integration type are optional. + * Fields to update on the entity context sync configuration. All fields are optional. */ "attributes": SecurityMonitoringIntegrationConfigUpdateAttributes; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationCredentialsValidateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationCredentialsValidateAttributes.ts index 12273360b5fa..a5856c4d89c5 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationCredentialsValidateAttributes.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationCredentialsValidateAttributes.ts @@ -3,22 +3,70 @@ * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2020-Present Datadog, Inc. */ -import { SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes } from "./SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes"; -import { SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes } from "./SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes"; -import { SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes } from "./SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes"; -import { SecurityMonitoringOktaIntegrationCredentialsValidateAttributes } from "./SecurityMonitoringOktaIntegrationCredentialsValidateAttributes"; -import { SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes } from "./SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes"; +import { SecurityMonitoringIntegrationType } from "./SecurityMonitoringIntegrationType"; -import { UnparsedObject } from "../../datadog-api-client-common/util"; +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * The credentials to validate against the external entity source. */ +export class SecurityMonitoringIntegrationCredentialsValidateAttributes { + /** + * The domain associated with the external entity source. + */ + "domain": string; + /** + * The type of external source that provides entities to Cloud SIEM. + */ + "integrationType": SecurityMonitoringIntegrationType; + /** + * The secrets used to authenticate against the external entity source. The accepted keys depend on the source type + * (for example, `admin_email` for Google Workspace). Not required for source types that do not use secrets (for example, `ENTRA_ID`). + */ + "secrets"?: { [key: string]: any }; -export type SecurityMonitoringIntegrationCredentialsValidateAttributes = - | SecurityMonitoringGoogleWorkspaceIntegrationCredentialsValidateAttributes - | SecurityMonitoringOktaIntegrationCredentialsValidateAttributes - | SecurityMonitoringEntraIdIntegrationCredentialsValidateAttributes - | SecurityMonitoringCrowdStrikeIntegrationCredentialsValidateAttributes - | SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes - | UnparsedObject; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + domain: { + baseName: "domain", + type: "string", + required: true, + }, + integrationType: { + baseName: "integration_type", + type: "SecurityMonitoringIntegrationType", + required: true, + }, + secrets: { + baseName: "secrets", + type: "{ [key: string]: any; }", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return SecurityMonitoringIntegrationCredentialsValidateAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationType.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationType.ts index 4eb91fcb3988..00e32f2dcaec 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationType.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationType.ts @@ -14,11 +14,7 @@ export type SecurityMonitoringIntegrationType = | typeof GOOGLE_WORKSPACE | typeof OKTA | typeof ENTRA_ID - | typeof CROWDSTRIKE - | typeof SENTINELONE | UnparsedObject; export const GOOGLE_WORKSPACE = "GOOGLE_WORKSPACE"; export const OKTA = "OKTA"; export const ENTRA_ID = "ENTRA_ID"; -export const CROWDSTRIKE = "CROWDSTRIKE"; -export const SENTINELONE = "SENTINELONE"; diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeCrowdStrike.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeCrowdStrike.ts deleted file mode 100644 index 9c8009502bf1..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeCrowdStrike.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { UnparsedObject } from "../../datadog-api-client-common/util"; - -/** - * The source type for a CrowdStrike entity context sync. - */ - -export type SecurityMonitoringIntegrationTypeCrowdStrike = - | typeof CROWDSTRIKE - | UnparsedObject; -export const CROWDSTRIKE = "CROWDSTRIKE"; diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeEntraId.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeEntraId.ts deleted file mode 100644 index 4427e96f3b13..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeEntraId.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { UnparsedObject } from "../../datadog-api-client-common/util"; - -/** - * The source type for an Entra ID entity context sync. - */ - -export type SecurityMonitoringIntegrationTypeEntraId = - | typeof ENTRA_ID - | UnparsedObject; -export const ENTRA_ID = "ENTRA_ID"; diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeGoogleWorkspace.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeGoogleWorkspace.ts deleted file mode 100644 index b3bd97bd3cca..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeGoogleWorkspace.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { UnparsedObject } from "../../datadog-api-client-common/util"; - -/** - * The source type for a Google Workspace entity context sync. - */ - -export type SecurityMonitoringIntegrationTypeGoogleWorkspace = - | typeof GOOGLE_WORKSPACE - | UnparsedObject; -export const GOOGLE_WORKSPACE = "GOOGLE_WORKSPACE"; diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeOkta.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeOkta.ts deleted file mode 100644 index 8dd70cb4ade0..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeOkta.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { UnparsedObject } from "../../datadog-api-client-common/util"; - -/** - * The source type for an Okta entity context sync. - */ - -export type SecurityMonitoringIntegrationTypeOkta = - | typeof OKTA - | UnparsedObject; -export const OKTA = "OKTA"; diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeSentinelOne.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeSentinelOne.ts deleted file mode 100644 index b6a1b91e5449..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringIntegrationTypeSentinelOne.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ - -import { UnparsedObject } from "../../datadog-api-client-common/util"; - -/** - * The source type for a SentinelOne entity context sync. - */ - -export type SecurityMonitoringIntegrationTypeSentinelOne = - | typeof SENTINELONE - | UnparsedObject; -export const SENTINELONE = "SENTINELONE"; diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringOktaIntegrationConfigCreateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringOktaIntegrationConfigCreateAttributes.ts deleted file mode 100644 index dc3d52a3814b..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringOktaIntegrationConfigCreateAttributes.ts +++ /dev/null @@ -1,90 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { SecurityMonitoringIntegrationConfigOktaSecrets } from "./SecurityMonitoringIntegrationConfigOktaSecrets"; -import { SecurityMonitoringIntegrationTypeOkta } from "./SecurityMonitoringIntegrationTypeOkta"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * The attributes of an Okta entity context sync configuration to create. - */ -export class SecurityMonitoringOktaIntegrationConfigCreateAttributes { - /** - * The domain associated with the external entity source. - */ - "domain": string; - /** - * The source type for an Okta entity context sync. - */ - "integrationType": SecurityMonitoringIntegrationTypeOkta; - /** - * The display name for the entity context sync configuration. - */ - "name": string; - /** - * Credentials for an Okta entity context sync. - */ - "secrets": SecurityMonitoringIntegrationConfigOktaSecrets; - /** - * Free-form, non-sensitive settings for the entity context sync. The accepted keys depend on the source type. - */ - "settings"?: { [key: string]: any }; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - domain: { - baseName: "domain", - type: "string", - required: true, - }, - integrationType: { - baseName: "integration_type", - type: "SecurityMonitoringIntegrationTypeOkta", - required: true, - }, - name: { - baseName: "name", - type: "string", - required: true, - }, - secrets: { - baseName: "secrets", - type: "SecurityMonitoringIntegrationConfigOktaSecrets", - required: true, - }, - settings: { - baseName: "settings", - type: "{ [key: string]: any; }", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringOktaIntegrationConfigCreateAttributes.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringOktaIntegrationConfigUpdateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringOktaIntegrationConfigUpdateAttributes.ts deleted file mode 100644 index 27bd7a5007cf..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringOktaIntegrationConfigUpdateAttributes.ts +++ /dev/null @@ -1,95 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { SecurityMonitoringIntegrationConfigOktaSecrets } from "./SecurityMonitoringIntegrationConfigOktaSecrets"; -import { SecurityMonitoringIntegrationTypeOkta } from "./SecurityMonitoringIntegrationTypeOkta"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Fields to update on an Okta entity context sync configuration. - */ -export class SecurityMonitoringOktaIntegrationConfigUpdateAttributes { - /** - * The new domain associated with the external entity source. - */ - "domain"?: string; - /** - * Whether the entity context sync should be enabled. - */ - "enabled"?: boolean; - /** - * The source type for an Okta entity context sync. - */ - "integrationType": SecurityMonitoringIntegrationTypeOkta; - /** - * The new display name for the entity context sync configuration. - */ - "name"?: string; - /** - * Credentials for an Okta entity context sync. - */ - "secrets"?: SecurityMonitoringIntegrationConfigOktaSecrets; - /** - * Free-form, non-sensitive settings for the entity context sync. The accepted keys depend on the source type. - */ - "settings"?: { [key: string]: any }; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - domain: { - baseName: "domain", - type: "string", - }, - enabled: { - baseName: "enabled", - type: "boolean", - }, - integrationType: { - baseName: "integration_type", - type: "SecurityMonitoringIntegrationTypeOkta", - required: true, - }, - name: { - baseName: "name", - type: "string", - }, - secrets: { - baseName: "secrets", - type: "SecurityMonitoringIntegrationConfigOktaSecrets", - }, - settings: { - baseName: "settings", - type: "{ [key: string]: any; }", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringOktaIntegrationConfigUpdateAttributes.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringOktaIntegrationCredentialsValidateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringOktaIntegrationCredentialsValidateAttributes.ts deleted file mode 100644 index 088dc069a438..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringOktaIntegrationCredentialsValidateAttributes.ts +++ /dev/null @@ -1,73 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { SecurityMonitoringIntegrationConfigOktaSecrets } from "./SecurityMonitoringIntegrationConfigOktaSecrets"; -import { SecurityMonitoringIntegrationTypeOkta } from "./SecurityMonitoringIntegrationTypeOkta"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * The Okta credentials to validate against the external entity source. - */ -export class SecurityMonitoringOktaIntegrationCredentialsValidateAttributes { - /** - * The domain associated with the external entity source. - */ - "domain": string; - /** - * The source type for an Okta entity context sync. - */ - "integrationType": SecurityMonitoringIntegrationTypeOkta; - /** - * Credentials for an Okta entity context sync. - */ - "secrets": SecurityMonitoringIntegrationConfigOktaSecrets; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - domain: { - baseName: "domain", - type: "string", - required: true, - }, - integrationType: { - baseName: "integration_type", - type: "SecurityMonitoringIntegrationTypeOkta", - required: true, - }, - secrets: { - baseName: "secrets", - type: "SecurityMonitoringIntegrationConfigOktaSecrets", - required: true, - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringOktaIntegrationCredentialsValidateAttributes.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes.ts deleted file mode 100644 index 58bb40349805..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes.ts +++ /dev/null @@ -1,90 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { SecurityMonitoringIntegrationConfigSentinelOneSecrets } from "./SecurityMonitoringIntegrationConfigSentinelOneSecrets"; -import { SecurityMonitoringIntegrationTypeSentinelOne } from "./SecurityMonitoringIntegrationTypeSentinelOne"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * The attributes of a SentinelOne entity context sync configuration to create. - */ -export class SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes { - /** - * The domain associated with the external entity source. - */ - "domain": string; - /** - * The source type for a SentinelOne entity context sync. - */ - "integrationType": SecurityMonitoringIntegrationTypeSentinelOne; - /** - * The display name for the entity context sync configuration. - */ - "name": string; - /** - * Credentials for a SentinelOne entity context sync. - */ - "secrets": SecurityMonitoringIntegrationConfigSentinelOneSecrets; - /** - * Free-form, non-sensitive settings for the entity context sync. The accepted keys depend on the source type. - */ - "settings"?: { [key: string]: any }; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - domain: { - baseName: "domain", - type: "string", - required: true, - }, - integrationType: { - baseName: "integration_type", - type: "SecurityMonitoringIntegrationTypeSentinelOne", - required: true, - }, - name: { - baseName: "name", - type: "string", - required: true, - }, - secrets: { - baseName: "secrets", - type: "SecurityMonitoringIntegrationConfigSentinelOneSecrets", - required: true, - }, - settings: { - baseName: "settings", - type: "{ [key: string]: any; }", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringSentinelOneIntegrationConfigCreateAttributes.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes.ts deleted file mode 100644 index 8c6790ea3824..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes.ts +++ /dev/null @@ -1,95 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { SecurityMonitoringIntegrationConfigSentinelOneSecrets } from "./SecurityMonitoringIntegrationConfigSentinelOneSecrets"; -import { SecurityMonitoringIntegrationTypeSentinelOne } from "./SecurityMonitoringIntegrationTypeSentinelOne"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * Fields to update on a SentinelOne entity context sync configuration. - */ -export class SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes { - /** - * The new domain associated with the external entity source. - */ - "domain"?: string; - /** - * Whether the entity context sync should be enabled. - */ - "enabled"?: boolean; - /** - * The source type for a SentinelOne entity context sync. - */ - "integrationType": SecurityMonitoringIntegrationTypeSentinelOne; - /** - * The new display name for the entity context sync configuration. - */ - "name"?: string; - /** - * Credentials for a SentinelOne entity context sync. - */ - "secrets"?: SecurityMonitoringIntegrationConfigSentinelOneSecrets; - /** - * Free-form, non-sensitive settings for the entity context sync. The accepted keys depend on the source type. - */ - "settings"?: { [key: string]: any }; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - domain: { - baseName: "domain", - type: "string", - }, - enabled: { - baseName: "enabled", - type: "boolean", - }, - integrationType: { - baseName: "integration_type", - type: "SecurityMonitoringIntegrationTypeSentinelOne", - required: true, - }, - name: { - baseName: "name", - type: "string", - }, - secrets: { - baseName: "secrets", - type: "SecurityMonitoringIntegrationConfigSentinelOneSecrets", - }, - settings: { - baseName: "settings", - type: "{ [key: string]: any; }", - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringSentinelOneIntegrationConfigUpdateAttributes.attributeTypeMap; - } - - public constructor() {} -} diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes.ts deleted file mode 100644 index 81e70f3be3d4..000000000000 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes.ts +++ /dev/null @@ -1,73 +0,0 @@ -/** - * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. - * This product includes software developed at Datadog (https://www.datadoghq.com/). - * Copyright 2020-Present Datadog, Inc. - */ -import { SecurityMonitoringIntegrationConfigSentinelOneSecrets } from "./SecurityMonitoringIntegrationConfigSentinelOneSecrets"; -import { SecurityMonitoringIntegrationTypeSentinelOne } from "./SecurityMonitoringIntegrationTypeSentinelOne"; - -import { AttributeTypeMap } from "../../datadog-api-client-common/util"; - -/** - * The SentinelOne credentials to validate against the external entity source. - */ -export class SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes { - /** - * The domain associated with the external entity source. - */ - "domain": string; - /** - * The source type for a SentinelOne entity context sync. - */ - "integrationType": SecurityMonitoringIntegrationTypeSentinelOne; - /** - * Credentials for a SentinelOne entity context sync. - */ - "secrets": SecurityMonitoringIntegrationConfigSentinelOneSecrets; - - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - - /** - * @ignore - */ - "_unparsed"?: boolean; - - /** - * @ignore - */ - static readonly attributeTypeMap: AttributeTypeMap = { - domain: { - baseName: "domain", - type: "string", - required: true, - }, - integrationType: { - baseName: "integration_type", - type: "SecurityMonitoringIntegrationTypeSentinelOne", - required: true, - }, - secrets: { - baseName: "secrets", - type: "SecurityMonitoringIntegrationConfigSentinelOneSecrets", - required: true, - }, - additionalProperties: { - baseName: "additionalProperties", - type: "{ [key: string]: any; }", - }, - }; - - /** - * @ignore - */ - static getAttributeTypeMap(): AttributeTypeMap { - return SecurityMonitoringSentinelOneIntegrationCredentialsValidateAttributes.attributeTypeMap; - } - - public constructor() {} -}