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.
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:
-
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.
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.
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).
MIT