How wadella/revelation works
Revelation turns an uploaded or selected PCAP into protocol, packet, flow, anomaly, and threat-intelligence artifacts, indexes them for evidence retrieval, then answers analyst questions through a local agent. The README also describes dense/hybrid evaluation as a separate capability. Workflow calls are visible for the sampled processing steps; links for unsampled pipeline details rely on README documentation, and optional external lookups are marked dashed.
Main entry points: WORKFLOW.py Workflow orchestration · get_embedding_function.py Local embeddings · Rag_ingest_updated_final.py Artifact ingestion · query_iot_rag_custom_improve.py Hybrid retrieval
Components 20
User interfaces
- Streamlit interface
app_final.py - Workflow orchestration
WORKFLOW.py
Traffic processing
- Protocol reconstruction
zeek_json_tool.py - Packet-layer extraction
extract_packet_layer_json.py - Flow summaries
flow_summaries_updated_final.py - Feature extraction
extract_pcap_features_tool.py - BERT interpretation
anomaly_detection.py - Threat enrichment
enrich_iot_report.py
Index and retrieval
- Artifact ingestion
Rag_ingest_updated_final.py - Local embeddings
get_embedding_function.py - Chroma sessions
chroma_sessions - Hybrid retrieval
query_iot_rag_custom_improve.py - Question-answer agent
WORKFLOW.py
Evaluation
- Dense evaluation
Evaluation/Dense_only_evaluation.py - Hybrid evaluation
Evaluation/Hybrid_evaluation.py - Baseline evaluation
Frontier_PCAP_Baseline_Eval_Package/legacy/Hybrid_full_eval_original.py
Other components
- Analyst
- PCAP capture
data - Threat intelligence APIs
- IoT web lookup
Connections 21
- Analyst → Streamlit interface: uploads and asks
README.md - Streamlit interface → Workflow orchestration: builds pipeline
README.md - PCAP capture → Workflow orchestration: processes capture
README.md - Workflow orchestration → Protocol reconstruction: runs
WORKFLOW.py - Workflow orchestration → Packet-layer extraction: runs
WORKFLOW.py - Workflow orchestration → Flow summaries: runs
WORKFLOW.py - Workflow orchestration → Feature extraction: extracts
WORKFLOW.py - Workflow orchestration → BERT interpretation: runs
WORKFLOW.py - Workflow orchestration → Threat enrichment: runs
WORKFLOW.py - Threat enrichment → Threat intelligence APIs: queries
enrich_iot_report.py - Workflow orchestration → Artifact ingestion: ingests artifacts
README.md - Artifact ingestion → Chroma sessions: writes chunks
Rag_ingest_updated_final.py - Artifact ingestion → Local embeddings: embeds chunks
Rag_ingest_updated_final.py - Analyst → Question-answer agent: asks questions
README.md - Question-answer agent → Hybrid retrieval: calls retrieval
README.md - Hybrid retrieval → Chroma sessions: searches evidence
query_iot_rag_custom_improve.py - Hybrid retrieval → Local embeddings: uses embeddings
query_iot_rag_custom_improve.py - Question-answer agent → IoT web lookup: looks up context
README.md - Dense evaluation → Local embeddings: uses embeddings
Evaluation/Dense_only_evaluation.py - Hybrid evaluation → Local embeddings: uses embeddings
Evaluation/Hybrid_evaluation.py - Baseline evaluation → Local embeddings: uses embeddings
Frontier_PCAP_Baseline_Eval_Package/legacy/Hybrid_full_eval_original.py