Skip to content

Commit

Permalink
Move install_mcafee_hbss shared OVAL to the install_hids rule
Browse files Browse the repository at this point in the history
This rule is the only used of this "shared" OVAL.

On top of that the shared OVAL uses definitions from
the rule(s) of that group. Which is insane, and needs fixing,
but let's at least keep the insanity a bit more contained for
now.
  • Loading branch information
evgenyz committed Jan 9, 2024
1 parent 25bbd9a commit 990a7f5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
<def-group>

<definition class="compliance" id="install_mcafee_hbss"
version="1">
{{{ oval_metadata("Install McAfee Host-Based Intrusion Detection Software (HBSS)") }}}
<criteria operator="AND">
<extend_definition comment="McAfee HBSS" definition_ref="install_mcafee_cma_rt" />
<extend_definition comment="McAfee HBSS" definition_ref="install_mcafee_hbss_accm" />
<extend_definition comment="McAfee HBSS" definition_ref="package_MFEhiplsm_installed" />
<extend_definition comment="McAfee HBSS" definition_ref="install_mcafee_hbss_pa" />
</criteria>
</definition>

<definition class="compliance" id="install_hids"
version="1">
{{{ oval_metadata("Intrusion detection software or SELinux should be installed and enabled.") }}}
Expand Down
28 changes: 0 additions & 28 deletions shared/checks/oval/install_mcafee_hbss.xml

This file was deleted.

0 comments on commit 990a7f5

Please sign in to comment.