Skip to main content
Skip table of contents

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

  1. 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

  2. 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

  3. 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

  4. 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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.