Merge NAPALM/napalm-device-types main (4.47.0) into feature/hardening-reading
driver / standard (pull_request) Successful in 30s
driver / lint (pull_request) Successful in 59s
driver / types (pull_request) Successful in 2m12s
driver / test (3.12) (pull_request) Successful in 2m16s
driver / lowest (pull_request) Successful in 39s
driver / test (3.13) (pull_request) Successful in 1m26s
driver / build (pull_request) Successful in 39s
driver / security (pull_request) Successful in 1m18s
CI / driver (pull_request) Successful in 5m3s
driver / publish (pull_request) Skipped
driver / standard (pull_request) Successful in 30s
driver / lint (pull_request) Successful in 59s
driver / types (pull_request) Successful in 2m12s
driver / test (3.12) (pull_request) Successful in 2m16s
driver / lowest (pull_request) Successful in 39s
driver / test (3.13) (pull_request) Successful in 1m26s
driver / build (pull_request) Successful in 39s
driver / security (pull_request) Successful in 1m18s
CI / driver (pull_request) Successful in 5m3s
driver / publish (pull_request) Skipped
4.47.0 (#135) is released; this branch stays 4.48.0, its changelog section above 4.47.0's.
This commit is contained in:
commit
c93ceeb320
6 files changed
+846
-1
No files matched your search
+19
-1
@@ -7,7 +7,7 @@ recorded here; their history is the git log.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [4.48.0] - 2026-11-26
|
||||
## [4.48.0] - 2026-11-27
|
||||
|
||||
### Added
|
||||
- `HardeningMixin.get_hardening()`: how a Linux host is hardened, read with one fixed,
|
||||
@@ -25,6 +25,24 @@ recorded here; their history is the git log.
|
||||
`mitigated`, `vulnerable` or `unknown`, from the kernel's words), and the
|
||||
`HardeningDict`, `SelinuxDict` and `AppArmorDict` shapes (in `hardening`).
|
||||
|
||||
## [4.47.0] - 2026-11-26
|
||||
|
||||
### Added
|
||||
- `AptHistoryMixin.get_update_history(since)`: apt's own history log as past transactions
|
||||
(NetOrk/netork#2728), for every driver of a Debian-family host that has `run_command`.
|
||||
`APT_HISTORY_COMMAND` prints `/var/log/apt/history.log` and its rotations
|
||||
(`history.log.<n>.gz` through `zcat`) in one round trip, as the login user (the files
|
||||
are 0644), with the host's time zone (`/etc/localtime`'s link, `/etc/timezone`) and
|
||||
`date +%z` for a zone without a name; only a file that user may not read makes the
|
||||
mixin read it again as root. `parse_apt_history(text, since)` reads apt's dates in that
|
||||
zone and names each transaction as Proxmox VE 9.3's `GET /nodes/{node}/apt/history`
|
||||
does: start time and the number of earlier transactions with that start in the same
|
||||
file, so a node that moves to 9.3 keeps its ids. Strict: a block whose package lines
|
||||
do not read as apt writes them is left out (and still counted), one without
|
||||
`End-Date` has `end` None, a report cut short or a file that could not be read raises.
|
||||
- `apt_history_command(log_dir)`, `host_zone(name, offset)` and `AptHistoryUnreadable`
|
||||
(a `PermissionError`), in `apt_history`.
|
||||
|
||||
## [4.46.0] - 2026-11-26
|
||||
|
||||
### Fixed
|
||||
|
||||
Reference in new issue
Block a user