Skip to content

aidancrane/ico-security-trends

Repository files navigation

ico-security-trends

The UK Government body, called the Information Commissioners Office publish this information in non-standardised spreadsheets, however they have recently included their own, more adaptive Microsoft Power BI dashboard. This website breaks down the information collated to provide insight and overview of the data contained inside the spreadsheets.

Running the Development Environment

Starting your own development environment is easy, there are three steps,

Prerequisites

This installation should work on Windows, Mac or Linux. Tested on Windows.

  1. Docker or/and Docker Desktop.
  2. Docker Compose.

Sample Enviromment file (.env)

APP_NAME=ico-security-incident-trends
APP_ENV=local
APP_KEY=base64:67nhH0J1Mb0hfsrVAlniG33Eh/oRBGq4fFBYGQaPQ3k=
APP_DEBUG=true
APP_URL=http://localhost

LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=ico_data_security_trends
DB_USERNAME=ico_data_security_trends
DB_PASSWORD=")HuN3oA_T]AVfr]w"

BROADCAST_DRIVER=log
CACHE_DRIVER=file
FILESYSTEM_DRIVER=local
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120

IGNITION_EDITOR=atom
IGNITION_THEME=dark

TELESCOPE_ENABLED=true

Installation for Development

  1. Use git to clone the latest version to your computer.
  2. Alter the supplied example .env file as you see fit and place it in the root of the project directory.
  3. Use the command docker-compose up in the .docker folder on your computer, this will build the development environment and install the required database, nginx webserver and php specific dependencies like npm and composer. After about 5 minutes the project should stop outputting to the console and the project should be installed. If you see a 500 or 502 error, the database may not have finished seeding yet, so I would suggest waiting a little longer.

Once the installation is complete, visit http://localhost/ in your browser to access the project. Open the project in your development environment of choice to make changes.

Note that nginx is not used on the production website which you can visit here so don't spend much time adapting the nginx configuration.

OGL V3

  • You can read the terms of the OGL v3.0 licence here
  • Contains public sector information licensed under the Open Government Licence v3.0

About

A trend dashboard for UK ICO data security incidents

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published