<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kkkzk</author_name>
  <author_url>https://blog.hatena.ne.jp/kkkzk/</author_url>
  <blog_title>みち草</blog_title>
  <blog_url>https://www.michikusayan.com/</blog_url>
  <categories>
    <anon>Azure</anon>
    <anon>Policy</anon>
    <anon>NSG</anon>
  </categories>
  <description>はじめに 今回は、Azureポリシーを用いてリソースの設定値を制限する方法の紹介です。 以前、AutomationにPowerShellスクリプトを登録して特定のNSGルールを検出し、SendGridでメール通知する、という記事を投稿しました。 www.michikusayan.com これだと結局メールを確認する必要があり面倒で、NSGの作成/変更を検出して何とかしたいなぁと調べたところ、 Azureポリシーで特定の設定値を禁止できそうだったため試してみました。 「ソースIPアドレスがAnyのNSGルールは作成不可」というルールを設定します。 2022/10 追記 : 本記事のポリシーよりも…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.michikusayan.com%2Fentry%2F20191124%2F1574578210&quot; title=&quot;AzureポリシーでNSGの設定値を制限する - みち草&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-11-24 15:50:10</published>
  <title>AzureポリシーでNSGの設定値を制限する</title>
  <type>rich</type>
  <url>https://www.michikusayan.com/entry/20191124/1574578210</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
