-
napalm-device-types 4.57.0
Stabledriver / types (push) Successful in 1m3sdriver / standard (push) Successful in 16sdriver / lint (push) Successful in 19sdriver / lowest (push) Successful in 40sdriver / test (3.13) (push) Successful in 1m17sdriver / test (3.12) (push) Successful in 1m28sdriver / build (push) Successful in 39sdriver / security (push) Successful in 1m8sdriver / publish (push) Successful in 47sCI / driver (push) Successful in 3m14sreleased this
2026-12-03 12:11:22 +00:00 | 0 commits to main since this releaseAdded
PackageSourcesUnreadable, aValueError:parse_apt_upgradableraises it when apt
could not read its list of sources, and with it read no package at all -- one bad line,
twoSigned-Byfor one repository say, makes apt refuse every source (NetOrk/netork#3087).
Its message is what apt said, its errors joined by"; ". A caller that catches
ValueErrorcatches it as before.
Changed
APT_UPGRADABLE_COMMANDpasses apt's errors on, eachE:line marked__APT_E:;
its warnings stay out as before. Any other failed read now names apt's errors after
the exit status.
Downloads
-
napalm-device-types 4.56.0
Stabledriver / types (push) Successful in 59sdriver / standard (push) Successful in 14sdriver / lint (push) Successful in 13sdriver / lowest (push) Successful in 40sdriver / test (3.12) (push) Successful in 1m10sdriver / test (3.13) (push) Successful in 1m11sdriver / build (push) Successful in 25sdriver / security (push) Successful in 55sdriver / publish (push) Successful in 26sCI / driver (push) Successful in 2m34sreleased this
2026-12-02 21:29:00 +00:00 | 2 commits to main since this releaseAdded
HostStorageMixin: a host's disks, pools, volumes and drive health without the storage
role (NetOrk/netork#2896, #2705). It declaresget_disks,get_disk_poolsand
get_volumesinStorageDriver's shapes, andget_disk_smart(), a dict of
DiskSmartDictkeyed by the disk's slot: model, serial, type, size, health ("ok",
"warning","failed","unknown"), wearout, temperature, percentage used, available
spare, reallocated sectors, power-on hours, and optionally the highest temperature and
the uncorrected read and write errors --Nonewhere the drive does not report one.
These are the keys Proxmox'sget_disk_smartalready fills. A disk that does not say
reads temperature-1and health"unknown"inget_disksand is left out of
get_disk_smart. Nothing changes forStorageDriver.HostVolumeDict: aLogicalVolumeDictwith an optionalfile_systemandhealth.- New values in existing string fields: a disk's
typemay be"unknown", a pool's
type"storage-spaces"and itslevel"parity". clean_system_identity(...): the SMBIOS identity and system firmware from values a host
read some other way than the DMI files -- Windows through its CIM classes
(NetOrk/netork#2888) -- with the same placeholders empty asparse_system_identity,
which now uses it. The release date is passed asYYYY-MM-DD; anything else reads as no
date.UserDict.sid(optional): the account's security identifier on a host that names
accounts by one (Windows, NetOrk/netork#2889).uidstays an int: there, the relative
identifier, the SID's last part.- Login accounts and login sessions from another platform than Linux (NetOrk/netork#2895),
for Windows hosts in the access review. All optional, so the Linux reading and every
driver that builds one stay as they are:LoginAccountDictmay carrysid(Windows' security identifier;uidis then the
RID, the SID's last part),administrator(a member of the host's Administrators) and
remote_desktop(may log in at a remote desktop), eachNonewhere not read.LoginAccountsDictmay carrygroups: the host's groups that grant administering it
or a remote desktop login (LoginGroupDict: name, SID,grantsofLOGIN_GRANTS,
members), with every member as the host names it, a directory's accounts and groups
included (LoginGroupMemberDict: name, SID,local,group).LoginSessionsDictmay carryrecords_since: the oldest entry the record the sessions
came from still holds, so a log that rotated within the window does not read as
"nobody logged in" before it.
- A Windows host's firewall as a reading of its own (NetOrk/netork#2894), carried by
get_host_firewallbeside the netfilter one:HostFirewallDictgains the optional key
windows(WindowsFirewallDict), withsources["windows-firewall"]and no chains.
It holds the three profiles (WindowsFirewallProfileDict: on or off, default inbound and
outbound action, "block all incoming connections", whether local rules apply), every
enabled rule of the active policy with its filters (WindowsFirewallRuleDict: profiles,
protocol, ports, addresses, program, service, app package, interfaces and their types,
IPsec authentication, where the rule comes from, group policy included), and which
profile each connected interface is in (WindowsFirewallConnectionDict).
WINDOWS_FIREWALL_PROFILESnames the profiles. An application that knows only chains
finds none in a Windows reading, and proves nothing from it. WindowsFeaturesMixin.get_windows_features()(NetOrk/netork#2898), declared: every
optional feature a Windows host's image knows (WindowsFeaturesDict), each with its name
as Windows spells it (SMB1Protocol,MSMQ-Server,IIS-WebServerRole) and its state
(WINDOWS_FEATURE_STATES: enabled, disabled, absent, unknown). What turns a CVE that
needs a role or feature into "met" or "not met" on a host.
Changed
- The netfilter shapes (
HostFirewallDict,NetfilterChainDict,NetfilterRuleDict,
NetfilterMatchDict) moved tonapalm_device_types.host_firewall_models;models
re-exports them, so every import keeps working. HostEventsMixin.get_host_events(since=None), declared: what a host's own log recorded
that says something is wrong with it (NetOrk/netork#2897), for an application that warns
of it. A fixed set of kinds (HOST_EVENT_KINDS): unexpected shutdowns, system crashes
with their stop code, fatal and corrected hardware errors, disk and file system errors,
programs and services that crashed. EachHostEventDictnames its kind, time (ISO, UTC),
what it is about in words that do not depend on the host's language, where it was
recorded and the host's message, cut toHOST_EVENT_MESSAGE_CHARS;host_event()builds
one. The reading coversHOST_EVENT_WINDOW_DAYS(7) days by default and says which kinds
it read up to its bound (capped) and which it could not read (unread).- Log sources of kind
"eventlog": a Windows event channel, named by the new optional
LogSourceDict.channel, with its.evtxfile aspath(eventlog_source(),
LOG_SOURCE_KINDS,EVENTLOG). ServiceDictsays how a service's last run ended, all optional:resultin systemd's
Resultwords (SERVICE_RESULT_SUCCESS,SERVICE_RESULT_EXIT_CODE),exit_code,
trigger_startand theaccountit runs as, so that a service that died is told from
one stopped on purpose.ServiceDictis exported from the package.HostRepairMixin: a host's own checks and repairs as a fixed catalog of runs
(NetOrk/netork#2899), one method each:verify_system_files(),repair_system_files(),
check_component_store(),repair_component_store(),update_antimalware_signatures()
andscan_antimalware(quick=True). Each streams the tool's output line by line tolog,
is bounded in time (by the driver, or tighter by the caller'slimitin seconds)
and returns aHostRepairResultDict(success,output,exit_code,error). A check
never repairs: a repair is a method of its own. Not on any role base; a driver defines the
runs its host can do, andoffered_host_repairs(driver_cls)lists them.tool_outcome(lines, exit_code, tool=...): the result of a run from its tool's output and
exit code. Exit code 0 succeeds; any other, or none, fails with the tool's last lines. A
negative (signed 32-bit) exit code is read as unsigned, and an HRESULT shows in hex. The
kept output is bounded to its last 64,000 characters.UpdateDicttakes four optional fields for a source that says more of an update than a
package name (NetOrk/netork#2892):title, the vendor'sadvisoriesit ships (Windows
Update's KB articles), thecvesit fixes on this host, and the vendor's own rating
(vendor_severity, Windows Update'sMsrcSeverity).UpdateHistoryPackageDicttakes an
optionaltitle. Every reader that leaves them out still conforms.- A host's security posture in
HardeningDict(NetOrk/netork#2893), as optional keys a
driver fills where it reads them, so a Windows host's protection fits the same reading as
a Linux host's hardening:secure_boot(SecureBootState:on,off,unsupported),
tpm(TpmDict),disk_encryption(DiskEncryptionDictwith anEncryptedVolumeDict
per volume and itsVolumeProtection),antimalware(AntimalwareDict, its
AntimalwareModetelling whether another product protects the host),firewall_profiles
(FirewallProfileDict, on or off) andvbs(VbsDict,VbsStatus). Everything Linux
fills stays required and unchanged;parse_hardeningfills none of the new keys.
Downloads
-
napalm-device-types 4.55.0
Stabledriver / lowest (push) Successful in 36sdriver / standard (push) Successful in 15sdriver / lint (push) Successful in 15sdriver / types (push) Successful in 54sdriver / build (push) Successful in 25sdriver / test (3.13) (push) Successful in 1m17sdriver / test (3.12) (push) Successful in 1m30sdriver / security (push) Successful in 55sdriver / publish (push) Successful in 40sCI / driver (push) Successful in 2m38sreleased this
2026-12-01 08:58:16 +00:00 | 23 commits to main since this releaseAdded
LoginSessionsMixin.get_login_sessions(): the interactive logins a Linux host recorded
over the last seven days (NetOrk/netork#2881), for an application that wants to know
which shells did not go through it. Each session names its account, terminal, the
address it came from (None at the host's console), start and end (ISO, UTC; the end None
while it runs). Read fromwtmpdb lastandlastwith--time-format iso, bounded with
--sinceon the host, a session in both records once. Only terminals count
(is_interactive): reboot entries, X displays,ssh:nottyand windows ofscreendo not.
own_addressis the driver's own SSH session's client address (SSH_CONNECTION), whose
sessions are left out. One fixed, read-only command as the login user; a driver supplies
_run_login_sessions_command(command). A host whoselasttakes no--time-format
raisesLoginSessionsUnavailable.
Downloads
-
napalm-device-types 4.54.0
Stabledriver / lowest (push) Successful in 41sdriver / standard (push) Successful in 16sdriver / lint (push) Successful in 14sdriver / types (push) Successful in 1m1sdriver / test (3.12) (push) Successful in 1m11sdriver / test (3.13) (push) Successful in 1m13sdriver / build (push) Successful in 31sdriver / security (push) Successful in 57sdriver / publish (push) Successful in 29sCI / driver (push) Successful in 3m18sreleased this
2026-11-29 22:12:12 +00:00 | 26 commits to main since this releaseAdded
- An access point's writes as declared methods (NetOrk/netork#695), so an application no
longer builds the device's commands itself:WirelessWritesMixin, onAccessPointDriverandResidentialGatewayDriver:
push_ssid_config(ssid, SsidConfigDict)writes the settings it is given (encryption,
key, hidden, enabled, disassoc_low_ack, max_inactivity) to every interface serving the
SSID and leaves the rest;set_radio_channels({radio: channel})changes every radio in
one go, with one restart of the wireless stack (AUTO_CHANNEL, 0, lets a radio choose).
A refused step raises.AccessPointDriver.set_vlan_name(vlan_id, name): names a VLAN the access point
carries; True when written, False when it carries no such VLAN. An access point needs
noset_vlan, which creates VLANs on a switch.ApConfigMixin.apply_ap_config(ApConfigDict, parts), onAccessPointDriver: the
access point's desired configuration, of which the driver writes the parts the caller
found different.ApConfigDict(andApSsidConfigDictper SSID) names radios,
remote syslog, web interface, SSH, the management VLAN, the bridge and its spanning
tree, 802.11r and the SSIDs in vendor-neutral terms;ApConfigResultDictsays which
parts were written, which were not (unknown, or missing a value they need, such as a
key), whether the device restarts, and what was sent with every passphrase masked.
The parts areAP_CONFIG_PARTS,network/vlan/<vid>and
wireless/<ssid>/<attribute>(AP_CONFIG_SSID_ATTRIBUTES);ap_config_ssid_part,
ap_config_vlan_partandis_ap_config_partread them.
DhcpLeasesMixin.get_dhcp_leases(), a list ofDhcpLeaseDict(mac, ip, hostname,
lease_end, state): the leases a DHCP server handed out, in a mixin of its own, apart from
DhcpServerMixin, so that an access point can report them. A failed read raises; a
device that serves none returns[]. A driver that already has the method keeps
working; it declares the mixin by adding it to its bases.UpdateMixin.apply_updates(packages, *, log=None): an optional keyword-onlylogthat
receives each line of the package manager's output as the host prints it
(NetOrk/netork#1112), asharden_ssh_server(..., log=...)does. A driver that cannot
stream does not call it and returns the output at the end, as before;outputholds the
whole output either way. Drivers without it keep conforming.
Downloads
- An access point's writes as declared methods (NetOrk/netork#695), so an application no
-
napalm-device-types 4.53.0
Stabledriver / types (push) Successful in 53sdriver / standard (push) Successful in 24sdriver / lint (push) Successful in 13sdriver / test (3.13) (push) Successful in 1m3sdriver / build (push) Successful in 26sdriver / lowest (push) Successful in 53sdriver / test (3.12) (push) Successful in 1m38sdriver / security (push) Successful in 57sdriver / publish (push) Successful in 43sCI / driver (push) Successful in 2m49sreleased this
2026-11-28 23:15:33 +00:00 | 31 commits to main since this releaseAdded
get_hardening()reads whether the host runs on its own hardware, and whose CPU it is
(NetOrk/netork#2838):virtualization,systemd-detect-virt's word (noneon bare
metal, else the hypervisor or container engine, lowercased), elsevmornonefrom the
hypervisorflag of/proc/cpuinfowhere systemd-detect-virt is not installed; and
cpu_vendor, the firstvendor_idof/proc/cpuinfo(GenuineIntel,AuthenticAMD;
None without one, as on ARM). Read-only, like the rest of the reading.CpuMicrocodeMixin.install_cpu_microcode(): the CPU vendor's microcode on a host that
runs on its own CPU, in three steps.readrefuses a guest (a guest loads no microcode,
its host does) and a host whose virtualization could not be told, and picks the package
(microcode_package):intel-microcode/amd64-microcodeon Debian and Ubuntu,
microcode_ctl/linux-firmwareon Enterprise Linux and Fedora,
ucode-intel/ucode-amdon SUSE; none elsewhere.sources, on a Debian host only,
adds Debian's firmware component (firmware_component:non-free-firmware,non-free
up to bullseye) to every enabled source of Debian's own archive that hasmain, and
loads the package index again; another vendor's source is never touched
(add_component).installisensure_package's. The microcode loads at the next boot;
the restart is the caller's. ReturnsCpuMicrocodeFixDict(the fix,package,
sources_changed). On no role base: a driver mixes it in. The index is loaded again through
_reload_package_index,refresh_available_updatesby default; a driver whose refresh only
starts a task overrides it with one that waits.
Downloads
-
napalm-device-types 4.52.0
Stabledriver / types (push) Successful in 54sdriver / standard (push) Successful in 16sdriver / lint (push) Successful in 12sdriver / test (3.12) (push) Successful in 1m16sdriver / test (3.13) (push) Successful in 1m7sdriver / lowest (push) Successful in 39sdriver / build (push) Successful in 28sdriver / security (push) Successful in 1m2sdriver / publish (push) Successful in 28sCI / driver (push) Successful in 4m22sreleased this
2026-11-28 10:05:35 +00:00 | 33 commits to main since this releaseAdded
get_kernel_facts()reads the kernel's live patches (NetOrk/netork#2701), in the new
live_patcheskey:loaded, every patch under/sys/kernel/livepatchwithenabledand
transition(None on a kernel without live patching);kpatch,kpatch list's loaded
modules with their state and the installed ones with their kernel (None without kpatch);
canonical, Canonical Livepatch's status for the running kernel -- its kernel as Canonical
names it,state(applied, ...),check_state,versionand the CVEs it names with
whether each is patched (canonical-livepatch status --format json, the 10.x client's list
and the 9.x client's text; None when not installed or not read), and
canonical_installed. Read-only:statusreads the daemon's last state,refreshis never
run. Where the client is installed and its status did not read without root, a driver that
supplies_run_livepatch_status_command(command)hasLIVEPATCH_STATUS_COMMANDread again
as root; a refusal leaves it unread.parse_canonical_status,canonical_release(Canonical's5.15.0-91.101-genericas
uname -rnames it),LIVEPATCH_STATUS_COMMAND, and theLivePatchesDictand
CanonicalLivepatchDictshapes (inlivepatch).
Downloads
-
napalm-device-types 4.51.0
Stabledriver / types (push) Successful in 56sdriver / standard (push) Successful in 16sdriver / lint (push) Successful in 13sdriver / test (3.12) (push) Successful in 1m17sdriver / test (3.13) (push) Successful in 1m6sdriver / lowest (push) Successful in 41sdriver / build (push) Successful in 33sdriver / security (push) Successful in 1m3sdriver / publish (push) Successful in 28sCI / driver (push) Successful in 3m18sreleased this
2026-11-28 09:36:35 +00:00 | 40 commits to main since this releaseAdded
LoginAccountsMixin.get_login_accounts(): every account on a Linux host a person can
log in with, read with one fixed, read-only command (NetOrk/netork#2707). Root and UID
1000 on with a login shell (login_capable), from/etc/passwd-- name, UID, home and
shell only, never the comment field; accounts from a directory are not there and not
read. Each with its last login (ISO, UTC), where it came from and which tool told it:
the newest oflastlog2,lastlog,wtmpdb lastandlast, so a host upgraded to
lastlog2 or a desktop login only wtmp saw still reads right. Its password state
(passwd -S:set,locked,none), password change, password and account expiry
(chage -l: an ISO date,never,must_change), andlocked-- the password locked or
the account expired on the host's date. The failed attempts since the last login as a
number: fromlastb(the newestFAILED_LOGINS_READ, 1000, per account;
failed_logins_cappedwhen reached), elsepam_faillock's tally.LC_ALL=C, no stdin,
no password hash read. Root first; where root is refused, as the login user, when the
lock, the expiry and the failures areNone. A driver supplies
_run_login_accounts_command(command, *, privileged).parse_login_accounts,LOGIN_ACCOUNTS_COMMAND,login_capable, and the
LoginAccountDictandLoginAccountsDictshapes (inlogin_accounts).
Downloads
-
napalm-device-types 4.50.0
Stabledriver / types (push) Successful in 57sdriver / standard (push) Successful in 18sdriver / lint (push) Successful in 16sdriver / test (3.12) (push) Successful in 1m19sdriver / test (3.13) (push) Successful in 1m11sdriver / lowest (push) Successful in 46sdriver / build (push) Successful in 32sdriver / security (push) Successful in 59sdriver / publish (push) Successful in 30sCI / driver (push) Successful in 3m39sreleased this
2026-11-28 07:12:18 +00:00 | 45 commits to main since this releaseAdded
login_sources: where a device checks a person's login, and what each place asks for
(NetOrk/netork#662).LoginSourceDictnames one source with the device's own word for its
kind and what it asks for (LoginFactors:password,password_otp,external,
unknown; all four inLOGIN_FACTORS).WebLoginAuthDictis the reading a driver returns
fromget_web_login_auth: every source the web interface tries, in the device's order.
There is no mixin, sohasattr(driver, "get_web_login_auth")stays a truthful answer.SshServerAuthDicttakes two optional keys for a platform that writes sshd_config itself
and is read from its own configuration.password_sourcessays what checks a password or
keyboard-interactive login where the platform decides that rather than PAM's stack.
server_enabledis False when the platform's SSH server is switched off. Readings from
sshd -Tleave both out.
Downloads
-
napalm-device-types 4.49.0
Stabledriver / standard (push) Successful in 16sdriver / lint (push) Successful in 14sdriver / types (push) Successful in 1m0sdriver / test (3.12) (push) Successful in 1m15sdriver / test (3.13) (push) Successful in 1m11sdriver / lowest (push) Successful in 42sdriver / build (push) Successful in 32sdriver / security (push) Successful in 1m15sdriver / publish (push) Successful in 29sCI / driver (push) Successful in 4m29sreleased this
2026-11-28 02:16:02 +00:00 | 47 commits to main since this releaseAdded
RadioStatusDictcarries a radio's runtime state beside its configuration
(NetOrk/netork#31):up(the radio runs),pending(the device is still bringing it
up or down) andsetup_failed(the device gave up bringing it up after its retries).
All three are optional: a driver that cannot read the state leaves them out. A radio
can beenabledand not run, as on 2026-07-16, when a rejected value kept every radio
of a fleet in a restart loop the configuration never showed.
Downloads
-
napalm-device-types 4.48.0
Stabledriver / types (push) Successful in 52sdriver / standard (push) Successful in 15sdriver / lint (push) Successful in 14sdriver / test (3.12) (push) Successful in 1m10sdriver / test (3.13) (push) Successful in 1m2sdriver / lowest (push) Successful in 35sdriver / build (push) Successful in 25sdriver / security (push) Successful in 53sdriver / publish (push) Successful in 25sCI / driver (push) Successful in 2m58sreleased this
2026-11-28 01:52:01 +00:00 | 50 commits to main since this releaseAdded
HardeningMixin.get_hardening(): how a Linux host is hardened, read with one fixed,
read-only command (NetOrk/netork#2706). The active security modules
(/sys/kernel/security/lsm), SELinux's mode (getenforce, else
/sys/fs/selinux/enforce) and its configured mode (SELINUX=in/etc/selinux/config),
AppArmor's switch and, as root, its profiles per mode (aa-status --json), the crypto
policy (update-crypto-policies --show) and FIPS mode (/proc/sys/crypto/fips_enabled),
the kernel's text for each file under/sys/devices/system/cpu/vulnerabilities, the
kernel command line withmitigations=(autowhen not given) andnosmt, and
ID/ID_LIKEfrom/etc/os-release. Read as root first; where root is refused, as the
login user, without the profile counts. Anything not read isNone, never "off". A
driver supplies_run_hardening_command(command, *, privileged).parse_hardening,HARDENING_COMMAND,cpu_vulnerability_state(not_affected,
mitigated,vulnerableorunknown, from the kernel's words), and the
HardeningDict,SelinuxDictandAppArmorDictshapes (inhardening).
Downloads