Get a list of application profiles by scan type with the REST API
Send the following request to return the list of application profiles that have results from a specific scan type.
For scan_type, the valid values are STATIC, DYNAMIC and, for Manual Penetration Testing (MPT), MANUAL.
Before you begin
To authenticate with Veracode, ensure you have set up API authentication for HMAC or OAuth 2.0.
Veracode HMAC authentication
http --auth-type=veracode_hmac GET "https://api.veracode.com/appsec/v1/applications?scan_type={scan_type}"
OAuth 2.0 Client Credentials authentication
- Windows (PowerShell)
- macOS, Linux, or UNIX
http --auth-type=oauth2-client-credentials-flow `
--auth="$($env:VERACODE_CLIENT_ID):$($env:VERACODE_CLIENT_SECRET)" `
--token-endpoint="$($env:VERACODE_TOKEN_URL)" `
--token-request-type=basic GET "https://api.veracode.com/appsec/v1/applications?scan_type={scan_type}"
http --auth-type=oauth2-client-credentials-flow \
--auth="$VERACODE_CLIENT_ID:$VERACODE_CLIENT_SECRET" \
--token-endpoint="$VERACODE_TOKEN_URL" \
--token-request-type=basic GET "https://api.veracode.com/appsec/v1/applications?scan_type={scan_type}"