Skip to content

Ultimate Hardening 2.6.0

Choose a tag to compare

@Kal1010101 Kal1010101 released this 15 Nov 01:06
· 77 commits to main since this release

Feature release. The compliance checks can print JSON or SARIF for scripts, CI and code scanning, UH_SKIP_SETTINGS leaves single settings alone instead of whole modules, the Docker dry run says what this host would get, and a new Ansible role hardens a fleet.

Added

  • --json and --sarif print the compliance results as JSON or SARIF 2.1.0
    on stdout, with everything else on stderr, for scripts, CI and code
    scanning. JSON gives the score and, per check, an id, title, result,
    detail, owning module and suggested fix; SARIF lists each failed check as a
    result with the file it concerns.
  • UH_SKIP_SETTINGS leaves single settings alone (sshd keywords, login.defs
    keys, sysctl keys; shell patterns work) instead of skipping their whole
    module. Skipped settings are named in the output and counted by
    --dry-run, and revert does not record them.
  • An Ansible role in ansible/: installs the release package after checking
    it against SHA256SUMS, then previews, applies or scores the hardening and
    can save each host's results as JSON. It defaults to a dry run, --check
    runs the tool's dry run, and tests/ansible/run.sh tests it in containers.
  • --dry-run for module 17 (Docker) now says what a real run would do on
    this host: whether userns-remap would be turned on, and whether Docker
    would be restarted or left alone so running containers keep going.

Changed

  • Module 17 warns when two or more running containers share Docker's default
    bridge network, since turning off inter-container traffic stops them
    reaching each other there.
  • The README's Quick start begins with a throwaway-container demo and the
    checksum-verified package install. The pricing table moved to the website.