Skip to content

pleak-tools/pleak-sql-editor

Repository files navigation

Pleak SQL-privacy editor [DEPRECATED]

This project is the front-end part of the SQL analysis tools and SQL and BPMN leaks-when analysis tools. It also uses Simple Disclosure analyis from PE-BPMN editor.

Prerequisites

You need to locate pleak-backend, pleak-frontend, pleak-sql-analysis, pleak-leaks-when-ast-transformation, pleak-leaks-when-analysis, pleak-pe-bpmn-editor and pleak-sql-editor directories all in the same directory and specify their names in the config.json file. Read more from sub-repositories how to build each module.

To use all functionalities of the SQL-privacy editor, set up:

  1. SQL global sensitivity analysis tool

  2. SQL local sensitivity analysis tool

  3. SQL derivative sensitivity analysis tool

  4. SQL leaks-when analysis tool

  5. BPMN leaks-when analysis tool

  6. PE-BPMN editor

  7. For SQL intermediates propagation, set up a postgresql database and a user (with password and superuser privileges). Create "cube" and "earthdistance" extensions for the user. Specify user credentials in SQLAnalyserService.java under "/propagate" endpoint.

Build

To build the editor you need: NodeJS with npm installed.

To install all project dependencies execute npm install.

Execute npm run build to build the project. The build artifacts will be stored in the dist/ directory.

Using

You can use the editor for each model from the Action menu next to the model on Files page (of frontend) or from the URL: http://localhost:8000/sql-privacy-editor/id (id of the model).

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published