Install or Upgrade the CLI

You must download the Tenable Cloud Security CLI before you can use it in a CI/CD job. The procedure to install the Tenable Cloud Security CLI varies for each operating system. You can also upgrade to the latest version of the Tenable Cloud Security CLI on macOS and Linux.

Before you begin:

  • You must have a Tenable Cloud Security user account with an Operator role.

  • Create a project in the Tenable Cloud Security Console to scan the IaC repository to use for the CI/CD builds.

  • Download the configuration file.

Install the Tenable Cloud Security from the Web Console

To download and install the Tenable Cloud Security CLI:

  1. Access Tenable Cloud Security.

  2. On the Home page, click the project for which you want to download the Tenable Cloud Security CLI.

  3. On the Project details panel, click the CLI download link.

    The CLI usage instructions window appears.

  4. Select the target operating system you are planning to execute the CLI on from the OS drop-down list and click .

    The CLI installation executable file is downloaded depending on your selection of operating system.

  5. Give execute permission to the downloaded CLI file. For example, chmod +x accurics.

Install or Upgrade the Tenable Cloud Security CLI from Homebrew

Tenable Cloud Security CLI is also available on Homebrew. You can upgrade the CLI only on Linux and macOS.

To install or upgrade the Tenable Cloud Security CLI on a macOS or Linux system:

  1. Run brew update.

  2. Run one of the following commands:

    • brew install accurics

    • brew upgrade accurics

What to do next:

Place the Tenable Cloud Security executable and the Tenable Cloud Security configuration file in the CI/CD build repository.