component-detection icon indicating copy to clipboard operation
component-detection copied to clipboard

Introduce config as code support

Open FernandoRojo opened this issue 1 year ago • 0 comments

Introduces the ability to use code files in source to set config settings.

As an MVP, supports a yaml file ComponentDetection.yml that can store a variables dictionary

Ex

variables:
  key: "value"

The values in these config files are ordered in priority:

  1. Any config file set as the environment variable ComponentDetection.ComponentDetectionConfigFile
  2. Any config file passed as an argument: --ComponentDetectionConfigFile
  3. Any ComponentDetection.yml file present in the root directory being scanned.

FernandoRojo avatar Oct 26 '24 00:10 FernandoRojo