Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quarantine the infected file #15

Open
umair1409 opened this issue Sep 7, 2022 · 1 comment
Open

Quarantine the infected file #15

umair1409 opened this issue Sep 7, 2022 · 1 comment

Comments

@umair1409
Copy link

Hi,

Is there a way to quarantine the infected file into any folder using ClamNetworkScannerEngine.java passing the content as InputStream over the network. That is by customizing the below method?
public ScanResult scan(InputStream content, String fileName) throws AvsException {
...
}

Regards,
Umair.

@gruberrolandvaltech
Copy link
Collaborator

For this you could create a custom scan engine based on the existing one. There you can send the data to a quarantine location.

https://github.com/valtech/aem-virus-scan#customScanner

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

No branches or pull requests

2 participants