The call compiles a list of all the policies available for use by your account.

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

Resource URL


This call requires no parameters.

cURL Example

curl --compressed -u <VeracodeUsername>:<VeracodePassword> 

cURL Results

The call returns the list XML document, which references the policylist.xsd. Additional policylist.xsd schema documentation is available. Use the XSD file to validate the XML data.

Java Example

java -jar vosp-api-wrappers-java-<version #>.jar -vid <VeracodeApiId> -vkey <VeracodeApiKey> -action getpolicylist

Java Results

The following is an example of the returned XML:

 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <policylist xmlns="" 
 xmlns:xsi="" account_id="<account_id> 
  <policies names="Veracode Recommended Very High,Veracode Recommended High,Veracode Recommended Medium,Veracode Recommended Low,
  Veracode Recommended Very Low,Veracode Recommended Mobile Policy,Veracode Recommended Very High + SCA,Veracode Recommended High + SCA,
  Veracode Recommended Medium + SCA,Veracode Transitional Very High,Veracode Transitional High,Veracode Transitional Medium,Veracode Transitional Low,
  Veracode Transitional Very Low,PCI 3.2"/>