Skip to content

Commit

Permalink
Better OVAL comments language
Browse files Browse the repository at this point in the history
Drop rpm for package checks, thanks to @dodys for the feedback 👍
  • Loading branch information
teacup-on-rockingchair committed Jul 27, 2023
1 parent 7db8bb6 commit eb140b8
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@
<extend_definition comment="sshd is not required or requirement is unset"
definition_ref="sshd_not_required_or_unset" />
{{% if product in ['opensuse', 'sle12', 'sle15'] %}}
<extend_definition comment="rpm package openssh removed"
<extend_definition comment="package openssh removed"
definition_ref="package_openssh_removed" />
{{% else %}}
<extend_definition comment="rpm package openssh-server removed"
<extend_definition comment="package openssh-server removed"
definition_ref="package_openssh-server_removed" />
{{% endif %}}
</criteria>
<criteria comment="sshd is installed and configured" operator="AND">
<extend_definition comment="sshd is required or requirement is unset"
definition_ref="sshd_required_or_unset" />
{{% if product in ['opensuse', 'sle12', 'sle15'] %}}
<extend_definition comment="rpm package openssh installed"
<extend_definition comment="package openssh installed"
definition_ref="package_openssh_installed" />
{{% else %}}
<extend_definition comment="rpm package openssh-server installed"
<extend_definition comment="package openssh-server installed"
definition_ref="package_openssh-server_installed" />
{{% endif %}}
<criterion comment="Check MACs in /etc/ssh/sshd_config"
Expand Down

0 comments on commit eb140b8

Please sign in to comment.