Scan External Repositories

Sync and Scan Repositories from External Sources

  1. Navigate to SchedulesConfigure Schedule

  2. Choose Falcon Scan job type

  3. Select the external source and the organization

  4. External Sources can either be -

    1. BitBucket

    2. GitHub

    3. Anypoint Design Center falcon scan scheduler 1

  5. Select the required schedule. Schedule can either be -

    1. One Time

    2. Recurring falcon scan scheduler 2

Configuring BitBucket as External Sources

  1. Navigate to Global SettingsSettingsBitBucket Repo Sync Settings and click on edit

BitBucket Repo Sync Settings

Settings Name Description

CLIENT_ID

OAuth Consumer Client Id. Used for authenticating the REST API to get repositories.

CLIENT_SECRET

OAuth Consumer Client Secret. Used for authenticating the REST API to get repositories.

CLONE_USERNAME

User name used to clone / push the repository

CLONE_APP_PASSWORD

Password used to clone / push the repository

API_TOKEN_SCOPE

Scopes to be requested while generating the OAuth token

PROJECT_NAME_INCLUDE_PATTERN

Repository name matching this pattern will only be synced. By default all the repositories will be scanned.

PROJECT_NAME_EXCLUDE_PATTERN

Repository name matching this pattern will only be ignored. By default none of the repositories will be ignored.

ORGANIZATION_KEY

BitBucket organization key

Configuring GitHub as External Sources

  1. Navigate to Global SettingsSettingsGitHub Repo Sync Settings and click on edit

GitHub Repo Sync Settings

Settings Name Description

ACCESS_TOKEN

OAuth access token. Used for authenticating the REST API to get repositories.

CLONE_USERNAME

User name used to clone / push the repository

API_TOKEN_SCOPE

Scopes to be requested while generating the OAuth token

PROJECT_NAME_INCLUDE_PATTERN

Repository name matching this pattern will only be synced. By default all the repositories will be scanned.

PROJECT_NAME_EXCLUDE_PATTERN

Repository name matching this pattern will only be ignored. By default none of the repositories will be ignored.

ORGANIZATION_KEY

GitHub organization key

Configuring Anypoint Design Center as External Sources

  1. Navigate to Global SettingsSettingsDesign Center Project Sync Settings and click on edit

Design Center Project Sync Settings

Settings Name Description

ANYPOINT_CLIENT_ID

Anypoint Connected App client id

ANYPOINT_CLIENT_SECRET

Anypoint Connected App client secret

PROJECT_NAME_INCLUDE_PATTERN

Repository name matching this pattern will only be synced. By default all the repositories will be scanned.

PROJECT_NAME_EXCLUDE_PATTERN

Repository name matching this pattern will only be ignored. By default none of the repositories will be ignored.