<?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: Restrict metric access via IAM policy in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/268073#M35451</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/35788"&gt;@DanielS&lt;/a&gt;, does that work in the Data Explorer too though? I think that's where the difference comes in, I was looking there &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've tested it again via Notebooks and it works as you've explained...yet in Data Explorer, the user can still see and access the metric. That's a bit of a problem, since some users who're not yet comfortable with Notebooks, will revert to using Data Explorer and still have access to the metrics they're not supposed to.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jan 2025 07:52:20 GMT</pubDate>
    <dc:creator>andre_vdveen</dc:creator>
    <dc:date>2025-01-22T07:52:20Z</dc:date>
    <item>
      <title>Restrict metric access via IAM policy</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/267598#M35371</link>
      <description>&lt;P&gt;Hi, is it possible to restrict user access to specific metrics via IAM policies? Based on the documentation, specifically the &lt;A title="storage:metrics:read" href="https://docs.dynatrace.com/docs/shortlink/iam-policystatements#storage-metrics-read" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;storage:metric.key&lt;/SPAN&gt;&lt;/A&gt;, it seems it is, but I'm curious if anyone's done it before and if so, what would the syntax look like?&lt;/P&gt;&lt;P&gt;The client wants to restrict access to e.g., Azure firewall metrics so that only certain people can see them and the datapoints.&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;BR /&gt;André&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 09:06:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/267598#M35371</guid>
      <dc:creator>andre_vdveen</dc:creator>
      <dc:date>2025-01-16T09:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict metric access via IAM policy</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/267620#M35375</link>
      <description>&lt;P&gt;Please check the ABAC approach in the documentation.&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/manage/identity-access-management/permission-management/manage-user-permissions-policies/advanced/migrate-roles#abac-implementation-in-your-dynatrace" target="_blank"&gt;https://docs.dynatrace.com/docs/manage/identity-access-management/permission-management/manage-user-permissions-policies/advanced/migrate-roles#abac-implementation-in-your-dynatrace&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The overall idea is to apply a boundary to a policy.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/manage/identity-access-management/permission-management/manage-user-permissions-policies/iam-policy-boundaries" target="_blank"&gt;https://docs.dynatrace.com/docs/manage/identity-access-management/permission-management/manage-user-permissions-policies/iam-policy-boundaries&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 11:33:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/267620#M35375</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2025-01-16T11:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict metric access via IAM policy</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/267658#M35383</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/40713"&gt;@PacoPorro&lt;/a&gt;, I reviewed the docs before posting here &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;The config I applied doesn't seem to work in my case, hence me hoping for an example or someone confirming it is actually possible to do it for specific metrics &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here's my policy and boundary syntax, perhaps I'm doing it wrong? I've applied the policy and boundary to my group, and added the user to the group.&lt;/P&gt;&lt;P&gt;Policy: ALLOW storage:metrics:read WHERE storage:metric.key='fragmentation.percentage';&lt;BR /&gt;Boundary: storage:metric.key='fragmentation.percentage';&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 15:57:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/267658#M35383</guid>
      <dc:creator>andre_vdveen</dc:creator>
      <dc:date>2025-01-16T15:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict metric access via IAM policy</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/267929#M35425</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/11931"&gt;@andre_vdveen&lt;/a&gt; I copy an example of what I have configured and it is working as expected. Hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielS_0-1737403997795.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25838iF3C26745D299539C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielS_0-1737403997795.png" alt="DanielS_0-1737403997795.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 20:14:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/267929#M35425</guid>
      <dc:creator>DanielS</dc:creator>
      <dc:date>2025-01-20T20:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict metric access via IAM policy</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/267982#M35432</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/35788"&gt;@DanielS&lt;/a&gt;&amp;nbsp;thanks for sharing.&lt;/P&gt;&lt;P&gt;I've set it up exactly as you have it there in the screenshots, and applied the policy to my group, then added my user to the group (allow access) and made sure my other user (test user, no access) is not in that group, but the test user still has access to the metric &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I must be doing something wrong here, clearly...&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 10:20:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/267982#M35432</guid>
      <dc:creator>andre_vdveen</dc:creator>
      <dc:date>2025-01-21T10:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict metric access via IAM policy</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/267983#M35433</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Is it possible that the test user has unrestricted access to the metric storage?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 10:25:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/267983#M35433</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2025-01-21T10:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict metric access via IAM policy</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/267985#M35434</link>
      <description>&lt;P&gt;Most likely, yes but I thought custom metrics like in my case, would not fall under the scope for a user that is only a member of the 'Monitoring viewer' group, no other.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 11:07:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/267985#M35434</guid>
      <dc:creator>andre_vdveen</dc:creator>
      <dc:date>2025-01-21T11:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict metric access via IAM policy</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/268062#M35448</link>
      <description>&lt;P&gt;Look, &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/11931"&gt;@andre_vdveen&lt;/a&gt; This is a test group, same policy as previous post, and if I remove everything except the monitoring viewer and keep/remove metrics permissions, the user loses or gains access.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielS_0-1737516130854.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25876i4091B065E083B40E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielS_0-1737516130854.png" alt="DanielS_0-1737516130854.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 03:24:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/268062#M35448</guid>
      <dc:creator>DanielS</dc:creator>
      <dc:date>2025-01-22T03:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict metric access via IAM policy</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/268073#M35451</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/35788"&gt;@DanielS&lt;/a&gt;, does that work in the Data Explorer too though? I think that's where the difference comes in, I was looking there &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've tested it again via Notebooks and it works as you've explained...yet in Data Explorer, the user can still see and access the metric. That's a bit of a problem, since some users who're not yet comfortable with Notebooks, will revert to using Data Explorer and still have access to the metrics they're not supposed to.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 07:52:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/268073#M35451</guid>
      <dc:creator>andre_vdveen</dc:creator>
      <dc:date>2025-01-22T07:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict metric access via IAM policy</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/268123#M35455</link>
      <description>&lt;P&gt;That's right &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/11931"&gt;@andre_vdveen&lt;/a&gt; for everything under the scope of the Classic Dynatrace I've managed everything with Management Zones and I allow or disallow metrics with the following rules:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielS_0-1737551091647.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25901iB9BFF5297DDB7D03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielS_0-1737551091647.png" alt="DanielS_0-1737551091647.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Grail data access policies do not work with the classic schema, so during the transition it is necessary to manage both schemas. It may be a bit cumbersome but today we must coexist with both worlds.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 13:11:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/268123#M35455</guid>
      <dc:creator>DanielS</dc:creator>
      <dc:date>2025-01-22T13:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict metric access via IAM policy</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/268413#M35514</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/11931"&gt;@andre_vdveen&lt;/a&gt;&amp;nbsp;, &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/35788"&gt;@DanielS&lt;/a&gt;&amp;nbsp;Kind of interesting discussion here.. Never noticed that because I often use DQL even for metrics but have you tried adding that metric to a MZ and then try restricting the user access based on MZs ?&lt;BR /&gt;Kind of always works&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; or even exploring segments might be a better option as this might replace MZs in far future&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face_with_tongue:"&gt;😜&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 05:19:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/268413#M35514</guid>
      <dc:creator>Maheedhar_T</dc:creator>
      <dc:date>2025-01-27T05:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict metric access via IAM policy</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/268488#M35520</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/76275"&gt;@Maheedhar_T&lt;/a&gt;&amp;nbsp; that's right, for all Dynatrace Classic, working with MZ is the way to restrict access. But under the scope of the Latest Dynatrace, the approach is different.&amp;nbsp; Thanks for joining the discussion.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 18:29:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/268488#M35520</guid>
      <dc:creator>DanielS</dc:creator>
      <dc:date>2025-01-27T18:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict metric access via IAM policy</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/268531#M35528</link>
      <description>&lt;P&gt;Yeah&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/35788"&gt;@DanielS&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Agreed. That's where using segments would be an alternative approach but again, we have to come back to using IAM to control the access of segments too.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 06:26:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Restrict-metric-access-via-IAM-policy/m-p/268531#M35528</guid>
      <dc:creator>Maheedhar_T</dc:creator>
      <dc:date>2025-01-28T06:26:06Z</dc:date>
    </item>
  </channel>
</rss>

