Your Apex applications must meet specific compilation requirements before you can submit them for scanning.
See Supported Languages and Platforms for instructions for other platforms.
Veracode supports analyzing Apex and other application components that extend the Salesforce platform.
Supported Apex Versions
|Apex||52.0 and earlier|
Supported Apex Libraries and Technologies
|Visualforce Pages||52.0 and earlier|
|Lightning Web Components||52.0 and earlier|
|Aura (Lightning) Components||52.0 and earlier|
Veracode requires source files for the Apex application.
Upload a ZIP archive containing these files to Veracode:
- All Apex source code
- Visualforce pages
Files must be UTF-8 encoded.
Do not include third-party packages. Do not upload individual Apex source files.
Veracode only scans Apex files with these extensions:
Accessing Apex, Visualforce, and Lightning Components
You can access the components of your Salesforce applications to prepare them for analysis in one of these ways:
- Download source code files individually in the Developer Console
- Use Salesforce extensions for Visual Studio Code
- Use the Force.com IDE
- Use the Salesforce Ant Migration tool
For assistance using any of these tools, see the Salesforce documentation.