{"id":27156747,"url":"https://github.com/vsi12/intrusion-detection-system","last_synced_at":"2026-04-30T20:33:29.686Z","repository":{"id":284509634,"uuid":"951079522","full_name":"VSI12/Intrusion-Detection-System","owner":"VSI12","description":"This project deploys a mock Intrusion Detection System (IDS) on AWS using Terraform. It leverages ECS Fargate to run a containerized Flask app that analyzes network traffic data in NSL-KDD format. Users upload datasets, and the app classifies intrusions, storing results in S3. The system ensures scalable, automated, and secure network monitoring.","archived":false,"fork":false,"pushed_at":"2025-04-03T08:40:45.000Z","size":456,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T09:32:57.306Z","etag":null,"topics":["aws","devops","docker","python","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VSI12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-19T06:07:05.000Z","updated_at":"2025-04-03T08:40:50.000Z","dependencies_parsed_at":"2025-03-26T09:25:43.320Z","dependency_job_id":"79a2e57e-fe1f-4cf8-bf6e-cb25b5054fc4","html_url":"https://github.com/VSI12/Intrusion-Detection-System","commit_stats":null,"previous_names":["vsi12/intrusion-detection-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VSI12%2FIntrusion-Detection-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VSI12%2FIntrusion-Detection-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VSI12%2FIntrusion-Detection-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VSI12%2FIntrusion-Detection-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VSI12","download_url":"https://codeload.github.com/VSI12/Intrusion-Detection-System/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247924451,"owners_count":21019183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","devops","docker","python","terraform"],"created_at":"2025-04-08T20:33:14.097Z","updated_at":"2026-04-30T20:33:29.681Z","avatar_url":"https://github.com/VSI12.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README.md\r\n\r\n## Project Overview\r\nThis project is a cloud-native,intrusion detection system built using AWS services. The system allows users to upload network logs, which are processed using machine learning models to detect anomalies and potential threats. The architecture leverages AWS Fargate for containerized workloads.\r\n## Features\r\n- **Next.js Frontend**: Serves the user interface and interacts with backend APIs.\r\n- **Flask Backend**: Runs ML inference on uploaded network logs.\r\n- **Secure AWS Deployment**: Hosted using ECS Fargate for both frontend and backend.\r\n- **File Storage**: Uses ECS task storage (/tmp) within the container for processing files as well as S3 storage for persistent storage.\r\n- **Scalable and Secure**: Designed with AWS best practices including IAM, WAF, and AWS Shield.\r\n- **Infastructure as Code (IaC)**: Fully provisioned with Terraform.\r\n\r\n## Architecture\r\n- **Frontend**: Next.js app running on AWS Fargate behind an ALB.\r\n- **Backend**: Flask application running on AWS fargate behind an ALB\r\n- **Storage**: S3 for file uploads and result storage.\r\n- **Networking**: Uses private subnets, VPC endpoints, and ALB.\r\n\r\n## Setup \u0026 Installation\r\n### Prerequisites\r\n- AWS CLI configured\r\n- Terraform installed\r\n- Docker installed\r\n- Node.js \u0026 Python installed\r\n\r\n### Infrastructure deployment (Terraform)\r\n-- Go into the terraform folder, the details steps to provision the AWS infrastructure are outlined there.\r\n\r\n\r\n## Contribution Guidelines\r\n- Fork the repository.\r\n- Create a feature branch.\r\n- Submit a pull request with clear documentation .\r\n\r\n## License\r\nMIT License\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsi12%2Fintrusion-detection-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvsi12%2Fintrusion-detection-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsi12%2Fintrusion-detection-system/lists"}