sharedreport.do

APIs

The sharedreport.do call returns the details of a shared report.

Before using this API, Veracode strongly recommends that you read API Usage and Access Guidelines.

Resource URL

https://analysiscenter.veracode.com/api/4.0/sharedreport.do

Parameters

app_id Integer. Required.
shared_report_id Integer. Required.

Example

curl --compressed -u <VeracodeUsername>
          https://analysiscenter.veracode.com/api/4.0/sharedreport.do -F "app_id=10442" -F
          "shared_report_id=10049"

Results

The sharedreport.do call returns the summaryreport XML document, which references the summaryreport.xsd schema. Additional summaryreport.xsd schema documentation is available. Use the XSD file to validate the XML data. The following is an example of the returned XML:

<summaryreport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://www.veracode.com/schema/reports/export/1.0" xsi:schemaLocation="https://www.veracode.com/schema/reports/export/1.0 https://analysiscenter.veracode.com/resource/summaryreport.xsd" report_format_version="1.1" app_name="Test VAST Report" app_id="10442" version="3 Sep 2013 Static" build_id="10581" submitter="Reena Vendor" platform="Not Specified" assurance_level="3" business_criticality="3" generation_date="2013-09-23 19:07:05 UTC" veracode_level="VL2" total_flaws="11" flaws_not_mitigated="11" teams="Team vast" life_cycle_stage="Not Specified" planned_deployment_date="" last_update_time="" is_latest_build="true" policy_name="TEST VAST" policy_version="1" policy_compliance_status="Pass" policy_rules_status="Pass" grace_period_expired="false" scan_overdue="false" business_owner="" business_unit="Not Specified" tags="">
<static-analysis rating="A" score="95" submitted_date="2013-09-03 17:35:44 UTC" published_date="2013-09-03 17:36:26 UTC" analysis_size_bytes="8004">
<modules>
<module name="javascans-1.0.jar" compiler="JAVAC_5" os="Java J2SE 6" architecture="JVM" loc="16281" score="95" numflawssev0="0" numflawssev1="0" numflawssev2="2" numflawssev3="8" numflawssev4="1" numflawssev5="0"/>
</modules>
</static-analysis>
<severity level="5"/>
<severity level="4">
<category categoryname="SQL Injection" severity="High" count="1"/>
</severity>
<severity level="3">
<category categoryname="Code Quality" severity="Medium" count="8"/>
</severity>
<severity level="2">
<category categoryname="API Abuse" severity="Low" count="1"/>
<category categoryname="Code Quality" severity="Low" count="1"/>
</severity>
<severity level="1"/>
<severity level="0"/>
<flaw-status new="11" reopen="0" open="0" fixed="0" total="11" not_mitigated="11" sev-1-change="0" sev-2-change="2" sev-3-change="8" sev-4-change="1" sev-5-change="0"/>
</summaryreport>