
Un servidor TAXII (Intercambio Automatizado y Confiable de Información de Indicadores) de alto rendimiento escrito en Rust.
Un servidor TAXII (Trusted Automated eXchange of Indicator Information) de alto rendimiento escrito en Rust.
Puerto en Rust de EclecticIQ OpenTAXII con compatibilidad total de base de datos.
# Build
cargo build --release
# Copy and edit configuration
cp taxii.example.toml taxii.toml
cp examples/data-config/full.yaml data-config.yaml # Or accounts.yaml for TAXII 2.x only
# Edit taxii.toml and data-config.yaml with your settings
# Run server (auto-runs migrations on startup)
./target/release/taxii-server
# Sync data configuration (services, collections, accounts)
./target/release/taxii-cli sync data-config.yaml
El servidor inicia en http://localhost:9000.
Imagen Docker: cysecurity/darwis-taxii
cd examples/docker
# Create config directory and copy example configs
mkdir config
cp ../../taxii.example.toml config/taxii.toml
cp ../data-config/full.yaml config/data-config.yaml # Or accounts.yaml for TAXII 2.x only
# Edit config files as needed
# Start server and PostgreSQL
docker compose up -d
# Sync data configuration (services, collections, accounts)
docker compose exec taxii-server ./taxii-cli sync /app/config/data-config.yaml
# List accounts
docker compose exec taxii-server ./taxii-cli account list
Para compilar localmente en lugar de descargar desde Docker Hub, edita docker-compose.yml y descomenta la sección build.
DARWIS TAXII utiliza dos archivos de configuración (siguiendo la convención de OpenTAXII):
| Archivo | Propósito |
|---|---|
taxii.toml | Ajustes del servidor: base de datos, autenticación, dominio, opciones TAXII 1.x/2.x |
data-config/ | Datos: servicios, colecciones, cuentas con permisos |
Copia taxii.example.toml a taxii.toml y edita según tu entorno.
Consulta la documentación para todas las opciones, incluyendo sobrescritura mediante variables de entorno.
# Sync services, collections, and accounts from YAML
taxii-cli sync data-config.yaml
# Account management
taxii-cli account list # List accounts with permissions
taxii-cli account delete -u user # Delete an account
# Database migrations (auto-run on server startup)
taxii-cli migrate run # Apply pending migrations
taxii-cli migrate status # Show migration status
# TAXII 2.x management
taxii-cli api-root add --title "My Root" --default
taxii-cli collection add --api-root-id <uuid> --title "Intel"
Ejecuta taxii-cli --help para todos los comandos.
taxii.example.toml # Server configuration example
examples/
data-config/ # Data configuration examples
full.yaml # Full config (TAXII 1.x + accounts)
accounts.yaml # Accounts only (for TAXII 2.x)
docker/ # Docker deployment files
migrations/ # SQLx database migrations
taxii-core/ # Core types and signal hooks
taxii-db/ # Database persistence (SQLx)
taxii-auth/ # JWT and password authentication
taxii-1x/ # TAXII 1.x protocol (XML)
taxii-2x/ # TAXII 2.x protocol (JSON)
stix2/ # STIX 2.x parsing
taxii-server/ # HTTP server (Axum)
taxii-cli/ # CLI tool
https://cspf-founder.github.io/darwis-taxii/
BSD-3-Clause