capabilities.work

Grant a role to a logs restriction query

One step with Datadog. We can help you get access.

Get something done

Grant a role to a logs restriction query

with Datadog · Identity & Access Management
Works with AI assistants

Use Datadog: its Datadog Grants API lets you grant a role to a logs restriction query in a single step (POST /api/v2/logs/config/restriction_queries/{restriction_query_id}/roles). Datadog also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I apply a logs restriction query to a role?
  • Can I limit which logs a role sees by attaching a restriction query?
Say it to your AI assistant
  • Grant role {data} to restriction query {restriction_query_id}.
  • Attach a role to logs restriction query {restriction_query_id}.
For your developer

POST /api/v2/logs/config/restriction_queries/{restriction_query_id}/roles in Datadog Grants API. Full spec on APIs.io.