Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 968 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 968 Bytes

threatco

companion application for the insights extension. Server / proxy / frontend.

base install dependencies

  • go programming language installed
  • a config.json
  • start in firstuse mode or there will no way to add a user

containerized deployment

  • docker, podman, or docker-compose
  • Dockerfile(s) / entrypoint.sh located in the root directory of this folder
  • a configuration file is also needed. the -delete option remove the config after reading it in.
  • creates a user [email protected] with password admin for the frontend

adding the first user (or any!)

# create a regular extension user (no password is required, so none is set)
curl -X POST http://localhost:8081/adduser -d '{"email": "[email protected]", "admin": false}'

# or with password to get frontend access (the admin flag doesnt corrently do anything)
curl -X POST http://localhost:8081/adduser -d '{"email": "[email protected]", "admin": true, "password": "beepbo0p"}'