mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-08-01 16:40:24 +00:00
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):
- brain/ LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
dispatch, A51 channels, and the OSINT cluster
- knowledge/ LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
MITRE ATT&CK data
- reference/ defensive threat-reference (C3, shhbruh doc) + AdaYaml parser
License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.
Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.
https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
49 lines
1.6 KiB
Markdown
49 lines
1.6 KiB
Markdown
# API Reference: Scanning Docker Images with Trivy
|
|
|
|
## Trivy Scanner Types
|
|
|
|
| Scanner | Flag | Detects |
|
|
|---------|------|---------|
|
|
| Vulnerability | `--scanners vuln` | CVEs in OS packages and libraries |
|
|
| Misconfiguration | `--scanners misconfig` | Dockerfile/K8s misconfigs |
|
|
| Secret | `--scanners secret` | Hardcoded passwords, API keys |
|
|
| License | `--scanners license` | License compliance issues |
|
|
|
|
## Core Commands
|
|
|
|
| Command | Description |
|
|
|---------|-------------|
|
|
| `trivy image <ref>` | Scan Docker image |
|
|
| `trivy image --input <tar>` | Scan saved tar archive |
|
|
| `trivy image --format json` | JSON output |
|
|
| `trivy image --format sarif` | SARIF for GitHub Security |
|
|
| `trivy image --format cyclonedx` | CycloneDX SBOM |
|
|
| `trivy image --format spdx-json` | SPDX SBOM |
|
|
| `trivy image --exit-code 1 --severity CRITICAL` | Fail on critical |
|
|
| `trivy image --list-all-pkgs` | List all detected packages |
|
|
|
|
## Vulnerability Database Sources
|
|
|
|
| Source | Coverage |
|
|
|--------|----------|
|
|
| NVD | All ecosystems |
|
|
| GitHub Advisory Database | Open source packages |
|
|
| Alpine SecDB | Alpine Linux |
|
|
| Debian Security Tracker | Debian packages |
|
|
| Red Hat Security Data | RHEL/CentOS |
|
|
| Ubuntu CVE Tracker | Ubuntu packages |
|
|
|
|
## Python Libraries
|
|
|
|
| Library | Version | Purpose |
|
|
|---------|---------|---------|
|
|
| `subprocess` | stdlib | Execute trivy CLI |
|
|
| `json` | stdlib | Parse scan results |
|
|
| `pathlib` | stdlib | File path handling |
|
|
|
|
## References
|
|
|
|
- Trivy Documentation: https://trivy.dev/docs/
|
|
- Trivy GitHub: https://github.com/aquasecurity/trivy
|
|
- Aqua Security: https://www.aquasec.com/products/trivy/
|