Install the compliance tooling

The CIS configuration can be enabled automatically using the Ubuntu Advantage Tool (also known as “UA tool” or “UA client”) on bare metal, virtual, and cloud environments. The version 27.1 or higher of the UA tool is required to use this method.

Install the UA client

If the UA tool is installed, use the following command to identify its version.

ua version

If necessary, use apt to install or upgrade to the latest version.

sudo apt update && sudo apt install ubuntu-advantage-tools

Attach the subscription

To access the CIS tooling a subscription needs to be attached.

Note: Ubuntu PRO instances on AWS, Azure, and GCP may skip the ua attach step. A UA token has already been attached to the system.

  1. Login at ubuntu.com/advantage using the account tied to your subscription.

  2. Expand your subscription and copy the token from the “subscriptions”.

  3. Attach your subscription with the command sudo ua attach <SUBSCRIPTION TOKEN>.

Set up the CIS packages

  1. Enable the CIS packages.
    sudo ua enable cis

  2. Verify that the system is attached to UA and has the CIS repository enabled.
    sudo ua status

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