Skip to main content

application_security_services

Creates, updates, deletes, gets or lists an application_security_services resource.

Overview

Nameapplication_security_services
TypeResource
Iddatadog.security.application_security_services

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the service, formatted as <service>_<environment>. (example: web-store_prod)
attributesobjectApplication Security details describing a service in a given environment.
typestringThe type of the resource. The value should always be service_env. (service_env) (default: service_env, example: service_env)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_asm_service_by_nameselectservice_filterRetrieve Application Security details for services matching the given name.<br />Returns Application Security activation, compatibility, and product enablement<br />information for each matching (service, environment) pair, along with a count<br />of services that have Application Security Management (Threats) enabled.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
service_filterstringThe name of the service to retrieve Application Security details for. Returns all matching services across environments. (example: web-store)
sitestringThe Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both.

SELECT examples

Retrieve Application Security details for services matching the given name.<br />Returns Application Security activation, compatibility, and product enablement<br />information for each matching (service, environment) pair, along with a count<br />of services that have Application Security Management (Threats) enabled.

SELECT
id,
attributes,
type
FROM datadog.security.application_security_services
WHERE service_filter = '{{ service_filter }}' -- required
;