Platform

Platform overview How it works Authorization testing Evidence & reports Private scanning Integrations

Solutions

Security agencies Product teams Regulated industries Partner programme

Learn

Blog Knowledge hub Compare

Resources

Pricing Documentation Help centre FAQ Security & data What we haven’t proved

Company

About Contact Careers Sign in to the platform Start a $199 pilot →

Home / Help centre / Integrations & API

Integrations & API

How do I choose which profile my CI job scans?

Quick answer

On Integrations, search the Scan profile picker and choose a profile. Cyberlop writes that profile's ID into the YAML for you. Copy the snippet after you choose, and copy it again whenever you switch to a different profile later.

Steps

  1. Open Integrations and pick your code host tab.
  2. Click the Scan profile picker. It is searchable, so type part of the profile name.
  3. Select the profile you want the job to scan.
  4. Check the YAML. The profile ID now sits inside it.
  5. Click Copy and replace the job file in your repository.

Good to know

Where the ID lives depends on the tab.

TabWhere the profile ID goes
Workflow tabThe JSON body of the trigger request, as profileId
Pipeline tabThe PROFILE_ID variable at the top of the job

You can edit the ID by hand later if you know the new one. Re-copying from the picker is safer, because it cannot contain a typo, and it only takes a few seconds. When a job suddenly scans the wrong app, a stale ID in an old copy is the first thing to check.

A profile belongs to one target, so one job scans one application, and a second application needs a second job that points at its own profile. Scope, authentication roles and reporting rules all come from the profile, so change those in Scan Profiles and leave the job alone. The job file then never needs an edit just because a scan setting changed.

The API also accepts a profile name in place of an ID. See how to trigger a scan by profile name. If you need the whole setup, start with how to trigger a scan from CI.

Full tutorial

How to add security scanning to your CI/CD pipeline

Step-by-step, with annotated screenshots.

Updated · Back to the help centre

Wiring it into your pipeline?

Share what you are building and we will help you set up the right token, profile and job.