<def-group>
  <definition class="compliance" id="kernel_module_ipv6_option_disabled" version="1">
    {{{ oval_metadata("The disable option will allow the IPv6 module to be inserted, but prevent address assignment and activation of the network stack.", rule_title=rule_title) }}}
    <criteria>
      <criterion test_ref="test_kernel_module_ipv6_option_disabled" comment="ipv6 disabled any modprobe conf file"/>
    </criteria>
  </definition>
  <ind:textfilecontent54_test id="test_kernel_module_ipv6_option_disabled" version="1" check="all" comment="ipv6 disabled any modprobe conf file">
    <ind:object object_ref="object_kernel_module_ipv6_option_disabled"/>
  </ind:textfilecontent54_test>
  <ind:textfilecontent54_object id="object_kernel_module_ipv6_option_disabled" version="1" comment="ipv6 disabled any modprobe conf file">
    <ind:path>/etc/modprobe.d</ind:path>
    <ind:filename operation="pattern match">^.*\.conf$</ind:filename>
    <ind:pattern operation="pattern match">^\s*options\s+ipv6\s+.*disable=1.*$</ind:pattern>
    <ind:instance datatype="int">1</ind:instance>
  </ind:textfilecontent54_object>
</def-group>
