benzino77 / clamav-rest-api

ClamAV REST API. Scan files using simple POST request.
MIT License
117 stars 42 forks source link

[Question] Could I use this API to scan another pod? #10

Closed Tom284 closed 3 years ago

Tom284 commented 3 years ago

Hello, would it be possible to scan another pod in the cluster through this API?

Like for example with the C# Kubernetes client

benzino77 commented 3 years ago

This is just a REST API, so you can call API endpoint with file you want to scan (HTTP POST) . You can call this API from other pods on your cluster. On the other hand this solution is not able to scan files directly, located in other pods - it can only scan files passed via REST call.

Tom284 commented 3 years ago

Oke, thank you very much for responding!