
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 # सर्वर कॉन्फ़िगरेशन उदाहरण
examples/
data-config/ # डेटा कॉन्फ़िगरेशन उदाहरण
full.yaml # पूर्ण कॉन्फ़िग (TAXII 1.x + खाते)
accounts.yaml # केवल खाते (TAXII 2.x के लिए)
docker/ # Docker परिनियोजन फ़ाइलें
migrations/ # SQLx डेटाबेस माइग्रेशन
taxii-core/ # कोर प्रकार और सिग्नल हुक
taxii-db/ # डेटाबेस स्थिरता (SQLx)
taxii-auth/ # JWT और पासवर्ड प्रमाणीकरण
taxii-1x/ # TAXII 1.x प्रोटोकॉल (XML)
taxii-2x/ # TAXII 2.x प्रोटोकॉल (JSON)
stix2/ # STIX 2.x पार्सिंग
taxii-server/ # HTTP सर्वर (Axum)
taxii-cli/ # CLI उपकरण
https://cspf-founder.github.io/darwis-taxii/
BSD-3-Clause