Giter Club home page Giter Club logo

system-register's Introduction

System Register

  • What systems are in my organisation?
  • Where is the risk?
  • Who do I talk to about that?

Crowdsource systems and the risks they contain.

Prerequisites

  • pre-commit
  • Java 11+ JDK
  • Node 10
  • Maven
  • Yarn
  • Docker & docker-compose
  • Python 3

There are Git hooks in this repository that perform linting and security-related checks before commits. Use pre-commit to install these:

pre-commit install

Development

There are 2 services, frontend (UI) and backend (API).

The UI is SPA react app created via create-react-app.

The API is a Quarkus based java app.

By default, the API serves up the UI but they are designed to be independently deployable.

To build and start developing the API locally:

./tasks build-frontend
./tasks build-backend
./tasks dev-backend

This will build the UI, copy the files over to be served up by the backend, build the backend and start the backend in dev mode with file watch and hot reload for the backend only.

If you want to develop the frontend with hot reload

./tasks dev-frontend

Detecting secrets

The pre-commit Git hook checks changes for possible secrets using detect-secrets. These checks look for keywords and regions of randomness that might be passwords.

As the checks are heuristic-based, false-positives are possible. If, after reviewing any rejected commits, you’re confident that there are no secrets, run the following command and include the .secrets.baseline file in the commit:

detect-secrets scan > .secrets.baseline

For this to work, you’ll need to have the detect-secrets tool installed directly. pre-commit has its own copy which isn’t normally accessible. To install it, use pip (or pip3):

pip install detect-secrets

system-register's People

Contributors

mikewinter avatar jbjamesbrownjb avatar paulasiemek avatar charlesharrison263 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.