Skip to content

HabitaNexus/monorepo / skills/system-reliability-engineering/container-security

container-security

Verified

FileKindSize
SKILL.mdskill md9.5 KB
scripts/README.mdmarkdown1.4 KB
scripts/admission_controller.pyscript6.7 KB
scripts/requirements.txtmanifest254 B
scripts/sign-image.shscript1.2 KB

scripts/README.md

View on GitHub
# Container Security Scripts

Scripts ejecutables para container security: image signing y admission controller.

## 📁 Archivos

- **`sign-image.sh`** - Firmar imágenes de contenedores con Notary (Bash)
- **`admission_controller.py`** - Validación de seguridad de pods (Python CLI)
- **`requirements.txt`** - Dependencias Python

## 🚀 Quick Start

### Instalación

```bash
pip install -r requirements.txt

# Instalar Notary (para image signing)
# macOS:
brew install notary

# Linux:
# Download from https://github.com/notaryproject/notary/releases
```

### Image Signing

```bash
chmod +x sign-image.sh

# Firmar imagen
./sign-image.sh --image gcr.io/my-project/my-app:latest

# Con servidor Notary personalizado
./sign-image.sh \
  --image my-image:latest \
  --notary-server https://notary-server:4443
```

### Admission Controller

```bash
# Validar pod spec
python admission_controller.py validate --pod-spec pod.json

# Validar deployment spec
python admission_controller.py validate --deployment-spec deployment.json
```

## 📋 Requisitos

- **Docker:** Para pull/push de imágenes
- **Notary:** Instalado y configurado (para image signing)
- **Kubernetes Access:** kubeconfig configurado (para admission controller)

## 📖 Documentación Completa

Ver [`../SKILL.md`](../SKILL.md) para documentación completa sobre:
- Image scanning con Trivy
- Falco runtime security
- Image signing
- Security policies
- Admission controllers
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall