TEST-POLICY-JSON-policyDef.xml

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<test-results xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="nunit_schema_2.5.xsd" name="Policy Definition Tests" total="45" errors="0" failures="0" not-run="0" inconclusive="0" ignored="0" skipped="0" invalid="0" date="2024-12-03" time="20:41:15">
  <environment machine-name="Personal-MacBook.local" user-domain="" platform="Darwin" nunit-version="2.5.8.0" os-version="24.1.0" user="tao" cwd="/Users/tao/git/AzPolicyTest/AzPolicyTest" clr-version="8.0.10" />
  <culture-info current-culture="en-AU" current-uiculture="en-AU" />
  <test-suite type="TestFixture" name="Policy Definition Tests" executed="True" result="Success" success="True" time="0.1577" asserts="0" description="Pester">
    <results>
      <test-suite type="TestFixture" name="/Users/tao/git/AzPolicyTest/AzPolicyTest/policyDefStructure.tests.ps1" executed="True" result="Success" success="True" time="0.1577" asserts="0" description="/Users/tao/git/AzPolicyTest/AzPolicyTest/policyDefStructure.tests.ps1">
        <results>
          <test-suite type="TestFixture" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test" executed="True" result="Success" success="True" time="0.0521" asserts="0" description="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test">
            <results>
              <test-suite type="TestFixture" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Required Top-Level Elements Test" executed="True" result="Success" success="True" time="0.0043" asserts="0" description="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Required Top-Level Elements Test">
                <results>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element name" executed="True" result="Success" success="True" time="0.0012" asserts="0" description="Should contain top-level element name">
                    <results>
                      <test-case description="Should contain top-level element name" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element name(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0012" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element - properties" executed="True" result="Success" success="True" time="0.0008" asserts="0" description="Should contain top-level element - properties">
                    <results>
                      <test-case description="Should contain top-level element - properties" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element - properties(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0008" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                </results>
              </test-suite>
              <test-suite type="TestFixture" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test" executed="True" result="Success" success="True" time="0.009" asserts="0" description="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test">
                <results>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not be null" executed="True" result="Success" success="True" time="0.0008" asserts="0" description="Name value must not be null">
                    <results>
                      <test-case description="Name value must not be null" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not be null(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0008" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not be longer than 64 characters" executed="True" result="Success" success="True" time="0.0007" asserts="0" description="Name value must not be longer than 64 characters">
                    <results>
                      <test-case description="Name value must not be longer than 64 characters" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not be longer than 64 characters(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not contain spaces" executed="True" result="Success" success="True" time="0.0008" asserts="0" description="Name value must not contain spaces">
                    <results>
                      <test-case description="Name value must not contain spaces" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not contain spaces(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0008" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not contain forbidden characters" executed="True" result="Success" success="True" time="0.001" asserts="0" description="Name value must not contain forbidden characters">
                    <results>
                      <test-case description="Name value must not contain forbidden characters" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Elements Value Test.Name value must not contain forbidden characters(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.001" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                </results>
              </test-suite>
              <test-suite type="TestFixture" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test" executed="True" result="Success" success="True" time="0.0287" asserts="0" description="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test">
                <results>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'displayName' element" executed="True" result="Success" success="True" time="0.0025" asserts="0" description="Properties must contain 'displayName' element">
                    <results>
                      <test-case description="Properties must contain 'displayName' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'displayName' element(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0025" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not be longer than 128 characters" executed="True" result="Success" success="True" time="0.0008" asserts="0" description="'displayName' value must not be longer than 128 characters">
                    <results>
                      <test-case description="'displayName' value must not be longer than 128 characters" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not be longer than 128 characters(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0008" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not have leading and trailing spaces" executed="True" result="Success" success="True" time="0.0008" asserts="0" description="'displayName' value must not have leading and trailing spaces">
                    <results>
                      <test-case description="'displayName' value must not have leading and trailing spaces" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not have leading and trailing spaces(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0008" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not end with a period '.'" executed="True" result="Success" success="True" time="0.001" asserts="0" description="'displayName' value must not end with a period '.'">
                    <results>
                      <test-case description="'displayName' value must not end with a period '.'" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'displayName' value must not end with a period '.'(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.001" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'description' element" executed="True" result="Success" success="True" time="0.0008" asserts="0" description="Properties must contain 'description' element">
                    <results>
                      <test-case description="Properties must contain 'description' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'description' element(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0008" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'description' value must not be longer than 512 characters" executed="True" result="Success" success="True" time="0.0007" asserts="0" description="'description' value must not be longer than 512 characters">
                    <results>
                      <test-case description="'description' value must not be longer than 512 characters" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'description' value must not be longer than 512 characters(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'description' value must not have leading and trailing spaces" executed="True" result="Success" success="True" time="0.0008" asserts="0" description="'description' value must not have leading and trailing spaces">
                    <results>
                      <test-case description="'description' value must not have leading and trailing spaces" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'description' value must not have leading and trailing spaces(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0008" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'metadata' element" executed="True" result="Success" success="True" time="0.0019" asserts="0" description="Properties must contain 'metadata' element">
                    <results>
                      <test-case description="Properties must contain 'metadata' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'metadata' element(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0019" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'mode' element" executed="True" result="Success" success="True" time="0.0008" asserts="0" description="Properties must contain 'mode' element">
                    <results>
                      <test-case description="Properties must contain 'mode' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'mode' element(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0008" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Policy mode must have a valid value." executed="True" result="Success" success="True" time="0.0008" asserts="0" description="Policy mode must have a valid value.">
                    <results>
                      <test-case description="Policy mode must have a valid value." name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Policy mode must have a valid value.(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0008" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'parameters' element" executed="True" result="Success" success="True" time="0.0007" asserts="0" description="Properties must contain 'parameters' element">
                    <results>
                      <test-case description="Properties must contain 'parameters' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'parameters' element(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'parameters' element must contain at least one (1) item" executed="True" result="Success" success="True" time="0.0007" asserts="0" description="'parameters' element must contain at least one (1) item">
                    <results>
                      <test-case description="'parameters' element must contain at least one (1) item" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'parameters' element must contain at least one (1) item(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'parameters' element must contain no more than twenty (20) items" executed="True" result="Success" success="True" time="0.0007" asserts="0" description="'parameters' element must contain no more than twenty (20) items">
                    <results>
                      <test-case description="'parameters' element must contain no more than twenty (20) items" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'parameters' element must contain no more than twenty (20) items(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'policyRule' element" executed="True" result="Success" success="True" time="0.0007" asserts="0" description="Properties must contain 'policyRule' element">
                    <results>
                      <test-case description="Properties must contain 'policyRule' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'policyRule' element(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'DisplayName' value must not be blank" executed="True" result="Success" success="True" time="0.0006" asserts="0" description="'DisplayName' value must not be blank">
                    <results>
                      <test-case description="'DisplayName' value must not be blank" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'DisplayName' value must not be blank(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0006" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'Description' value must not be blank" executed="True" result="Success" success="True" time="0.0017" asserts="0" description="'Description' value must not be blank">
                    <results>
                      <test-case description="'Description' value must not be blank" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'Description' value must not be blank(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0017" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Must contain 'Category' metadata" executed="True" result="Success" success="True" time="0.0007" asserts="0" description="Must contain 'Category' metadata">
                    <results>
                      <test-case description="Must contain 'Category' metadata" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Must contain 'Category' metadata(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Must contain 'Version' metadata" executed="True" result="Success" success="True" time="0.0007" asserts="0" description="Must contain 'Version' metadata">
                    <results>
                      <test-case description="Must contain 'Version' metadata" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.Must contain 'Version' metadata(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'Version' metadata value must be a valid semantic version" executed="True" result="Success" success="True" time="0.0007" asserts="0" description="'Version' metadata value must be a valid semantic version">
                    <results>
                      <test-case description="'Version' metadata value must be a valid semantic version" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Definition Properties Value Test.'Version' metadata value must be a valid semantic version(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                </results>
              </test-suite>
              <test-suite type="TestFixture" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Parameters Tests" executed="True" result="Success" success="True" time="0.0373" asserts="0" description="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Parameters Tests">
                <results>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [&lt;parameterName&gt;] must contain 'type' element" executed="True" result="Success" success="True" time="0.0015" asserts="0" description="Parameter [&lt;parameterName&gt;] must contain 'type' element">
                    <results>
                      <test-case description="Parameter [effect] must contain 'type' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] must contain 'type' element" time="0.0008" asserts="0" success="True" result="Success" executed="True" />
                      <test-case description="Parameter [evaluationDelay] must contain 'type' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [evaluationDelay] must contain 'type' element" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [&lt;parameterName&gt;] default value must be a member of allowed values" executed="True" result="Success" success="True" time="0.0007" asserts="0" description="Parameter [&lt;parameterName&gt;] default value must be a member of allowed values">
                    <results>
                      <test-case description="Parameter [effect] default value must be a member of allowed values" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] default value must be a member of allowed values" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [&lt;parameterName&gt;] must have a valid value for the 'type' element" executed="True" result="Success" success="True" time="0.0014" asserts="0" description="Parameter [&lt;parameterName&gt;] must have a valid value for the 'type' element">
                    <results>
                      <test-case description="Parameter [effect] must have a valid value for the 'type' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] must have a valid value for the 'type' element" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                      <test-case description="Parameter [evaluationDelay] must have a valid value for the 'type' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [evaluationDelay] must have a valid value for the 'type' element" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [&lt;parameterName&gt;] metadata must contain 'displayName' element" executed="True" result="Success" success="True" time="0.0025" asserts="0" description="Parameter [&lt;parameterName&gt;] metadata must contain 'displayName' element">
                    <results>
                      <test-case description="Parameter [effect] metadata must contain 'displayName' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] metadata must contain 'displayName' element" time="0.0019" asserts="0" success="True" result="Success" executed="True" />
                      <test-case description="Parameter [evaluationDelay] metadata must contain 'displayName' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [evaluationDelay] metadata must contain 'displayName' element" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [&lt;parameterName&gt;] metadata must contain 'description' element" executed="True" result="Success" success="True" time="0.0014" asserts="0" description="Parameter [&lt;parameterName&gt;] metadata must contain 'description' element">
                    <results>
                      <test-case description="Parameter [effect] metadata must contain 'description' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [effect] metadata must contain 'description' element" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                      <test-case description="Parameter [evaluationDelay] metadata must contain 'description' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Parameters Tests.Parameter [evaluationDelay] metadata must contain 'description' element" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                </results>
              </test-suite>
              <test-suite type="TestFixture" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Rule Test" executed="True" result="Success" success="True" time="0.0408" asserts="0" description="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Rule Test">
                <results>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Rule Test.Policy Rule must contain 'if' element" executed="True" result="Success" success="True" time="0.0008" asserts="0" description="Policy Rule must contain 'if' element">
                    <results>
                      <test-case description="Policy Rule must contain 'if' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Rule Test.Policy Rule must contain 'if' element(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0008" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Rule Test.Policy Rule must contain 'then' element" executed="True" result="Success" success="True" time="0.0018" asserts="0" description="Policy Rule must contain 'then' element">
                    <results>
                      <test-case description="Policy Rule must contain 'then' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Rule Test.Policy Rule must contain 'then' element(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0018" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                </results>
              </test-suite>
              <test-suite type="TestFixture" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Effect Test" executed="True" result="Success" success="True" time="0.0448" asserts="0" description="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Effect Test">
                <results>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule should have parameterised effect" executed="True" result="Success" success="True" time="0.0009" asserts="0" description="Policy Rule should have parameterised effect">
                    <results>
                      <test-case description="Policy Rule should have parameterised effect" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule should have parameterised effect(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0009" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule parameterised effect should contain 'Disabled' effect" executed="True" result="Success" success="True" time="0.0007" asserts="0" description="Policy Rule parameterised effect should contain 'Disabled' effect">
                    <results>
                      <test-case description="Policy Rule parameterised effect should contain 'Disabled' effect" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule parameterised effect should contain 'Disabled' effect(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule parameterised effect should have a default value" executed="True" result="Success" success="True" time="0.0007" asserts="0" description="Policy Rule parameterised effect should have a default value">
                    <results>
                      <test-case description="Policy Rule parameterised effect should have a default value" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule parameterised effect should have a default value(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule must use a valid effect" executed="True" result="Success" success="True" time="0.0007" asserts="0" description="Policy Rule must use a valid effect">
                    <results>
                      <test-case description="Policy Rule must use a valid effect" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Policy Effect Test.Policy Rule must use a valid effect(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                </results>
              </test-suite>
              <test-suite type="TestFixture" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Non DeployIfNotExists or Modify Effect Policy Configuration Test" executed="True" result="Success" success="True" time="0.0464" asserts="0" description="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Non DeployIfNotExists or Modify Effect Policy Configuration Test">
                <results>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Non DeployIfNotExists or Modify Effect Policy Configuration Test.Policy rule must not contain a 'roleDefinitionIds' element" executed="True" result="Success" success="True" time="0.0008" asserts="0" description="Policy rule must not contain a 'roleDefinitionIds' element">
                    <results>
                      <test-case description="Policy rule must not contain a 'roleDefinitionIds' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.Non DeployIfNotExists or Modify Effect Policy Configuration Test.Policy rule must not contain a 'roleDefinitionIds' element(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0008" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                </results>
              </test-suite>
              <test-suite type="TestFixture" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.AuditIfNotExists Effect Configuration Test" executed="True" result="Success" success="True" time="0.0512" asserts="0" description="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.AuditIfNotExists Effect Configuration Test">
                <results>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.AuditIfNotExists Effect Configuration Test.Policy rule 'then' element Must contain a 'details' element" executed="True" result="Success" success="True" time="0.0009" asserts="0" description="Policy rule 'then' element Must contain a 'details' element">
                    <results>
                      <test-case description="Policy rule 'then' element Must contain a 'details' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.AuditIfNotExists Effect Configuration Test.Policy rule 'then' element Must contain a 'details' element(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0009" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.AuditIfNotExists Effect Configuration Test.Policy rule must contain a 'evaluationDelay' element" executed="True" result="Success" success="True" time="0.0007" asserts="0" description="Policy rule must contain a 'evaluationDelay' element">
                    <results>
                      <test-case description="Policy rule must contain a 'evaluationDelay' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.AuditIfNotExists Effect Configuration Test.Policy rule must contain a 'evaluationDelay' element(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.AuditIfNotExists Effect Configuration Test.Policy rule must contain a 'existenceCondition' element" executed="True" result="Success" success="True" time="0.0007" asserts="0" description="Policy rule must contain a 'existenceCondition' element">
                    <results>
                      <test-case description="Policy rule must contain a 'existenceCondition' element" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.AuditIfNotExists Effect Configuration Test.Policy rule must contain a 'existenceCondition' element(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0007" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.AuditIfNotExists Effect Configuration Test.Policy rule existenceCondition must not be empty" executed="True" result="Success" success="True" time="0.0008" asserts="0" description="Policy rule existenceCondition must not be empty">
                    <results>
                      <test-case description="Policy rule existenceCondition must not be empty" name="[./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json]: Policy Definition Syntax Test.AuditIfNotExists Effect Configuration Test.Policy rule existenceCondition must not be empty(@{name=pol-audit-storage-account-pe; properties=},&quot;pol-audit-storage-account-pe.json&quot;,System.Collections.Hashtable,&quot;./test_definitions/policies/storage-account/pol-audit-storage-account-pe.json&quot;)" time="0.0008" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                </results>
              </test-suite>
            </results>
          </test-suite>
        </results>
      </test-suite>
    </results>
  </test-suite>
</test-results>