
AMattah Chenna Kesavalu616404 (Community Member) asked a question.
https://github.com/ctcampbell/veracode-stats
https://github.com/ctcampbell/veracode-to-csv
fails at below call “analysis_unit” . What is this analysis_unit?

AMattah Chenna Kesavalu616404 (Community Member) asked a question.
https://github.com/ctcampbell/veracode-stats
https://github.com/ctcampbell/veracode-to-csv
fails at below call “analysis_unit” . What is this analysis_unit?
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 @AMattah Chenna Kesavalu616404 (Community Member) ,
Veracode-stats and veracode-to-csv are community provided so I would recommend contacting the author by reporting an issue at https://github.com/ctcampbell/veracode-to-csv/issues .
I took a quick look at the script and it appears that this appears to use the getbuildinfo.do call, more information here: https://help.veracode.com/reader/orRWez4I0tnZNaA_i0zn9g/Yjclv0XIfU1v_yqmkt18zA .
You can find more information on what an analysis_unit is here in the XSD schema for the response here: https://analysiscenter.veracode.com/resource/4.0/buildinfo.xsd
For the 'analysis_unit' element:
The analysis unit type element contains all the elements and attributes
that reflect the data we store for a single analysis unit.
This element contains the following required elements:
* status: if the build is published, in progress
* analysis_type: static, dynamic, manual
* published_date: date we published if this analysis unit is published
* published_date_sec: date we published, represented as a UNIX timestamp
* engine_version: The version of the engine that this scan was run against. Static only.
Thank you,
Boy Baukema
I am getting access denied error for getbuildinfo.do call. What security role do i need?
My api key already has Reviewer role. What other role needed for this getbuildinfo.do call?
The other API is working good to me - https://analysiscenter.veracode.com/api/5.0/detailedreport.do
The getbuildinfo.do call is part of the Upload and Scan API and as such you need the Submitter role.
See also: https://help.veracode.com/go/c_API_roles_details
Thank you,
Boy Baukema