
Ein Hochleistungs-TAXII (Trusted Automated eXchange of Indicator Information) Server, geschrieben in Rust.
Ein leistungsstarker TAXII (Trusted Automated eXchange of Indicator Information) Server, geschrieben in Rust.
Rust-Port von EclecticIQ OpenTAXII mit vollständiger Datenbankkompatibilität.
# 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
Server startet unter http://localhost:9000.
Docker-Image: 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
Um lokal zu bauen anstatt von Docker Hub zu ziehen, bearbeiten Sie docker-compose.yml und kommentieren Sie den build-Abschnitt aus.
DARWIS TAXII verwendet zwei Konfigurationsdateien (entsprechend der OpenTAXII-Konvention):
| Datei | Zweck |
|---|---|
taxii.toml | Servereinstellungen: Datenbank, Authentifizierung, Domain, TAXII 1.x/2.x-Optionen |
data-config/ | Daten: Dienste, Collections, Konten mit Berechtigungen |
Kopieren Sie taxii.example.toml in taxii.toml und passen Sie es für Ihre Umgebung an.
Siehe die Dokumentation für alle Optionen, einschließlich Überschreibung durch Umgebungsvariablen.
# 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"
Führen Sie taxii-cli --help für alle Befehle aus.
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