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
53 lines
1.5 KiB
Markdown
53 lines
1.5 KiB
Markdown
# API Reference: Implementing Kubernetes Pod Security Standards
|
|
|
|
## PSA Namespace Labels
|
|
|
|
```bash
|
|
# Apply restricted enforcement
|
|
kubectl label namespace production \
|
|
pod-security.kubernetes.io/enforce=restricted \
|
|
pod-security.kubernetes.io/audit=restricted \
|
|
pod-security.kubernetes.io/warn=restricted --overwrite
|
|
```
|
|
|
|
## Pod Security Standard Levels
|
|
|
|
| Level | Description | Blocks |
|
|
|-------|-------------|--------|
|
|
| Privileged | Unrestricted | Nothing |
|
|
| Baseline | Minimally restrictive | hostNetwork, privileged, hostPID/IPC |
|
|
| Restricted | Heavily restricted | + runAsNonRoot, drop ALL caps, seccomp |
|
|
|
|
## PSA Modes
|
|
|
|
| Mode | Behavior |
|
|
|------|----------|
|
|
| enforce | Reject violating pods |
|
|
| audit | Log violations (allow pod) |
|
|
| warn | Warn user (allow pod) |
|
|
|
|
## Baseline Violations
|
|
|
|
| Field | Forbidden Value |
|
|
|-------|----------------|
|
|
| `spec.hostNetwork` | true |
|
|
| `spec.hostPID` | true |
|
|
| `spec.hostIPC` | true |
|
|
| `containers[*].securityContext.privileged` | true |
|
|
| `containers[*].securityContext.capabilities.add` | Non-default |
|
|
|
|
## Restricted Violations (adds to Baseline)
|
|
|
|
| Field | Required |
|
|
|-------|----------|
|
|
| `runAsNonRoot` | true |
|
|
| `allowPrivilegeEscalation` | false |
|
|
| `capabilities.drop` | ["ALL"] |
|
|
| `seccompProfile.type` | RuntimeDefault or Localhost |
|
|
|
|
### References
|
|
|
|
- K8s PSS: https://kubernetes.io/docs/concepts/security/pod-security-standards/
|
|
- PSA: https://kubernetes.io/docs/concepts/security/pod-security-admission/
|
|
- Migrate from PSP: https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/
|