Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Ayoub-2/CTI

Repository files navigation

CTI Dashboard (Open Source)

Status: Architecture & Design Phase (v1.0 Planning)
Architecture: Enterprise-Scale, Event-Driven, Polyglot
License: Apache 2.0

A high-performance, self-hosted Cyber Threat Intelligence (CTI) Platform designed to ingest, normalize, correlate, and visualize threat data at scale. Built for security teams who need an "API-First" open-source alternative to commercial TIPs.


🏗️ High-Level Architecture (v2 Design)

Our architecture is built on 5 Core Pillars to ensure scalability and speed:

  1. Partitioned Polyglot Storage:
    • PostgreSQL: Time-series partitioned storage for massive IOC retention.
    • Neo4j: Graph database for threat actor and campaign correlations.
    • OpenSearch: Hot indexing and Vector Search.
  2. Distributed Ingestion:
    • Redis Streams: High-throughput "firehose" for bursty feed ingestion.
    • Celery Workers: Scalable background processing for normalization.
  3. Intelligent Performance:
    • Redis Bloom Filters: Probabilistic deduplication (O(1)).
    • Multi-Layer Caching: Edge, API, and Database caching.
  4. High-Speed API:
    • Rust-Backed Validation: Leveraging Pydantic V2 for sub-millisecond schema checks.
    • Streaming Responses: Memory-efficient bulk data transfer.
  5. Vector Intelligence:
    • k-NN Search: Semantic analysis to find "related" threats beyond string matching.

👉 Read the Full Architecture Spec


📚 Documentation Structure

The project documentation is centralized in the docs/ directory:

Category File Description
Architecture HIGH_LEVEL_ARCHITECTURE_v2.md The technical vision and design patterns.
Deployment PRODUCTION_DEPLOYMENT.md Setup guide for Docker Swarm & Compose.
Requirements SYSTEM_REQUIREMENTS.md Hardware and software dependency matrix.
Roadmap ROADMAP.md Release phases from v0.1 to v1.2+.
Optimization OPTIMIZATION_REPORT.md Metrics on performance improvements.
Security VERIFICATION_PLAN.md Security and integrity verification checks.

🚀 Quick Start (Production Preview)

While we are in the design phase, the core infrastructure can be stood up for testing.

# 1. Clone the repo
git clone https://github.com/your-org/cti-dashboard.git

# 2. Configure Environment
cp .env.prod.template .env.prod
# (Edit .env.prod with secure passwords)

# 3. Launch Services
docker-compose -f docker-compose.prod.yml up -d

# 4. Verify Health
curl http://localhost/health

🛠️ Technology Stack

  • Core: Python 3.11, FastAPI, Pydantic V2 (Rust)
  • Databases: PostgreSQL 16, Neo4j 5, OpenSearch 2.11, Redis 7
  • Infrastructure: Docker, Nginx, Celery
  • Standards: STIX 2.1, TAXII 2.1

🗺️ Roadmap Status

We are continuously evolving. Key upcoming phases:

  • Phase 1-10: Core Feature Implementation (In Progress)
  • Phase 11: Enterprise Intelligence (Vector Search)
  • Phase 12: Big Data Scale (Partitioning & Streams)

See ROADMAP.md for the detailed timeline.

About

Open source Cyber Threat Intelligence

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published