CyberGator: A Dynamic Framework for Cyber Resilience Assessment
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).
Verify installations:
`docker --version`
`poetry --version`
- Clone the Repository
git clone [email protected]:OzPol/cybergator.git
cd cybergator
-
Create your .env file Your .env file should be placed in the root of the project (same level as the Dockerfile)
-
Make sure your Docker desktop is running! :)
-
Build the container
docker-compose build
- Run the container
docker-compose up
- Check the homepage in the browser
http://localhost:8000
- When you are done, you can stop the container
docker-compose down
- 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
andpyproject.toml
files will be automatically updated :) You can find detailed instructions for this in the next section.
- Run the container in detached mode:
docker-compose up -d
- Install the dependency/package
docker exec -it cybergator_app poetry add <your-package-name>
- Rebuild and run the container
docker-compose up --build
- Optional - clean old images
docker image prune -f
- Run the container in detached mode:
docker-compose up -d
- Run the following command:
docker exec -it cybergator_app poetry run python -m unittest discover -s tests -p "*.py"