Git Product home page Git Product logo

cisa_stoat's Introduction

STOAT masthead

The Scoring Threat Objects Analysis Tool (STOAT) web application takes software described in the STIX 2.1 format and automates an initial socre based on the software's weaknesses. Then, customers can edit the weakness score to best reflect their environment, notes, and considerations before its out as STIX 2.1.

To run for the first time:

Make sure to set up OrientDB before starting STOAT. STOAT has been tested with OrientDB 3.0.32.

Use the command npm run setup to set the environment variables and install all the dependencies.

Then type npm start to start the application.

React should open the app in the browser automatically. If it doesn't, navigate to http://localhost:3000.

You should only need to run npm run setup once, unless you need to change the environment variables. If you want to install/update dependencies without setting up environment variables, use npm run update. If you want to set up environment variables without installing dependencies, either edit the .env files directly (as explained below) or run ./setup.sh.

Environment Variables

Both the api and the client use environment variables stored in a .env file. The setup script npm run setup will set these up automatically. Here is a reference to what variables are used and what they mean.

./client/.env

Name Default Value Description
REACT_APP_DB http://localhost:3001 API server URL

./.env

Name Default Value Description
ORIENT_HOST localhost OrientDB server hostname or IP address
ORIENT_PORT 2424 OrientDB server port
ORIENT_USER root OrientDB username
ORIENT_PASS OrientPW OrientDB password
DB_NAME stoat Database name
DB_USER root Database username
DB_PASS OrientPW Database password
PORT 3001 API server port

cisa_stoat's People

Contributors

bt-st avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.