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
42 lines
1.2 KiB
Markdown
42 lines
1.2 KiB
Markdown
# Workflow - Image Provenance with Cosign
|
|
|
|
## Phase 1: Setup
|
|
1. Install cosign CLI
|
|
2. Choose signing method: keyless (recommended) or key-based
|
|
3. If key-based: generate keys, store private key in KMS
|
|
4. Configure CI/CD OIDC token for keyless signing
|
|
|
|
## Phase 2: Build Pipeline Integration
|
|
1. Build container image
|
|
2. Push to registry (by digest)
|
|
3. Sign image with cosign (keyless or key-based)
|
|
4. Generate SBOM with syft
|
|
5. Attach SBOM as attestation
|
|
6. Attach vulnerability scan as attestation
|
|
|
|
## Phase 3: Admission Enforcement
|
|
1. Deploy policy-controller or Kyverno
|
|
2. Create ClusterImagePolicy requiring signatures
|
|
3. Test with signed image (should pass)
|
|
4. Test with unsigned image (should be denied)
|
|
5. Enable enforcement in production namespaces
|
|
|
|
## Phase 4: Verification
|
|
```bash
|
|
# Manual verification
|
|
cosign verify --certificate-identity=CI_IDENTITY \
|
|
--certificate-oidc-issuer=ISSUER \
|
|
IMAGE@DIGEST
|
|
|
|
# Verify SBOM attestation
|
|
cosign verify-attestation --type cyclonedx \
|
|
--certificate-identity=CI_IDENTITY \
|
|
--certificate-oidc-issuer=ISSUER \
|
|
IMAGE@DIGEST
|
|
```
|
|
|
|
## Phase 5: Monitoring
|
|
1. Check Rekor transparency log for audit trail
|
|
2. Monitor admission controller deny events
|
|
3. Alert on unsigned image deployment attempts
|