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 / Targets & repositories

Targets & repositories

How do I scan a branch other than main?

Quick answer

Type the branch name in the Repo branch field when you create the target. It defaults to main. Targets cannot be edited afterwards, so to scan a different branch, create a new white-box target that names that branch and run a profile on it.

Cyberlop clones one branch for each target. You pick that branch in the Repo branch field of the new target dialog, and it starts as main.

Steps

  1. Go to Targets in the sidebar and click + New target.
  2. Enter a Name and the Main URL. A name that shows the branch, such as "Acme Web (release)", saves confusion later.
  3. Under Scan type, choose White-box.
  4. Type your HTTPS address in Repo URL (HTTPS).
  5. Change Repo branch from main to the branch you want, for example release.
  6. Choose an Environment and click Create target.
  7. Open the new target and click + New profile. Save the profile, then press ▷ Scan.

Good to know

Targets are immutable. You cannot edit the branch on a target that already exists. Create a second target for the second branch instead.

FieldWhat to enter
NameSomething that tells the two targets apart
Main URLThe running app that matches this branch, for example https://staging.example.com
Repo URL (HTTPS)The same repository address as before
Repo branchThe branch to clone at launch

Scans clone the latest code from the repository when they launch, so a new commit on that branch is picked up on the next scan. Deleting the old target also deletes its profiles, schedules, scans and findings, so keep it unless you are sure. Read what immutable means first.

Need a hand? Use /contact.

Full tutorial

Connect a repository to Cyberlop for white-box scans

Step-by-step, with annotated screenshots.

Updated · Back to the help centre

Still stuck?

Tell us what you see on screen and an engineer will help you sort it out.