deaconguard host add [--allow-sudo] | Register this machine (Linux). |
deaconguard host list | List hosts, with each agent's version and how live detection is doing on it; a cluster's nodes are listed under it, marked as following it or excluded. Marks agents older than the server and prints the command that upgrades them. |
deaconguard host sudo HOST_ID on|off | Allow or stop the deeper checks using sudo. |
deaconguard host remove HOST_ID | Remove a host; for an agent host, also revoke its agent. |
deaconguard scan HOST_ID [--checks LIST] [--json] | Scan a host. LIST is a comma-separated choice of packages,libraries,containers,integrity,malware,config,changes,paths,hardening,antivirus,yara. |
deaconguard scan --local [--allow-sudo] [--checks LIST] [--json] | Scan this machine without registering it. |
deaconguard report REPORT_ID [--json] | Show a saved report. |
deaconguard config scan PATH... [--fail-on SEVERITY] [--skip RULE,...] [--format FORMAT] [--output FILE] [--summary FILE] | Check Dockerfiles and Kubernetes manifests; folders are walked, and - reads standard input, such as helm template output. Exits with status 4 at or above --fail-on. --format is table, json, sarif or junit. |
deaconguard kube scan [--kubeconfig FILE] [--context NAME] [--include-system] [--images] [--fail-on SEVERITY] [--skip RULE,...] [--format FORMAT] [--output FILE] | Check a Kubernetes cluster through its API, read-only: workloads, RBAC, namespaces, the version, the API server's settings, and with --images its running images. |
deaconguard tls check HOST[:PORT]... [--fail-on SEVERITY] [--skip RULE,...] [--format FORMAT] [--output FILE] | Check TLS services: certificate expiry, trust and name, old protocols, weak ciphers and keys. Handshakes only. |
deaconguard net scan TARGET... [--ports LIST] [--tls] [--web [--no-paths]] [--concurrency N] [--timeout D] [--max-addresses N] [--fail-on SEVERITY] [--format FORMAT] [--output FILE] | Find open ports and exposed services on addresses, ranges or names you own; --web also checks each web site found. |
deaconguard web check URL... [--no-paths] [--timeout D] [--fail-on SEVERITY] [--skip RULE,...] [--format FORMAT] [--output FILE] | Check web sites without logging in: published .git and .env files, public status and debug pages, CORS, HTTPS redirects, cookies and security headers. GET requests only. |
deaconguard config rules | List the config rules. |
deaconguard image scan IMAGE|PATH [--platform OS/ARCH] [--fail-on SEVERITY] [--ignore-unfixed] [--format FORMAT] [--output FILE] [--summary FILE] | Check an image in its registry, or a docker save archive, an OCI layout or a folder (in pipelines), without running it. --fail-on critical|high|medium|low exits with status 4 at or above that severity; --ignore-unfixed counts only what an update fixes. --format is table, json, sarif, junit, cyclonedx or spdx; --json is --format json. A registry login comes from DEACONGUARD_REGISTRY_USERNAME and DEACONGUARD_REGISTRY_PASSWORD. |
deaconguard sbom SCAN_ID [--format cyclonedx|spdx] | Print a scan's software bill of materials, CycloneDX by default. |
deaconguard audit HOST_ID [--advanced] [--json] | Run a server audit: every check and the hardening baseline, graded A to F, with the failed controls and how to fix them. --advanced adds the YARA antivirus scan. For an agent host, the server must be running; run it as the deaconguard user. |
deaconguard audit --local [--allow-sudo] [--advanced] [--json] | Audit this machine without a server. |