Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
/ layout-web-tool Public archive

A flask app that helps to create, modify and visualize in-toto layouts.

License

Notifications You must be signed in to change notification settings

in-toto/layout-web-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7520aa1 · Oct 23, 2023
Oct 4, 2018
May 4, 2023
Apr 26, 2021
Apr 26, 2021
Apr 26, 2021
Aug 30, 2017
Oct 23, 2023
Jul 25, 2017
Jan 19, 2021
Oct 4, 2018
Oct 10, 2023
Dec 6, 2022
Jul 25, 2023
Sep 14, 2017
Jan 31, 2021

Repository files navigation

in-toto Layout Creation Wizard

A Flask-based web app to guide project owners through creating an in-toto layout.

More information about in-toto and in-toto layouts can be found at the project website in-toto.io.

Installation

Requirements

  • Python -- backend
  • npm -- frontend dependencies
  • Ruby and SASS -- CSS preprocessor
  • MongoDB -- to persist user session data (for usage analysis)
# Start `mongod` (if not already running)
sudo systemctl start mongod

# Install backend (c.f. requirements.txt)
pip install -r requirements.txt

# Install and vendorize frontend dependencies and compile scss
# c.f. dependencies and scripts in package.json
npm install

Deployment

# Example configuration in FLASK_APP_ROOT/instance/config.py
DEBUG = False
SECRET_KEY = '?\xbf,\xb4\x8d\xa3"<\x9c\xb0@\x0f5\xab,w\xee\x8d$0\x13\x8b83' #CHANGE THIS!!!!!

Development Tips

  • Run the development server like this:
python wizard.py
  • Run a sass watcher during development to automatically compile css on file change:
sass --watch static/scss/main.scss:static/css/main.scss.css

Acknowledgements

This project is managed by Prof. Justin Cappos and other members of the Secure Systems Lab at NYU and the NJIT Cybersecurity Research Center.

About

A flask app that helps to create, modify and visualize in-toto layouts.

Resources

License

Stars

Watchers

Forks

Packages

No packages published