mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-08-01 08:30:20 +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
57 lines
1.3 KiB
Markdown
57 lines
1.3 KiB
Markdown
# API Reference: Implementing Infrastructure as Code Security Scanning
|
|
|
|
## Checkov CLI
|
|
|
|
```bash
|
|
# Scan Terraform directory
|
|
checkov -d /path/to/tf --framework terraform --output json
|
|
# Scan specific file
|
|
checkov -f main.tf
|
|
# Scan CloudFormation
|
|
checkov -d . --framework cloudformation
|
|
# Scan Kubernetes manifests
|
|
checkov -d . --framework kubernetes
|
|
# Skip specific checks
|
|
checkov -d . --skip-check CKV_AWS_18,CKV_AWS_21
|
|
```
|
|
|
|
## tfsec CLI
|
|
|
|
```bash
|
|
# Scan directory
|
|
tfsec /path/to/tf --format json
|
|
# Exclude specific rules
|
|
tfsec . --exclude aws-s3-enable-bucket-logging
|
|
# Minimum severity
|
|
tfsec . --minimum-severity HIGH
|
|
```
|
|
|
|
## Common IaC Security Checks
|
|
|
|
| Check ID | Description | Severity |
|
|
|----------|-------------|----------|
|
|
| CKV_AWS_18 | S3 bucket logging | MEDIUM |
|
|
| CKV_AWS_19 | S3 bucket encryption | HIGH |
|
|
| CKV_AWS_23 | Security group open to 0.0.0.0/0 | HIGH |
|
|
| CKV_AWS_41 | RDS encryption | HIGH |
|
|
| CKV_AWS_145 | KMS key rotation | MEDIUM |
|
|
| CKV_K8S_1 | Pod privileged container | CRITICAL |
|
|
|
|
## GitHub Actions Integration
|
|
|
|
```yaml
|
|
- uses: bridgecrewio/checkov-action@master
|
|
with:
|
|
directory: .
|
|
framework: terraform
|
|
output_format: sarif
|
|
soft_fail: false
|
|
```
|
|
|
|
### References
|
|
|
|
- Checkov: https://www.checkov.io/
|
|
- tfsec: https://aquasecurity.github.io/tfsec/
|
|
- KICS: https://kics.io/
|
|
- Bridgecrew: https://www.bridgecrew.io/
|