Check NetApp-REST 4.0.0 is out, and it is the first stable release of the 4.x line. Together with it we have released new builds of check-netapp-rest-utils (2.1.0) and Check E-Series (1.4.2). This post covers two topics: new checks that tell you whether your tamperproof snapshots actually protect you against ransomware, and a change in how we scan our own builds for vulnerabilities. The smaller fixes are listed in the release history .
Tamperproof snapshots: protection you should watch
Ransomware that reaches a storage system rarely starts with encryption. It starts with the backups: whoever has obtained administrative credentials deletes the snapshots first, and only then encrypts the data. Without snapshots, there is nothing left to roll back to.
ONTAP has two answers to this:
- SnapLock volumes (compliance or enterprise mode) are WORM volumes with an expiry time.
- Snapshot locking, also called tamperproof snapshots (ONTAP 9.12.1 or later), works on regular volumes. Each snapshot is locked until its own expiry time. A typical setup is a SnapMirror destination that locks every snapshot as it arrives, for example for 7 days.
Until a locked snapshot expires, nobody can delete it, not even an administrator. That is exactly what makes it valuable against ransomware.
The catch: this protection fails silently. If the SnapMirror transfer stops, no new locked snapshots arrive, and the protection runs out a few days later. If a new volume is created without snapshot locking, it is simply not protected. Nobody notices until the day a restore is needed.
4.0.0 brings three checks, each answering one question:
| Check | Question |
|---|---|
check_netapp_snapshot volume tamperproof locking-enabled
|
Which volumes have no snapshot locking at all? |
check_netapp_snapshot volume tamperproof expiry-time
|
How long does the protection of each volume still last? |
check_netapp_snapshot volume tamperproof expired
|
Which volumes have already lost their protection? |
These three checks are beta, as is the new check_netapp_disk stats path-error-rate
. Their options may still change based on feedback from production use. Each open design question became an option with a conservative default (e.g. --snaplock, --no-expiry, --scope), so you can try the variants yourself. Please tell us which options you use and what you miss.
Why an SBOM scan alone misses Go vulnerabilities
In May we introduced an SBOM and a vulnerability scan in every build pipeline: the dependencies are listed in an SPDX document and checked against the OSV database, and the build fails on any finding of severity LOW or higher. That gate turned out to have two blind spots for Go code. In both cases the scan reported “clean” although there were known vulnerabilities, so these were false negatives, the dangerous kind.
No severity, no alarm. The Go vulnerability database deliberately assigns no severity to its entries (Go FAQ
). Our gate treated a missing severity as NONE, which is below the threshold. In October the scan found 13 vulnerabilities in golang.org/x/* modules, and the pipeline stayed green. A critical, actually exploitable vulnerability would have passed in the same way.
The standard library was missing from our SBOM. Our SBOM is generated from go.mod, and the Go standard library — TLS, X.509 certificate parsing, the HTTP client — is not a module there, so it was not listed. Yet every binary contains it, in the version of the Go compiler that built it. A scan based on our SBOM could not see these vulnerabilities at all, and they were the ones that mattered. We will add the standard library to the SBOM in an upcoming release.
govulncheck , the Go team’s own tool, closes both gaps:
- It works on the call graph, not on the module list. It reports a vulnerability only if the code actually calls the affected function. Of the 13 findings in October, none was reachable; 12 were in modules whose affected packages we do not even import. A severity label is not needed to decide whether a finding matters.
- It covers the standard library of the Go version in use.
- In binary mode (
govulncheck -mode=binary) it checks the shipped binaries themselves, including the Go version they were built with. That is what you actually run, not what the source tree would produce today.
govulncheck is now a gate in every pipeline, and the SBOM scan uses its reachability result for Go advisories. The SBOM stays: it is still the machine-readable inventory, and it is still part of every release package.
If you scan our SBOM with your own tools: until then, the standard library is not in it. Run govulncheck -mode=binary against the binaries in bin/ to cover it as well.
Why we rebuilt, although the checks were hardly affected
Running govulncheck -mode=binary against the archives on our release server showed that older builds were made with older Go versions and carried known vulnerabilities in the standard library, 21 of them in the previous 4.0.0 beta.
For the plugins, none of these 21 was a serious risk:
- Most affect HTTP servers or reverse proxies, a few only Windows or features we do not use. Our checks are clients only; they open no port.
- The remaining ones affect the HTTP client: the HTTP/2 transport, certificate and ASN.1 parsing, URL resolution. Exploiting them requires a malicious counterpart, i.e. a compromised storage system or a hijacked connection to it. In that situation an attacker has easier targets than a monitoring plugin.
- The worst consequence would have been a check that hangs, uses a lot of CPU or crashes, which your monitoring reports as UNKNOWN or as a timeout, or misleading text in the check output. None allowed code execution or access to data.
We rebuilt anyway. A known vulnerability with an available fix is closed by an update, not argued away, and “not relevant” is a judgment you should not have to take from us on trust. All current releases are now built with Go 1.26.11 and current golang.org/x/* libraries. On 25 November govulncheck found no vulnerability in any of the 36 Go binaries of the current release archives.
What this has to do with the CRA and NIS2
The EU Cyber Resilience Act (CRA) makes manufacturers of software responsible for handling vulnerabilities: know what is in your product, remove known vulnerabilities through security updates, and provide an SBOM. The obligation to report actively exploited vulnerabilities applies since September 2026, the full set of obligations from December 2027. A scan that reports “zero findings” while the standard library carries known vulnerabilities does not meet that spirit, however green the pipeline is.
NIS2 addresses you, the operators. Essential and important entities must manage the security of their supply chain, including the software they run in their own infrastructure. Monitoring plugins have read access to your storage systems and run on your monitoring hosts, so they are part of that supply chain. With every release you get:
- a signed archive you can verify with
gpg --verify, - an SBOM for your own inventory and vulnerability tracking,
- binaries checked with govulncheck at the level of the actually called code, including the Go standard library.
And with the tamperproof checks, NIS2’s requirements on backup and recovery get a check of their own: not only that snapshots exist, but that they are protected and that the protection does not run out.
Also in 4.0.0
- Breaking change:
check_netapp_lun stateandcheck_netapp_snapshot volume countnow use the common instance name scheme. If your--include/--excluderefers to the old names, adjust them; see the release history . - The single binary
check_netappis now part of a stable release. - The package contains an Icinga2 configuration file with a
CheckCommandfor every check. If you used the one from beta.3 or beta.4, replace it.
Where to find it
The new releases are available for download at releases.monitoring-plugins.pro. The documentation is at docs.monitoring-plugins.pro .
Comments