
Rust로 작성된 고성능 TAXII(Trusted Automated eXchange of Indicator Information) 서버.
Rust로 작성된 고성능 TAXII(Trusted Automated eXchange of Indicator Information) 서버입니다.
데이터베이스 완전 호환성을 갖춘 EclecticIQ OpenTAXII의 Rust 포트입니다.
# 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
서버는 http://localhost:9000에서 시작됩니다.
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
Docker Hub에서 가져오는 대신 로컬에서 빌드하려면 docker-compose.yml을 편집하고 build 섹션의 주석을 해제하세요.
DARWIS TAXII는 OpenTAXII 규칙에 따라 두 개의 구성 파일을 사용합니다.
| 파일 | 용도 |
|---|---|
taxii.toml | 서버 설정: 데이터베이스, 인증, 도메인, TAXII 1.x/2.x 옵션 |
data-config/ | 데이터: 서비스, 컬렉션, 권한이 있는 계정 |
taxii.example.toml을 taxii.toml로 복사하고 환경에 맞게 편집하세요.
환경 변수 재정의를 포함한 모든 옵션은 문서를 참조하세요.
# 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"
모든 명령은 taxii-cli --help를 실행하세요.
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