Manage Scanning
The Manage Scanning tab of Code Analysis is where you choose which repositories and projects are scanned, and where you reach their connection, discovery, schedule and pull-request settings. Review the resulting branches and findings in the other Code Analysis tabs.
Open it from Workspaces → Code Analysis → Manage Scanning in the sidebar.

Sources
Choose the source tab: Bitbucket, GitHub or Design Center. Each tab has the same layout.
Setup status
The panel at the top shows the next setup step for the source, or that it is complete (for example GitHub is connected and scans are scheduled). Its button opens the step, for example:
The source is not turned on
Turn on Bitbucket / Turn on GitHub
The OAuth app is not registered, or the last sync failed
Configure Bitbucket access / Configure GitHub access
Access is not authorized, or was revoked
Authorize Bitbucket access / Authorize GitHub access (the provider opens in a new tab)
Repositories are in but no scan is scheduled
Configure scan schedules
Design Center needs its organizations or connection
Configure Anypoint connection / Configure Design Center connection
The Manage (or More) menu opens the other settings of the source:
Bitbucket connection & discovery / GitHub connection & discovery, or Design Center connection.
Scan schedules.
Pull-request scanning (Bitbucket only).
These open the same drawers as Setup
.
Connect Design Center
Design Center projects are scanned with their own Anypoint connected app. Set it up from the Design Center tab.
Connect Anypoint Platform and run the Anypoint Sync first: projects are filed under the Anypoint business groups they belong to. Until the sync has brought them in, the setup status shows Run the Anypoint Sync first with Configure Anypoint connection (see MuleSoft Anypoint Platform).
In Anypoint Platform, open Access Management and create a connected app of type App acts on its own behalf (client credentials) in the root organization. Give it Design Center access (Design Center Developer) for the organization whose projects you want scanned. You can reuse the Anypoint inventory sync's app if it already has that access.
On the Design Center tab, click Configure Design Center connection. Once connected, it is under More → Design Center connection. The Connect Design Center drawer opens.
Fill in the fields and click Save.

Client ID
The connected app's client ID. Stored encrypted; once saved, leave it blank to keep it.
Client secret
The connected app's secret. Stored encrypted; once saved, leave it blank to keep it.
Owner ID
Required. The Anypoint user ID that owns the Design Center projects. It is not the organization ID.
There is no test button: your agent signs in to Design Center on the next project sync, and the projects appear when it succeeds. Next, click Configure scan schedules to schedule the Design Center project sync and scans; each business group gets its own.
Repository tiles
Repositories
Repositories matching this source and the search.
Enabled for scanning
Repositories eligible for scanning. Eligibility does not mean an assessment has completed.
Excluded from scanning
Repositories explicitly excluded.
Click a tile to filter the list.
Automatic repository scanning
On the Bitbucket tab, Automatic repository scanning uses your existing Bitbucket connection. Turn on Automatically scan all repositories to scan all current and future repositories of the connection, or leave it off to keep a selected list. The panel shows the connection, the organization and whether All-repository scanning is active or All-repository scanning is off.
Repository selection
All / Enabled / Excluded
Filters the list by eligibility, with counts.
Search
Search repositories by name.
Export
Downloads this page of repositories as CSV. Refresh reloads the list and Columns chooses the columns shown.
Repository
Name. Open application dossier opens the dossier of a scanned repository.
Scan eligibility
Enabled or Excluded.
Organization / environment
The organization the repository belongs to and its environment.
Updated
When the record last changed.
Enable or exclude repositories
Tick the repositories. Selections can span pages; changing the search or eligibility clears them.
Click Enable selected or Exclude selected.
To enable: choose the Organization for selected applications. Optionally turn on a one-time scan (with a connection) or a repository scan schedule.
Click Confirm scan eligibility (or Confirm exclusion).
Click Clear selection to untick everything. Excluding a repository stops future scans of it and its branches; its existing assessment evidence is kept.
Next Steps
Branches & Baselines: review the branches of the scanned repositories.
Pull Requests: review scanned pull requests.
Schedules: follow the scans that run.
Code Analysis: back to the workspace.
Last updated
Was this helpful?

