cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to Enable Malware Scanning for Java Application in SAP BAS

0 Likes
10,979

Hi All,

Good day!

I am writing to inform you that I am working on enabling malware scanning for the below java application:
https://developers.sap.com/tutorials/cp-objectstore-mc-java-app.html
The requirement is to scan the virus before uploading the file if it success it should upload or it should give error message .

To do this, I have imported some of the libraries, dependencies and some piece of code of malware in the application by following some blogs but It showing some sort of errors which are attached below.

Library error

I have imported these library but they are showing errors .

Dependency error

I have added above dependencies but showing errors like missing artifact like below image

Code of Malware Scanning

With those errors I am unable to deploy the application . I look forward to hearing from you soon!

Can anyone help me how to solve this issue?

Thanks

Vasavi.

Accepted Solutions (0)

Answers (1)

Answers (1)

WouterLemaire
SAP Mentor
SAP Mentor
0 Likes

Here you have an example on how to do this with the nodejs flavor of cap: https://blogs.sap.com/2023/01/14/cap-handling-of-media-data-with-malware-scanning/

I have no experience doing this in Java..