application_security_services
Creates, updates, deletes, gets or lists an application_security_services resource.
Overview
| Name | application_security_services |
| Type | Resource |
| Id | datadog.security.application_security_services |
Fields
The following fields are returned by SELECT queries:
- get_asm_service_by_name
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier of the service, formatted as <service>_<environment>. (example: web-store_prod) |
attributes | object | Application Security details describing a service in a given environment. |
type | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_asm_service_by_name | select | service_filter | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
service_filter | string | The name of the service to retrieve Application Security details for. Returns all matching services across environments. (example: web-store) |
site | string | The 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
- get_asm_service_by_name
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
;