Change/Modify Default GitHub Enterprise (GHE) Config
Users will likely need to modify the config for scanning via GHE depending on their requirements. By default, the value is configMode: AUTO
, which uses a general config that might not be suitable for all users. The default config file is not actually modifiable, however, the below instructions will allow the user to modify scan parameters that should produce expected scan results.
Instructions
The article, ‘Unified Agent Configuration Parameters for Native Integrations' contains information on what the default parameter values are set to. Please review the parameters you’d like to modify: Unified Agent Configuration for Native Integrations
If the configuration should apply to all or most of your repos, we recommend creating a global repo that allows you to apply the new configuration to existing and new repos automatically. You can find more information about this here: Global Repo Configuration
If the configuration only applies to a small number of repos, we recommend setting the 'configMode' for these repos to 'LOCAL' or 'EXTERNAL' and providing a whitesource.config file either locally or at a different location specified by the 'configExternalURL'. You can find more information about these options here: Mend for GitHub Enterprise
When you provide a configured whitesource.config file, you do not need to update all of the parameters. Any parameters omitted from the configuration will default to the values used when the 'configMode' is set to AUTO