Using the OpenSCAP daemon on Ubuntu 18.04

The OpenSCAP daemon is currently available for Ubuntu 18.04 and Fedora in their respective repositories, but not for RHEL or CentOS. Although the package name is openscap-daemon, there's also a command-line component that goes with it. The daemon runs in the background, constantly checking for any tasks that you've created with the command-line utility. The command-line utility allows you to create scanning tasks in an interactive mode. It's a lot easier than crafting each scan command with the normal openscap utility, as we've done previously. However, there are a few downsides:

  • To install it on RHEL or CentOS, you'll have to download the source code and compile it yourself.
  • The documentation isn't ...

Get Mastering Linux Security and Hardening - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.