Skip to content
S

SentinelAI

Generative AI-Powered SOC Assistanted Log Analysis

Created on 17th March 2026

•

S

SentinelAI

Generative AI-Powered SOC Assistanted Log Analysis

The problem SentinelAI solves

Modern organizations generate massive volumes of security logs from firewalls, servers, and applications. Manually analyzing these logs is time-consuming, error-prone, and requires expert knowledge. This often leads to alert fatigue, missed threats, and delayed incident response.

SentinelAI addresses this by transforming raw, complex logs into structured, human-readable security insights. Instead of manually parsing logs, users can upload a file and instantly receive:

  • A clear incident summary in plain English
  • A reconstructed timeline of suspicious activity
  • Mapping of observed behavior to MITRE ATT&CK tactics and techniques
  • Contextual threat intelligence (e.g., IP reputation and location)
  • Actionable remediation suggestions

This significantly reduces the time required for log analysis and makes security insights accessible even to non-experts, helping teams respond faster and more effectively to potential threats.

Challenges we ran into

One of the biggest challenges was handling inconsistencies in AI-generated responses.

Since the backend relies on an LLM to analyze logs and return structured JSON, the model would sometimes:

  • Return improperly formatted JSON
  • Include extra text outside the JSON
  • Miss required fields like timeline or MITRE mappings

This caused parsing errors and broke the frontend rendering.

To solve this, I:

  • Enforced strict output formatting using a detailed system prompt
  • Used response_format={"type": "json_object"} to force valid JSON output
  • Added error handling in the backend to catch and safely return failures

Another major challenge was CORS issues when deploying the frontend (GitHub Pages) and backend (Render). The frontend requests were blocked by the browser due to missing headers.

I fixed this by explicitly configuring FastAPI’s CORSMiddleware to allow requests from the deployed frontend domain.

Additionally, managing secrets (API keys) during GitHub deployment was a hurdle. GitHub blocked pushes due to exposed keys, which I resolved by:

  • Moving secrets into environment variables
  • Adding .env to .gitignore
  • Using Render environment variables for secure deployment

Discussion

Builders also viewed

See more projects on Devfolio