<def-group>
  <definition class="compliance" id="disable_ctrlaltdel_burstaction" version="1">
    {{{ oval_metadata("Configure the CtrlAltDelBurstAction setting in /etc/systemd/system.conf
      or /etc/systemd/system.conf.d/* to none to prevent a reboot if Ctrl-Alt-Delete is
      pressed more than 7 times in 2 seconds.", rule_title=rule_title) }}}
    <criteria>
      <criterion comment="check CtrlAltDelBurstAction is set to none"
      test_ref="test_disable_ctrlaltdel_burstaction" />
    </criteria>
  </definition>

  <ind:textfilecontent54_test check="all" check_existence="all_exist"
  comment="check if CtrlAltDelBurstAction is set to none"
  id="test_disable_ctrlaltdel_burstaction" version="1">
    <ind:object object_ref="obj_disable_ctrlaltdel_burstaction" />
  </ind:textfilecontent54_test>

  <ind:textfilecontent54_object id="obj_disable_ctrlaltdel_burstaction" version="1">
    <ind:filepath operation="pattern match">^/etc/systemd/system.conf(\.d/.*\.conf)?$</ind:filepath>
    <ind:pattern operation="pattern match">^[\s]*CtrlAltDelBurstAction[\s]*=[\s]*none$</ind:pattern>
    <ind:instance datatype="int">1</ind:instance>
  </ind:textfilecontent54_object>

</def-group>
