Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SLE 12/15 rule and change package name #10580

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
{{% if product in ["sle12","sle15"] %}}
{{% set package_name = "libaudit" %}}
{{% else %}}
{{% set package_name = "audit-libs" %}}
{{% endif %}}

documentation_complete: true

title: 'Ensure the audit-libs package as a part of audit Subsystem is Installed'
title: 'Ensure the {{{ package_name }}} package as a part of audit Subsystem is Installed'

prodtype: sle12,sle15

description: 'The audit-libs package should be installed.'
description: 'The {{{ package_name }}} package should be installed.'

rationale: 'The auditd service is an access monitoring and accounting daemon, watching system calls to audit any access, in comparison with potential local access control policy such as SELinux policy.'

Expand All @@ -28,16 +34,24 @@ references:



ocil_clause: 'the audit package is not installed'
ocil_clause: 'the {{{ package_name }}} package is not installed'

{{% if product in ["sle12","sle15"] %}}
ocil: '{{{ ocil_package("libaudit") }}}'
{{% else %}}
ocil: '{{{ ocil_package("audit-libs") }}}'
{{% endif %}}

fixtext: |-
Install the audit-libs package (if the audit-libs package is not already installed) with the following command:

Install the {{{ package_name }}} package (if {{{ package_name }}} package is not already installed) with the following command:
{{% if product in ["sle12","sle15"] %}}
{{{ package_install("libaudit") }}}
{{% else %}}
{{{ package_install("audit-libs") }}}
{{% endif %}}

template:
name: package_installed
vars:
pkgname: audit-libs
pkgname@sle15: libaudit