Datadog - Add Tag to Assets

Datadog - Add Tag to Assets adds or removes a specified tag to the Datadog hosts that are the result of the saved query supplied as a trigger (or devices selected in the asset table).

📘

Note

This action uses the Datadog adapter credentials to perform the tagging.

See Creating Enforcement Sets to learn more about adding Enforcement Actions to Enforcement Sets.

📘

Note:

Required Fields

  • Action name - The name of this Enforcement Action. The system sets a default name. You can change the name.
  • Configure Dynamic Values - Toggle on to enter a Dynamic Value statement. See Creating Enforcement Action Dynamic Value Statements to learn more about Dynamic Value statement syntax.
  1. Use stored credentials from the adapter - Select this option to use credentials from the adapter connection. By default, the first connection is selected.

    • When you select this option, the Select Adapter Connection drop-down becomes available. Select the adapter connection to use for this Enforcement Action.

    📘

    Note

    To use this option, you must successfully configure a Datadog adapter connection.

  2. Tag name - Specify a tag name to be added to the host.

  3. Source name - Source name to attach to tag. A list of valid source names can be found here:List of valid source names

  4. Compute Node - The Axonius node to use when connecting to the specified host. For more details, see Connecting Additional Axonius Nodes.

Additional Fields

These fields are optional.

💡

Connection and Credentials

When Use stored credentials from the adapter is toggled off, some of the connection fields below are required to create the connection, while other fields are optional.

  1. Datadog Domain - The hostname or IP address of the Datadog server.
  2. Application Key and API Key - API and Application Keys associated with a user account that has the Required Permissions to fetch assets.
📘

Note

You must generate the API and Application Keys from two locations in the Datadog admin console. In order for this to work, you need to pair both keys in the adapter wizard, as Datadog doesn't authenticate using only the Application Key — even with the scope of the key specified.

  1. Verify SSL - Verify the SSL certificate offered by the value supplied in Datadog Domain. For more details, see SSL Trust & CA Settings.
  2. HTTPS Proxy (optional) - A proxy to use when connecting to the value supplied in Datadog Domain.
  • Use lowercase hostnames (default: true) - Enable this to send the hostnames to Datadog in lowercase.
  • Gateway Name - Select the Gateway through which to connect to perform the action.

Required Permissions

The stored credentials, or those provided in Connection and Credentials, must have permission to perform this Enforcement Action.


For more details about other Enforcement Actions available, see Action Library.