Skip to content

CyberGator: A Dynamic Framework for Cyber Resilience Assessment

License

Notifications You must be signed in to change notification settings

OzPol/cybergator

Repository files navigation

cybergator

CyberGator: A Dynamic Framework for Cyber Resilience Assessment

Project Overview

CyberGator is a cyber resilience assessment framework designed for dynamic risk evaluation, attack simulation, and adaptive defense strategy generation. It integrates Flask, Plotly Dash, Neo4j, PostgreSQL (via Supabase), and AI-driven simulations to model and improve system resilience against Advanced Persistent Threats (APTs).


Pre-requisites

Verify installations:

`docker --version`

`poetry --version`

Running the Application (Development)

  1. Clone the Repository
git clone [email protected]:OzPol/cybergator.git 
cd cybergator
  1. Create your .env file Your .env file should be placed in the root of the project (same level as the Dockerfile)

  2. Make sure your Docker desktop is running! :)

  3. Build the container

docker-compose build
  1. Run the container
docker-compose up
  1. Check the homepage in the browser
http://localhost:8000
  1. When you are done, you can stop the container
docker-compose down

Important Notes

  • In general, you only need to rebuild the container when there are changes to dependencies.
  • It's recommended to install dependencies INSIDE the container to avoid issues. Your local poetry.lock and pyproject.toml files will be automatically updated :) You can find detailed instructions for this in the next section.

How to add and install new dependencies to the application

  1. Run the container in detached mode:
docker-compose up -d
  1. Install the dependency/package
docker exec -it cybergator_app poetry add <your-package-name>
  1. Rebuild and run the container
docker-compose up --build
  1. Optional - clean old images
docker image prune -f

How to run unit tests manually

  1. Run the container in detached mode:
docker-compose up -d
  1. Run the following command:
docker exec -it cybergator_app poetry run python -m unittest discover -s tests -p "*.py"

About

CyberGator: A Dynamic Framework for Cyber Resilience Assessment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published