How to run Source Code Scanner / Salesforce Checkmarx against a Scratch Org?

286    Asked by DavidEdmunds in Salesforce , Asked on May 16, 2023

 Is it possible to run Source Code Scanner / Checkmarx against a Scratch Org?

When I click the Login link on this page:

https://security.secure.force.com/sourcescanner/

It redirects me to:

https://login.salesforce.com/services/auth/sso/00D30000000JsbiEAC/SourceScanner?site=https://security.secure.force.com/sourcescanner

And my Scratch Org login details don't work... Is it possible to run Source Code Scanner / Checkmarx against a Scratch Org?

Answered by Dipesh Bhardwaj

To run Source Code Scanner / Salesforce Checkmarx against a Scratch Org -If you run your scan through the partner security portal, on https://security.secure.force.com/sourcescanner/PackageScannerMain, then you will find that you select package versions, not orgs, for the scan to run against.


Your Answer

Interviews

Parent Categories