Your submission was sent successfully! Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

Auditing an Ubuntu 20.04 or 22.04 System for CIS compliance

Auditing

An Ubuntu system can be audited for the CIS rules using the usg command.

$ sudo usg audit <PROFILE>

with PROFILE being the same profiles as in the compliance section.

The usg audit command will automatically create an HTML report, to be viewed using a browser as well as an XML report and they will be stored at /var/lib/usg/.

Customizing the audit

Compliance with a benchmark is not an all-or-nothing task. Each environment is different and options that are considered as niche in one place can be essential in another. As such, USG allows to tailor the profile and remove unnecessary rules, as well as customize the rules that have multiple options available. See the customizing the profile section for more information.

This page was last modified 1 year, 6 months ago. Help improve this document in the forum.