Skip to content

A tool to map your IT inventory to the BSI Grundschutz

Notifications You must be signed in to change notification settings

jgerle/gsonline

Repository files navigation

OpenGS / GS Online

A neat little tool to document your IT environment in a structured way and map your system to the BSI Grundschutz requirements.

Basically any set of structured requirements can be mapped.

As a result you can see which requirements you need to fulfill.

How to run it

Create an .env file in the base dir

MYSQL_ROOT_PASSWORD=YourAppPassWordHere
MYSQL_USER=gsonline
MYSQL_PASSWORD=YourRootPassWordHere
MYSQL_DATABASE=opengs

DATABASE_URL=mysql+pymysql://${MYSQL_USER}:${MYSQL_PASSWORD}@mysql:3306/${MYSQL_DATABASE}
SECRET_KEY=SomeSecretKeyWhichIForgotWhatItIsGoodFor

MAIL_SERVER=localhost
MAIL_PORT=8025

ADMINS = ['your@email.here']

Option A: Run it from source on your machine

You need to have a MySQL server available and accessible for the app. The db user needs permissions to create and modify tables.

  1. Create a virtual environment: python -m venv .venv
  2. Activate the environment: .\.venv\Scripts\activate
  3. Install packages: pip install -r requirements.txt
  4. Create db and populate it: flask db init && flask db upgrade
  5. Start the app: flask run

Option B: Docker Compose

  1. Build the app container with docker build -t gsonline:dev .
  2. Execute docker-compose up -d

Access the web app

Either way, access the app at http://localhost:5000. Register a user, login and go for it :)

BSI Grundschutz Kompendium 2022

The technical buildingblocks start at scroll-bookmark-1305 with the chapter APP in the file IT-Grundschutz-Kompendium-Edition-2022.xml.

A hooman-readable version can be found directly at the BSI: https://www.bsi.bund.de/DE/Themen/Unternehmen-und-Organisationen/Standards-und-Zertifizierung/IT-Grundschutz/IT-Grundschutz-Kompendium/IT-Grundschutz-Bausteine/Bausteine_Download_Edition_node.html