Documentation
¶
Rendered for js/wasm
Overview ¶
cve-scanner is a honey WASM plugin for CVE scanning and security patching.
Actions:
scan - run a vulnerability scanner (grype or trivy) on the target host and
emit a normalized JSON report on stdout. Downstream steps can consume
it via env_from / loop_from (extract ".cves[]").
patch - apply security updates using the host's package manager
(apt, dnf/yum, apk, zypper). Honors dry-run.
Build: GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o plugin.wasm .
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cvescan holds the pure, host-testable logic of the cve-scanner plugin: config types, scanner/patch shell-script construction, and parsing of scanner output into a normalized report.
|
Package cvescan holds the pure, host-testable logic of the cve-scanner plugin: config types, scanner/patch shell-script construction, and parsing of scanner output into a normalized report. |
Click to show internal directories.
Click to hide internal directories.