Host Scanning

With Host Scanning, Sysdig is now able to check for vulnerabilities in the host operating system, whether OS (e.g rpm, dpkg) or non-OS (e.g. Java packages, Ruby gems). This contrasts with all other Sysdig scanning tools, which are focused on container images, rather than the host itself.

The analyzer component of host scanning works by inspecting the files on the host root filesystem, looking for installed packages, and sending them to the Sysdig backend.

By default, host scanning:

  • Is triggered every 24 hours

  • Includes a default list of directories that are scanned by the analyzer.

It is possible to configure the schedule and/or the list of directories to be scanned using the Host Scanning Configuration Options if needed.

The feature is installed using the Node Analyzer component and is currently available for Sysdig Secure SaaS.

Supported Operating Systems

Supported OSs:

  • Ubuntu 16.04, 18.04, 20.04

  • RedHat Enterprise Linux 7, 8

  • Debian 8, 9, 10

  • Amazon Linux 2

Unsupported OSs:

  • RedHat CoreOS (currently not supported)

  • Google COS (this system does not have a package manager or standard packages and therefore cannot be supported)

Access Host Scanning

  1. Follow the steps for the Node Analyzer: Multi-Feature Installation.

  2. Log in to Sysdig Secure with at least Advanced User privileges.

    Note

    The results you can see in the Host Scanning list are affected by your user and team privileges.

  3. Select Scanning > Hosts. The Host Scanning list page is displayed.

    host_scan1.png

    From here you can:

Search Results or Filter by Scope

On the Host Scanning landing page, you can:

  • Search: by hostname, mac, cluster name

  • Filter by Team Scope: Your active team scope is applied when viewing Host Scanning results, but you can further narrow down from Entire Infrastructure using the scope filters.

    scope_host_results.png

    You can compose a scope filter using various operators (in, not-in, equal, not-equal, etc.).

    scope_host2.png

Then proceed to review the vulnerabilities.

Purge Disabled Hosts

On the Host Scanning list page, click the three dot selector on the far right to access the Purge Disabled Hosts from Scope button.

purge.png

Use this feature for hosts that have been removed from your cluster, to ensure they are also removed from the host scan list page.

Review Host Vulnerabilities

There are multiple ways to access the result details:

  • Select a host (line item) from the landing page, or

  • Choose View Vulnerabilities from the expanded selector at the end of a line item

    view.png

Either choice opens a Host Results page.

host_scan_results.png

From the Host Results page, you can:

  • Filter by severity and whether the vulnerability has a fix

    host_filter1.png
  • Select a vulnerability to review details and remediation steps in a pull-out

    host_vuln_detail.png
  • Compare earlier results and/or view the diff

    By default, host scans are run every 24 hours, so you can view the Current results, the Previous (one day ago) results, or the Difference in findings between the two.

    view_diff.png

    If nothing was changed or fixed between the two scans, the findings will look the same. The summary is displayed.

    summary.png
  • Download report as a CSV or JSON file

    download_csv.png

See Scanning Results for Containers on the Host

For any given host, you can also check the image scan results of its containers from the Host Scanning landing page.

  1. Select Scanning > Hosts.

  2. Hover over a line item and choose View Runtime Images from the far-right selector.

    The Scanning Results page is displayed, showing the detailed runtime scanning results for the containers on your selected host.