
GDay765431 (Community Member) asked a question.
Will the Veracode SCA scan flag vulnerabilities for POM artifacts which are defined as <scope>test</scope>? The <scope>test</scope> would be used for libraries such as junit. Junit would be used when executing test case classes in a src/test path, but those src/test classes would be setup in the POM file to not get included when the deployment EAR is generated. Maven should automatically exclude the <scope>test</scope> artifacts when building the EAR. If there was a vulnerability found in a jar such as junit would Veracode still open a Vulnerability even if the junit artifact has been defined with <scope>test</scope> and thus is not part of the actual application EAR?
.png)
Hi @GDay765431 (Community Member) ,
Veracode Software Composition Analysis currently supports 2 ways of analysing the dependencies of an application:
Thank you,
Boy Baukema
Veracode Application Security Consulting
Schedule a Consultation - https://docs.veracode.com/r/t_schedule_consultation
Thank you. That was the information that I needed.