Skip to content

v1.4.1 — Tabs that show what is stored; SCAP scans match OpenSCAP

Latest

Choose a tag to compare

@noahfarshad noahfarshad released this 04 Nov 04:29

STIG Triage 1.4.1 fixes a browser tab that kept showing checklists after they were cleared, and the SCAP scanning faults found by comparing a scan with OpenSCAP rule by rule.

Tabs show what is stored. Each tab loaded the workspace once and kept it, so after Clear the workspace in another tab, or a scan or import from the command line, an older tab showed the old checklists again on its next page. Every page now loads the workspace afresh, and a tab that comes back into view reloads it and redraws, unless something typed on the page would be lost. Clearing also empties the Scan page's list of earlier scans, the button shows whenever anything is stored, a clear that fails says why, and the empty state is saved before anything in memory changes, so a clear that could not be saved no longer undoes itself on the next start.

SCAP scans match OpenSCAP. A scan of a CentOS Stream 9 server with the SCAP Security Guide 0.1.82's DISA STIG profile was compared rule by rule with OpenSCAP 1.3.16. The first comparison differed on 7 rules. 1.4.1 matches on all 477: 166 pass, 252 fail, 49 not applicable and 10 not checked.

  • A check for a vendor's signing key never found it: the package list skipped the gpg-pubkey entries.
  • XCCDF requires and conflicts were ignored, so four core dump rules the profile turns off were checked anyway.
  • Two checks used OVAL tests the engine did not run yet, rpmverifyfile and xmlfilecontent, and were left Not Reviewed. Both run now.
  • A checklist from content that is not a DISA STIG held all 1,540 rules of the data stream. It holds the profile's 477 now.

None of this changes a result from DISA's RHEL 9 benchmark, which uses none of those constructs. That benchmark covers RHEL 9 only: on CentOS Stream the scan skips the host as not a covered platform, as OpenSCAP marks every rule not applicable. For CentOS Stream, scan with the SCAP Security Guide's data stream for it.

Downloads

File What it is
stig-triage-1.4.1.zip stig-triage, stig-triage-offline and stig-triage-cli for Windows (windows-x64) and Linux (linux-x64), with SHA256SUMS.txt, BUILDINFO.txt, the README and the licenses
stig-triage-1.4.1-source.tar.gz The source with every dependency vendored. ./build.sh all rebuilds the six programs on a Linux machine with Go 1.25 or later and no network connection
SHA256SUMS.txt, BUILDINFO.txt The programs' hashes, and the commit, toolchain and source package they were built from

The builds are reproducible: building the source package with the Go version in BUILDINFO.txt gives the hashes in SHA256SUMS.txt.

feb6497812cae83f34821e28d414f0bc07e2ccb4d215469748630351d58ccb11  stig-triage-1.4.1.zip
e892b7a6fe531eee6ae5a3254e7c28c05155d9a7882444b79aa8f5e21ee11ce8  stig-triage-1.4.1-source.tar.gz
STIG Triage 1.4.1
Commit:    75919179d4c4e5dca1959287abfc51f2750a548c
Toolchain: go1.26.10 (CGO_ENABLED=0, -trimpath -buildvcs=false, vendored dependencies)
Source:    e892b7a6fe531eee6ae5a3254e7c28c05155d9a7882444b79aa8f5e21ee11ce8  stig-triage-1.4.1-source.tar.gz

Built from the source package with ./build.sh all. Building that package with the same Go
version gives the same SHA-256 hashes as SHA256SUMS.txt.

Changes in 1.4.1

A scan of a CentOS Stream 9 server was compared rule by rule with OpenSCAP 1.3.16, using the SCAP Security Guide 0.1.82's DISA STIG profile. The results now match on all 477 rules: 166 pass, 252 fail, 49 not applicable and 10 not checked. The comparison found the SCAP fixes and the two tests added below.

Fixed

  • A browser tab showed checklists that were gone. Each tab loaded the workspace once and kept it, so after Clear the workspace in another tab, or a scan or import from the command line, an older tab showed the old checklists again on its next page. Every page now loads the workspace afresh, and a tab that comes back into view reloads it and redraws its page, unless something typed there would be lost. The Python version had the same fault and has the same fix.
  • Clear the workspace left the Scan page's list of earlier scans, whose CKL and CKLB links then led nowhere. Clearing empties it now; a scan still running stays. The button is there whenever anything is stored (checklists, groups, loaded DISA files or scan records), and a clear that fails says why instead of doing nothing.
  • A clear that could not be saved undid itself on the next start. The empty workspace is now saved before anything in memory changes. On Windows, where antivirus and sync tools such as OneDrive briefly hold a file they have just seen change, a save waits up to two seconds for them.
  • Removing a checklist left its host's scan results behind: the fixes the scan derived for the host, which then attached to checklists imported later, and how the host was reached, which stayed in the exported inventory.
  • SCAP scans:
    • A check for a vendor's signing key never found it. The package list skipped the gpg-pubkey entries those checks look for, so the SCAP Security Guide's key rules failed on every host. DISA's RHEL 9 benchmark has no such check.
    • XCCDF requires and conflicts were ignored, so rules a profile turns off that way were checked anyway. The SCAP Security Guide's RHEL 9 STIG profile turns off its four core dump rules like this. DISA's RHEL 9 benchmark uses neither.
    • A checklist built from SCAP content that is not a DISA STIG held every rule of the benchmark: 1,540 for the SCAP Security Guide's RHEL 9 data stream, of which its STIG profile selects 477. It holds the profile's rules now. A DISA checklist still holds every rule of the STIG.
    • The scan log counted rules outside the profile as rules with no automated check.

Added

  • Linux and UNIX scans run the OVAL rpmverifyfile test (each file of a package against the RPM database, as rpm -V checks it) and the xmlfilecontent test (an XPath 1.0 query on an XML file). Checks that use them were left Not Reviewed before.