sentrysk / Sentrysk-Backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dashboard

  • The dashboard collect and show info

How to Run

  • Step 1 : Download the Repo
git clone https://github.com/sentrysk/Sentrysk-Backend
  • Step 2 : Change the Database Connection Properties in config.ini
[Database]
; Replace with your database host
HOST = 127.0.0.1
; Replace with your database host
PORT = 27017
; Replace with your database name
DB = dashboard
; Replace with your database username
USERNAME = admin
; Replace with your database password
PASSWORD = your_mongo_admin_password

Endpoints

Agents

In this section you can create,update,delete,list Agents

Endpoint prefix: /agent

Action Endpoint Method
Get / GET
Get by ID / GET
Create /register POST
Delete / DELETE
Update / PUT

Users

In this section you can register,login,logout Users

Endpoint prefix: /user

Action Endpoint Method
Get / GET
Get by ID / GET
Register /register POST
Login /register POST
Logout /logout POST

System Information

In this section you can register and list System Information like

  • CPU
  • RAM
  • OS
  • DOMAIN
  • MEMORY
  • NETWORK INTERFACES

Endpoint prefix: /sysinfo

Action Endpoint Method
Get All / GET
Get by Agent ID /<agent_id> GET
Register / POST
Get Changelog by ID /<sys_info_id>/changelog GET

About

License:MIT License


Languages

Language:Python 99.5%Language:Dockerfile 0.5%