https://github.com/saikatharryc/muescheli
muescheli antivirus [working version]
https://github.com/saikatharryc/muescheli
antivirus clamav docker helm kubernetes scan
Last synced: 8 months ago
JSON representation
muescheli antivirus [working version]
- Host: GitHub
- URL: https://github.com/saikatharryc/muescheli
- Owner: saikatharryc
- License: apache-2.0
- Created: 2020-04-15T09:50:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-17T22:26:20.000Z (over 1 year ago)
- Last Synced: 2024-04-17T23:33:51.021Z (over 1 year ago)
- Topics: antivirus, clamav, docker, helm, kubernetes, scan
- Language: Go
- Size: 2.29 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# muescheli
("müscheli" is swiss german for a small sea shell or clam)**small service that connects to a ClamAV daemon through tcp**
## test locally
use the `docker-compose.yml`
```bash
$ docker-compose up --build
```*or*
build ClamAV image and run
```bash
$ docker build -t clamav clamav
$ docker run -p 3310:3310 clamav
```run the webservice (requires a go installation with dep)
```bash
$ dep ensure
$ go run main.go
```run a test
```bash
$ curl -v -u muescheli:muescheli -X POST -H "Content-Type: multipart/form-data" -F "file1=@test/eicar.com" -F "file2=@test/test.txt" http://localhost:8091/scan
```
or
```bash
$ curl -v -u muescheli:muescheli -X PUT --data-binary @test/eicar.com http://localhost:8091/scan
```
or
```bash
$ curl -u muescheli:muescheli -v http://localhost:8091/scan?url=https://tech.ebu.ch/docs/tech/tech3285.pdf
```## run on kubernetes
Using [Helm](https://github.com/saikatharryc/helm/tree/master/charts/muescheli):
```bash
$ helm repo add saikatharryc https://saikatharryc.github.io/helm/
$ helm install my-release saikatharryc/muescheli
```
Using Kubectl:
```bash
$ kubectl create -f k8s/deployment.yml
```
this will start a pod with 2 containers (clamav and muescheli)muescheli service exposed through random NodePort port
Ref:
- https://github.com/lastops/muescheli
- https://github.com/monostream/muescheli