GraphModelToNeo4J
1.0.0
Carlos Blanco
08-03-2022
Transform a graph-oriented database model into security policies for Neo4J
python.exe .\graph_model_to_neo4j.py --database NoSQL-Hospital --outputfile securityConfiguration.txt
python3 graph_model_to_neo4j.py --database NoSQL-Hospital --outputfile securityConfiguration.txt
--database The name of the database
--outputfile The name of the output file where to write the security policies. It is generated in "data" subfolder
docker build -t graph_model_to_neo4j -f GraphModelToNeo4J.dockerfile .
docker run -v $(pwd)/data:/usr/local/src/data/ graph_model_to_neo4j --database "NoSQL-Hospital" --outputfile "securityConfiguration.txt"
docker run -v data:/usr/local/src/data/ graph_model_to_neo4j --database "NoSQL-Hospital" --outputfile "securityConfiguration.txt"
The "data" volume is mount here "\wsl.localhost\docker-desktop-data\version-pack-data\community\docker\volumes\data_data"
docker ... --tag 1.0.0