feat(hardening): get_hardening through napalm-device-types' HardeningMixin (NetOrk/netork#2706)

The transport runs the shared, read-only command on an exec channel, as root
first for AppArmor's profiles and as the login user where root is refused.
This commit is contained in:
Christian Manivong committed 2026-11-26 23:12:59 +01:00
1 parent 670e62e0f0
commit a9ed615b9b
3 files changed
+64

No files matched your search

+9
View File
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added
- `get_hardening()` through napalm-device-types' `HardeningMixin`: how the host is hardened
-- its security modules, SELinux's and AppArmor's state, the crypto policy and FIPS mode,
the kernel's answer for each CPU vulnerability, and `mitigations=`/`nosmt` from the
kernel command line (NetOrk/netork#2706). One read-only command on an exec channel
(`aa-status --json` prints one long line), as root first for AppArmor's profiles and as
the login user where root is refused. OpenMediaVault and QNAP have it through
`LinuxDriver`.
## [0.19.0] - 2026-11-26
### Added