<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do you allow power users to configure alerts via API without overprivileging them? in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/How-do-you-allow-power-users-to-configure-alerts-via-API-without/m-p/301317#M6393</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As far as I know, settings:write is not currently granular. It grants write access through the Settings API, and it cannot be scoped down to specific settings schemas (for example, only alerting-related settings). In practice, a token with settings:write can modify a much broader set of platform configuration than just alert definitions.&lt;/P&gt;&lt;P&gt;Because of that, I personally wouldn't hand out settings:write API tokens directly to development teams.&lt;/P&gt;&lt;P&gt;The patterns that seem to work best are:&lt;/P&gt;&lt;P&gt;Monitoring as Code – store alert definitions in Git (Terraform, Monaco, or your own deployment pipeline) and let a CI/CD pipeline deploy them using a centrally managed token with settings:write.&lt;BR /&gt;Broker/API layer – teams submit requests to an internal service or workflow, which validates things like Management Zones, naming conventions, or allowed alert types before calling the Dynatrace Settings API.&lt;BR /&gt;GUI + IAM roles – if the volume of changes is relatively low, using the UI with well-designed IAM roles and policies may actually be the simpler and safer option.&lt;/P&gt;&lt;P&gt;If your goal is to delegate ownership to individual teams, I'd also recommend combining this with:&lt;/P&gt;&lt;P&gt;Management Zones,&lt;BR /&gt;IAM policies to limit data visibility,&lt;BR /&gt;naming standards and change review processes.&lt;/P&gt;&lt;P&gt;Unfortunately, the Settings API itself doesn't currently provide a way to say, "this token may only manage alert settings for this specific team."&lt;/P&gt;&lt;P&gt;I'd be interested to hear how other customers approach this, but my impression is that larger organizations generally prefer a centralized GitOps/Monitoring-as-Code workflow over distributing settings:write tokens directly to power users.&lt;BR /&gt;&lt;BR /&gt;Also, if you're looking at delegating permissions, I'd recommend spending some time on IAM policies rather than relying solely on API token scopes. We built a small Dynatrace Policy Calculator that helps generate least-privilege IAM policies for common use cases, which can be useful when designing roles for power users while keeping permissions as limited as possible:&lt;BR /&gt;&lt;A href="https://omnilogy.pl/en/policy-manager" target="_self"&gt;Omnilogy Policy Manager / Policy Calculator&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jun 2026 12:40:10 GMT</pubDate>
    <dc:creator>t_pawlak</dc:creator>
    <dc:date>2026-06-29T12:40:10Z</dc:date>
    <item>
      <title>How do you allow power users to configure alerts via API without overprivileging them?</title>
      <link>https://community.dynatrace.com/t5/Alerting/How-do-you-allow-power-users-to-configure-alerts-via-API-without/m-p/301302#M6392</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;We’re currently trying to figure out how other Dynatrace customers handle alert configuration via the API, especially when delegating this to power users in different development areas.&lt;/P&gt;
&lt;P&gt;Up until now, we’ve mostly managed everything through the Dynatrace GUI. We’re not very mature yet in monitoring as code or in using the API extensively, but we can tell we’re reaching a point where we need to start doing things more systematically.&lt;/P&gt;
&lt;P&gt;Our idea was:&lt;/P&gt;
&lt;P&gt;- Give each development area its own API token&lt;BR /&gt;- Let those teams configure their own alerts via the API&lt;/P&gt;
&lt;P&gt;However, from what I can see, alert configuration uses the Settings API, which in turn requires the settings:write scope. My understanding is that this scope allows write access to all settings configurations across the platform, not just alerting related ones.&lt;/P&gt;
&lt;P&gt;That raises a few questions:&lt;/P&gt;
&lt;P&gt;1. Is settings:write really all‑or‑nothing, or is there a way to scope it down to specific settings schemas or domains?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;2. How are other customers handling this in practice?&lt;BR /&gt;- Do you actually give settings:write tokens to dev teams/power users?&lt;BR /&gt;- Do you restrict them in some other way?&lt;BR /&gt;&lt;BR /&gt;3. Are there recommended patterns or best practices from Dynatrace for:&lt;BR /&gt;- Delegating alert configuration safely&lt;BR /&gt;- Avoiding “too much power” with a single token&lt;/P&gt;
&lt;P&gt;Any examples of how you structure roles, tokens, or processes around this would be really helpful. We’re trying to balance flexibility for teams with not opening up the entire settings surface area.&lt;/P&gt;
&lt;P&gt;In general, we just want users to be able to manage alerting to their liking in the best way possible; maybe we are overthinking it with the API solution.&lt;/P&gt;
&lt;P&gt;Thanks in advance for any insights or patterns you can share!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2026 12:39:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/How-do-you-allow-power-users-to-configure-alerts-via-API-without/m-p/301302#M6392</guid>
      <dc:creator>rsmsdk</dc:creator>
      <dc:date>2026-06-30T12:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do you allow power users to configure alerts via API without overprivileging them?</title>
      <link>https://community.dynatrace.com/t5/Alerting/How-do-you-allow-power-users-to-configure-alerts-via-API-without/m-p/301317#M6393</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As far as I know, settings:write is not currently granular. It grants write access through the Settings API, and it cannot be scoped down to specific settings schemas (for example, only alerting-related settings). In practice, a token with settings:write can modify a much broader set of platform configuration than just alert definitions.&lt;/P&gt;&lt;P&gt;Because of that, I personally wouldn't hand out settings:write API tokens directly to development teams.&lt;/P&gt;&lt;P&gt;The patterns that seem to work best are:&lt;/P&gt;&lt;P&gt;Monitoring as Code – store alert definitions in Git (Terraform, Monaco, or your own deployment pipeline) and let a CI/CD pipeline deploy them using a centrally managed token with settings:write.&lt;BR /&gt;Broker/API layer – teams submit requests to an internal service or workflow, which validates things like Management Zones, naming conventions, or allowed alert types before calling the Dynatrace Settings API.&lt;BR /&gt;GUI + IAM roles – if the volume of changes is relatively low, using the UI with well-designed IAM roles and policies may actually be the simpler and safer option.&lt;/P&gt;&lt;P&gt;If your goal is to delegate ownership to individual teams, I'd also recommend combining this with:&lt;/P&gt;&lt;P&gt;Management Zones,&lt;BR /&gt;IAM policies to limit data visibility,&lt;BR /&gt;naming standards and change review processes.&lt;/P&gt;&lt;P&gt;Unfortunately, the Settings API itself doesn't currently provide a way to say, "this token may only manage alert settings for this specific team."&lt;/P&gt;&lt;P&gt;I'd be interested to hear how other customers approach this, but my impression is that larger organizations generally prefer a centralized GitOps/Monitoring-as-Code workflow over distributing settings:write tokens directly to power users.&lt;BR /&gt;&lt;BR /&gt;Also, if you're looking at delegating permissions, I'd recommend spending some time on IAM policies rather than relying solely on API token scopes. We built a small Dynatrace Policy Calculator that helps generate least-privilege IAM policies for common use cases, which can be useful when designing roles for power users while keeping permissions as limited as possible:&lt;BR /&gt;&lt;A href="https://omnilogy.pl/en/policy-manager" target="_self"&gt;Omnilogy Policy Manager / Policy Calculator&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2026 12:40:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/How-do-you-allow-power-users-to-configure-alerts-via-API-without/m-p/301317#M6393</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2026-06-29T12:40:10Z</dc:date>
    </item>
  </channel>
</rss>

