feat(hardening): get_hardening on both drivers over the exec path; needs device-types 4.48.0 (NetOrk/netork#2776)
driver / lint (pull_request) Successful in 14s
driver / standard (pull_request) Successful in 17s
driver / types (pull_request) Successful in 1m1s
driver / test (3.13) (pull_request) Successful in 1m7s
driver / test (3.12) (pull_request) Successful in 1m11s
driver / lowest (pull_request) Successful in 37s
driver / build (pull_request) Successful in 33s
driver / security (pull_request) Successful in 1m4s
CI / driver (pull_request) Successful in 2m29s
driver / publish (pull_request) Skipped

This commit is contained in:
Christian Manivong committed 2026-11-28 08:01:27 +01:00
1 parent 59839b4efa
commit b6bb13009f
7 files changed
+92 -1

No files matched your search

+8
View File
@@ -19,6 +19,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `get_host_firewall()` on the PVE driver (napalm-device-types' `HostFirewallMixin`): what the
node has loaded -- proxmox-firewall's nftables tables on PVE 9, pve-firewall's iptables chains
before -- read as root over SSH, as for any Linux host.
- `get_hardening()` on both drivers (napalm-device-types' `HardeningMixin`, NetOrk/netork#2776):
the security modules, SELinux and AppArmor, the crypto policy and FIPS mode, what the kernel
reports for each CPU vulnerability, and the kernel command line (`mitigations=`, `nosmt`). One
fixed, read-only command over the exec path, which is root's login, so AppArmor's profiles per
mode are read too. A hypervisor's guests share its CPU, so its CPU vulnerabilities matter most.
### Changed
- Needs napalm-device-types 4.48.0 or later (`HardeningMixin`).
## [0.16.0] - 2026-11-26