- The dashboard collect and show info
- 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
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 |
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 |
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 |