Skip to content

Conversation

@nfebe
Copy link
Contributor

@nfebe nfebe commented Dec 22, 2025

No description provided.

Add ListDatabaseUsers method to query users with privileges on a
specific database. Supports MySQL/MariaDB and PostgreSQL.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
Add comprehensive traffic logging for all nginx requests:
- New traffic package with manager, db operations, and models
- Lua module for non-blocking request logging via async timers
- API endpoints for logs, stats, cleanup, and per-deployment metrics
- Global log_by_lua_block in nginx.conf for all traffic capture
- Template functions for processing Lua files with agent config
- Add POST /security/refresh endpoint to regenerate security scripts
- Improve health check messages to be user-friendly
- Add RefreshSecurityScripts function with Docker host IP detection
- Inject agent IP directly into Lua templates
- Add waitForContainerReady to handle container restart scenarios
- Regenerate nginx.conf, Lua files, and vhosts on refresh
- Add waitForContainerReady to poll container state before commands
- Handle container restart scenarios in Reload and TestConfig
- Prevent errors when container is in restarting state
- Add helper to check container readiness with retry logic
- Add tests for vhost generation and security hook validation
Signed-off-by: nfebe <fenn25.fn@gmail.com>
@nfebe nfebe merged commit b4e3859 into main Dec 22, 2025
5 checks passed
@nfebe nfebe deleted the feat/security-monitoring-improvements branch December 22, 2025 15:47
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.

2 participants