When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
More information
Hi @JMadaras064603 (Community Member) - I've asked my colleagues if they have any additional input/thoughts on this question, but in the meantime, here's some information with links to our Docs -
Veracode Static Analysis works by analyzing compiled code and identifying entry points to understand the control and data flow.
Here's what the documentation suggests regarding entry points and ensuring comprehensive scanning:
To address your specific concern about abstractions:
By actively managing the modules selected for scanning and ensuring correct packaging, you can help Veracode's Static Analysis achieve better coverage of your application, even with complex architectural patterns.
[^1]: Scan code | Veracode Docs: https://docs.veracode.com/r/c_static_overview
[^2]: Java packaging | Veracode Docs: https://docs.veracode.com/r/compilation_java
[^3]: Scan code in the Veracode Platform | Veracode Docs: https://docs.veracode.com/r/Scan_source_code_in_the_Veracode_Platform
Thanks, Sam for the thoughtful response! I think we're likely good on the top-level modules being scanned (but I will verify we are using advanced mode as you mentioned). In our case we have mostly .NET class assemblies as our top-level modules. Does it matter whether we have Public methods in the .NET DLL/assembly in terms of how Veracode crawls the DLLs code? In our case, a lot of our data tier .NET Assemblies (which serve as top-level modules in our scan) have no public methods. We have one or more classes in each DLL, and each class has a Protected method that an internal framework/engine can call that links to all the protected/private methods where data access, etc. is performed. Are there any requirements in the top-level assemblies in terms of method scope (public/protected/private) that affect whether the Veracode scanner can find and traverse the methods?
Thanks!!!
Hi @JMadaras064603 (Community Member) - Over night I received some additional information from my colleagues that I wanted to pass along.
Firstly, we have an Idea submission from a customer that is similar, you could upvote it here: https://community.veracode.com/s/idea/0873n000000kFuuAAE/detail
Secondly - we do not currently offer insight into scope on a method basis, but for Policy scanning in the Veracode Platform we do offer the ability to review which files were modeled and analyzed. You can find this by clicking an individual scan and then navigating to the Source Files view in the menu on the left hand side.
Thanks Sam. I upvoted it.