File: oval.template

package info (click to toggle)
scap-security-guide 0.1.78-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 114,600 kB
  • sloc: xml: 245,305; sh: 84,381; python: 33,093; makefile: 27
file content (14 lines) | stat: -rw-r--r-- 619 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<def-group>
<definition class="compliance" id="{{{ _RULE_ID }}}" version="1">
  {{{ oval_metadata("The " + pkg_system|upper + " package " + PACKAGES | join(" and ") + " should be removed.", affected_platforms=["multi_platform_all"], rule_title=rule_title) }}}
  <criteria>
  {{% for package in PACKAGES %}}
    <criterion comment="package {{{ package }}} is removed" test_ref="test_package_{{{ package }}}_removed" />
  {{% endfor %}}
  </criteria>
</definition>
{{% for package in PACKAGES %}}
{{{ oval_test_package_removed(package=package, test_id="test_package_"+package+"_removed") }}}
{{% endfor %}}

</def-group>