
Static IDE Scan (Greenlight) Group (Archived) — RHall266178 (Community Member) asked a question.
I'm using greenlight eclipse plugin.

Static IDE Scan (Greenlight) Group (Archived) — RHall266178 (Community Member) asked a question.
I'm using greenlight eclipse plugin.
Ask the Community
Get answers, share a use case, discuss your favorite features, or get input from the community.
By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts.
.png)
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
Hi RHall, Thanks for the question! Veracode Greenlight provides immediate feedback on the code you are actively working. Greenlight analysis is focused on a file or package and is able to identify flaws that are contained within that portion of the code. Flaws that require inter-class or inter-package data or control flow analysis require the complete application to be scanned. Therefore, scanning the complete application with Veracode Static may result in finding more flaws because the scope of what is being scanned is larger. The advantage to using Veracode Greenlight is that the class of problems that can be found by examining a portion of the overall application can be found immediately and the results provided in the context of what you are working on. Let me know if this answer makes sense in the context of your application. Our Security Consultants can also take a deeper look at the application with you to ensure the Static findings are indeed inter-class/package dependent and require the larger scope of the application to be detected. In Greenlight, did you try scanning the java package that the file is part of? In the Veracode Platform, are you familiar with the data path provided in the Triage Flaw Viewer for static scans, this helps to illustrate the intra-class/package flow that the static engine takes?
Hi @jworthington (Veracode, Inc.) , Thanks for the response. I think @RHall266178 (Community Member)'s question is actually simpler than this. I too see cases where the full static scan detects CWE's that are directly identifiable in a single java file, but that Greenlight doesn't flag. Those cases exactly match others where Greenlight does correctly match/flag the full scan report.
For example, I'm looking at the CWE 601 flaws from the full scan such as:
public void someMethod(String url, HttpServletResponse response) {
// Do some stuff...
response.sendRedirect( url ); // CWE 601 !
}
In some java files/line#'s from the full scan Greenlight flags this as expected. In others Greenlight doesn't flag it. I thought I noticed a pattern where static methods didn't scan correctly in GL, but I did a test of this and it seems not to be the case. I can take cut/paste/rename a methodX() that GL flags to methodY() and the same flaw isn't flagged in methodY().
We'd really love to rely on GL for pre-validating our mitigations. Any help/insights would be greatly appreciated.
Hi Ken, If the source and sink are in the same file (intra-class) or package (intra-package) that is being scanned Greenlight should be able to detect the flaw. If you have a specific instance you want to investigate further, please schedule a consultation call or create a support ticket. Our Security Consultants can dig deeper into the results to give you a more detailed answer. Have you used our "Schedule a Consultation" feature that's available in the Veracode Platform? Thanks Janet
Thanks for the reply, Janet. We do have specific instances and are compiling them, along with other questions, for a consultation. Sadly, only one of our Dev team members has permissions to do that - we don't know why (we don't know offhand who our admin for this account is to help look into this). If we were to submit a ticket, what precise information would you need? E.g., what references do you need? Maybe,
Thanks for your time and prompt reply,
Ken
Hi Ken, Thanks for letting me know. I've contacted the Veracode Program Manager for your account. He'll follow up with you directly about setting up a call to review. Thank you for your questions! -Janet
Fyi - I submitted ticket 00209088 for this issue. Thanks.
Hi Ken, Thanks for logging the ticket!