...
Parameter | Type | Description | Required? | Default | ||
---|---|---|---|---|---|---|
migrationMode.changeType | String | Type of change to perform as part of the migration. There are two possible values:
| No | inheritance | ||
migrationMode.openPR migrationMode.openMR | Boolean | Whether an onboarding PR/MR should be created for the migrating repositories. NOTE: When set to false, every migrating repository that currently contains a .whitesource file will trigger an automatic scan after these are migrated. This may affect overall performance of the integration depending on how many migrating repositories you have. | No | true | ||
migrationMode.fixInheritance | Boolean | This parameter can be used in case the Global Configuration repository was moved or renamed since the initial integration. When enabled, the migration will update existing inheritedFrom parameter values in repo-level .whitesource configuration files, to the correct whitesource-config repository. | No | false | ||
migrationMode.triggerScan | Boolean | Control whether the migration should trigger a scan after completion. NOTE: this parameter is relevant only when using migrationMode.changeType=inheritance. | No | true | ||
includeRepos | Array | Provide a list of specific full repository names (owner/repo_name) on which the migration should run. NOTE: You cannot use includeRepos together with excludeRepos as part of a migration. Example:
| No | Empty | ||
excludeRepos | Array | Provide a list of specific full repository names (owner/repo_name) on which the migration should not run. NOTE: You cannot use excludeRepos together with includeRepos as part of a migration. Example:
| No | Empty |
Defining Global CVSS Scoring Methods
Users can define the CVSS scoring method on the Global Configuration level. For example, if you select CVSS 2.0, both Issues as well as Check Runs will always display CVSS2 score information.
For this feature to work, the Global Repo Configuration must be implemented as part of your WhiteSource integration.
NOTE: The WhiteSource Core inventory and its associated reports will still reflect the original behavior of showing CVSS Score 3.0 by default (with CVSS2 as a fallback).
global-config.json
For more information on the global-config.json file, see here. The following parameter can be provided to enable/disable this feature:
Parameter | Type | Description | Required | Default |
---|---|---|---|---|
cvssDisplayMode | String | Two different values can be provided for this parameter:
NOTE: In order to maintain backwards compatibility, the default behavior in case the Examples:
| Yes | 3.0 |