Skip to content

Implemented security monitoring functionality.#49

Merged
kPlavsic merged 1 commit intodevelopfrom
feature/security-monitoring
Mar 12, 2026
Merged

Implemented security monitoring functionality.#49
kPlavsic merged 1 commit intodevelopfrom
feature/security-monitoring

Conversation

@kPlavsic
Copy link
Contributor

Added admin endpoint for retrieving security logs (login success, login failed, request audit).
Access is protected via JWT authentication and RBAC.

Endpoint:
GET /api/owner/security-logs

Logs are stored in MongoDB and include:

  • event type
  • user
  • IP address
  • request path
  • HTTP method
  • status code
  • timestamp

@kPlavsic kPlavsic merged commit 2e23e37 into develop Mar 12, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant