Create a new entity context sync configuration so Cloud SIEM can ingest entities from an external
source. The credentials provided in secrets are validated against the source before the configuration
is stored and never returned in subsequent responses.
This endpoint requires the manage_integrations permission.
OAuth apps require the manage_integrations authorization scope to access this endpoint.
Solicitud
Body Data (required)
The definition of the new integration configuration.
The attributes of the entity context sync configuration to create.
Option 1
object
The attributes of a Google Workspace entity context sync configuration to create.
domain [required]
string
The domain associated with the external entity source.
integration_type [required]
enum
The source type for a Google Workspace entity context sync.
Allowed enum values: GOOGLE_WORKSPACE
name [required]
string
The display name for the entity context sync configuration.
secrets [required]
object
Credentials for a Google Workspace entity context sync.
admin_email
string
The admin email to impersonate for domain-wide delegation.
service_account_json [required]
object
The Google Cloud service account JSON used to authenticate against the Google Workspace Admin SDK. Additional keys beyond those documented are preserved.
client_email [required]
string
The service account client email.
private_key [required]
string
The service account private key.
project_id [required]
string
The Google Cloud project ID that owns the service account.
type [required]
string
The service account type. Must be service_account.
settings
object
Free-form, non-sensitive settings for the entity context sync. The accepted keys depend on the source type.
Option 2
object
The attributes of an Okta entity context sync configuration to create.
domain [required]
string
The domain associated with the external entity source.
integration_type [required]
enum
The source type for an Okta entity context sync.
Allowed enum values: OKTA
name [required]
string
The display name for the entity context sync configuration.
secrets [required]
object
Credentials for an Okta entity context sync.
api_token [required]
string
The Okta API token used to authenticate against the Okta API.
settings
object
Free-form, non-sensitive settings for the entity context sync. The accepted keys depend on the source type.
Option 3
object
The attributes of an Entra ID entity context sync configuration to create.
domain [required]
string
The domain associated with the external entity source.
integration_type [required]
enum
The source type for an Entra ID entity context sync.
Allowed enum values: ENTRA_ID
name [required]
string
The display name for the entity context sync configuration.
settings
object
Free-form, non-sensitive settings for the entity context sync. The accepted keys depend on the source type.
Option 4
object
The attributes of a CrowdStrike entity context sync configuration to create.
domain [required]
string
The domain associated with the external entity source.
integration_type [required]
enum
The source type for a CrowdStrike entity context sync.
Allowed enum values: CROWDSTRIKE
name [required]
string
The display name for the entity context sync configuration.
secrets [required]
object
Credentials for a CrowdStrike entity context sync.
client_id [required]
string
The CrowdStrike API client ID.
client_secret [required]
string
The CrowdStrike API client secret.
settings
object
Free-form, non-sensitive settings for the entity context sync. The accepted keys depend on the source type.
Option 5
object
The attributes of a SentinelOne entity context sync configuration to create.
domain [required]
string
The domain associated with the external entity source.
integration_type [required]
enum
The source type for a SentinelOne entity context sync.
Allowed enum values: SENTINELONE
name [required]
string
The display name for the entity context sync configuration.
secrets [required]
object
Credentials for a SentinelOne entity context sync.
api_token [required]
string
The SentinelOne API token.
settings
object
Free-form, non-sensitive settings for the entity context sync. The accepted keys depend on the source type.
type [required]
enum
The type of the resource. The value should always be integration_config.
Allowed enum values: integration_config
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_API_KEY="<DD_API_KEY>"DD_APP_KEY="<DD_APP_KEY>"cargo run
/**
* Create an entity context sync configuration returns "OK" response
*/import{client,v2}from"@datadog/datadog-api-client";constconfiguration=client.createConfiguration();configuration.unstableOperations["v2.createSecurityMonitoringIntegrationConfig"]=true;constapiInstance=newv2.SecurityMonitoringApi(configuration);constparams: v2.SecurityMonitoringApiCreateSecurityMonitoringIntegrationConfigRequest={body:{data:{attributes:{domain:"siem-test.com",integrationType:"GOOGLE_WORKSPACE",name:"My GWS Integration",secrets:{admin_email:"test@example.com",},settings:{setting1:"value1",},},type:"integration_config",},},};apiInstance.createSecurityMonitoringIntegrationConfig(params).then((data: v2.SecurityMonitoringIntegrationConfigResponse)=>{console.log("API called successfully. Returned data: "+JSON.stringify(data));}).catch((error: any)=>console.error(error));