DigitSec recommends that you prepare for this integration by opening three separate browser windows and following these steps to connecting DigitSec and Copado. Keep this page open for instructions, while you switch between DigitSec and Salesforce/Copado.
Source Format pipelines using the Quality Gate framework supercharge Copado's commit-based scanning. To work properly, each sandbox/org in your pipeline should have a corresponding connected workspace set up in DigitSec. When making a commit to a User Story, DigitSec will scan the source sandbox/org with the newly committed code. Scans will not be initiated if there is not a connected Workspace on DigitSec corresponding to the Source Sandbox/Org.
- Install the DigitSec Package (Prod, Dev)
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tfj000000Kk0H - Install the DigitSec Package (Sandbox)
https://test.salesforce.com/packaging/installPackage.apexp?p0=04tfj000000Kk0H
Part 1: Install the DigitSec Extension Bundle
-
Open the App Launcher. In Copado Release Manager, click the grid icon (App Launcher) in the top-left corner. Search for "Exte" and select Copado Extensions from the options.
Screenshot 1 - App Launcher search for "Extensions"
-
Select DigitSecExtensionBundle. On the Copado Extensions page, click the Select Extension dropdown. Scroll to the bottom of the list and verifiy DigitSecExtensionBundle is an option. If it does not appear, please try reinstalling the package as indicated in Step 1 above.
Screenshot 2 - Selecting DigitSecExtensionsBundle
Part 2: Add "DigitSec Security Scan" to the Extension Tool Picklist
- Navigate to Extension Tool field. Go to Setup --> Object Manager, locate the Extension Configuration object, then click Fields & Relationships --> Extension Tool.
-
Check whether "DigitSec Security Scan" is already listed. If the option appears in the Values list, skip to Step 8. If it is not listed, continue with the next step.
Screenshot 3 - Extension Tool Values (DigitSec Security Scan visible in Values options).
-
Open the Copado Test Tool Value Set. Click View Copado Test Tool Value Set. On the next screen, click New.
Screenshot 4 - Adding DigitSec Security Scan to Picklist Value Options
- Add the new value. In the text area, type DigitSec Security Scan (one value per line). Click Save.
Part 3: Add "DigitSec Security Scan" to the Quality Gate Rule Tool Picklist
-
Navigate to the Quality Gate Rule Tool field. Go to Setup --> Object Manager --> Quality Gate Rule --> Fields & Relationships -- > Tool (API name: copado__Tool__c).
Screenshot 5 - Quality Gate Rule: Tool picklist values
- Add the value if missing. If DigitSec Security Scan is not in the list, click View Copado Test Tool Value Set and add it following the same process as indicated in Steps 6-7.
-
Verify the Copado TEst Tool Picklist Value Set. Go to Setup --> Picklist Value Sets --> Copado Test Tool and confirm that DigitSec Security Scan is listed as an active value.
Screenshot 6 - Picklist Value Sets: Copado Test Tool
Part 4: Generate Extension Records
-
Return to Copado Extensions. From the App Launcher, open Copado Extensions. In the Select Extension dropdown, choose DigitSecExtensionBundle. You will see three records listed with red X status icons.
Screenshot 7 - Copado Extensions indicating 'not generated'
- Click Generate Extension Records. Click the Generate Extension Records button at the bottom of the page.