abdelhak-kadir/cybersecurity-streaming ? reverse-engineered prompt

Reverse engineered prompt

Build me a real time cybersecurity threat detection system that can replay network logs, spot suspicious activity as it happens, and show everything in a live dashboard. I want it to take a large CSV of security events, stream them through a pipeline, detect things like brute force attacks, port scans, attack patterns, and unusual traffic, then save the results so I can query them later.

Also include a simple web API for looking up IP threat info and live threats, plus a dashboard that shows the main security metrics and triggers email alerts when something looks bad. It should also support a batch side that builds historical views and trains a threat classification model, then serves those results through the same app.

Make it something I can run locally with containers, and keep the setup as production like as reasonable. If you need current docs for any tools, look them up online first.