Skip to main content

csm_setting_host_facets

Creates, updates, deletes, gets or lists a csm_setting_host_facets resource.

Overview

Namecsm_setting_host_facets
TypeResource
Iddatadog.security.csm_setting_host_facets

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe identifier of the facet, corresponding to the field path. (example: cloud_provider)
attributesobjectAttributes of an agentless host facet.
typestringThe JSON:API type for unified host facet resources. The value should always be unified_host_facet. (unified_host_facet) (default: unified_host_facet, example: unified_host_facet)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_csmunified_host_facetsselectGet the list of available facets for filtering unified hosts.

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
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

Get the list of available facets for filtering unified hosts.

SELECT
id,
attributes,
type
FROM datadog.security.csm_setting_host_facets
;