Skip to content

Releases

Shadow-Armor v0.6.0

Choose a tag to compare

@github-actions github-actions released this 02 Oct 19:58
e6ce1d0

Scan profiles: every scan runs one, chosen at launch.

Added

  • Three scan profiles, independent of the standards, each one running the controls of the lighter ones: basic (41 controls, the essential checks: remote access, accounts, updates, exposed services; for a private, temporary development server), advanced (147, the essentials plus targeted checks; for a private server that is not exposed) and complete (197, every control; for a production server, exposed to the Internet or running critical applications). sdw-armor scan --profile basic|advanced|complete, sdw-armor list --profiles, sdw-armor list --profile basic.
  • Without --profile, scan and harden (when it audits first) show the three profiles, their scope, the number of controls each one runs under the other filters and an example server, and ask. The answer can be a number, a key or a title in English or French.
  • Reports show the profile next to the grade (terminal, HTML, Markdown) and record it in the JSON (selection.profile, controls[].profile); sdw-armor diff warns when two reports ran different profiles, since their grades do not compare. scan --reboot-baseline reuses the profile of the baseline.

Changed

  • A scan needs a profile. Without a terminal (CI, cron, a script), a scan or a harden that audits first stops with exit code 2 and lists the profiles: add --profile. --level 1 and --level 2 are still accepted, as advanced and complete.
  • The catalog gives each control the lightest profile that runs it (profile) instead of a level; the InSpec tags carry profile, and level as before. docs/CONTROLS.md has a profile column and the profile table.
  • README (English and French): both have the same sections (the French one gains how it works, targets and modes, CI, inputs and waivers, requirements, security and privacy). The quick start installs through armor.shadow-security.fr and leaves the manual download and verification to docs/INSTALL.md; its examples show the web, database and hardware pillars (--pillar web|databases|hardware), the TLS and MySQL inputs, and that web server, database and firmware settings are fixed by hand.
  • README screenshots retaken with 0.6.0 on an Ubuntu 24.04 web server: the profile question in the live scan, the 15 pillars, a web and database scan, a container scan, harden, explain and diff. The home screen (sdw-armor alone) names the scan profiles and the web and database probes.
  • LICENSE carries its copyright notice, Copyright 2026 Shadow Security, in place of the template line of the Apache License 2.0 appendix.

Fixed

  • harden on Debian and Ubuntu refreshes the package lists before any install, not only for packages_present: on a host whose lists were never fetched (minimal and container images), libpam-pwquality (SA-09.01, and SA-09.02 with it), ufw and unattended-upgrades could not be located and the fix failed silently, leaving the control failing at the re-audit.
  • Terminal output on narrow terminals: the scan profile question, the harden summary (warning and journal lines), the report footer and the NEXT steps no longer wrap in the middle of a word; the harden header aligns its two grade lines.

Verify

sha256sum --ignore-missing --check SHA256SUMS                  # integrity
gh attestation verify sdw-armor-linux-amd64 \
  --repo Shadow-Security-official/Shadow-Armor                  # who built it (SLSA provenance)
cosign verify-blob SHA256SUMS --bundle SHA256SUMS.sigstore.json \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  --certificate-identity-regexp '^https://github.com/Shadow-Security-official/Shadow-Armor/\.github/workflows/release\.yml@refs/(tags/v|heads/main)'

Assets: static binaries (Linux, macOS; amd64, arm64), .deb and .rpm packages, a CycloneDX SBOM
(sdw-armor.cdx.json, attested with the binaries), SHA256SUMS signed keylessly with Sigstore.
The scan engine, CINC Auditor, is installed separately: sdw-armor install-cinc (SHA-256 verified
package, asks first), or run it from its image with --engine docker.