Files
Anurag Sharma 6e0db5c792 fix: exclude syft dependency import on NetBSD, OpenBSD, and Solaris (#13578)
The syft library has a transitive dependency on containerd, which includes
platform-specific code that doesn't compile on NetBSD, OpenBSD, and Solaris.

This change adds build constraints to exclude the syft import on these
platforms. The hcp-sbom provisioner functionality is unaffected since it
downloads and executes pre-built syft binaries at runtime rather than
using the Go library directly. The import exists solely for dependency
tracking in license and security scanning tools.
2026-03-26 10:09:45 +05:30
..