Skip to content

feat(server): log scan request received before vulnerability detection - #2619

Open
Hritik914 wants to merge 1 commit into
future-architect:masterfrom
Hritik914:debug-http-request-logging
Open

feat(server): log scan request received before vulnerability detection#2619
Hritik914 wants to merge 1 commit into
future-architect:masterfrom
Hritik914:debug-http-request-logging

Conversation

@Hritik914

Copy link
Copy Markdown

Log an informational message in VulsHandler.ServeHTTP when a scan request is received, prior to starting package vulnerability detection and CVE data enrichment.

Log an informational message in VulsHandler.ServeHTTP when a scan
request is received, prior to starting package vulnerability detection
and CVE data enrichment.
@Hritik914

Hritik914 commented Aug 4, 2026

Copy link
Copy Markdown
Author

Hi @MaineK00n
Our vuls instance is running in server mode and some of our servers give 1200+ packages for scan and it oom kills the pod with 2Gi memory. we have increased it to 6Gi but the memory usage keeps increasing. mean while the request from our server is timeout out as it is set to 15 mins ( have tested it with 100 mins, but it gets timedout).

So having a request received log would be immensely helping in debugging as well as for any metrics we might want to expose.

This is my first PR in open source. Please guide me if i had missed something.

Thanks

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