Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce config as code support #1284

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

FernandoRojo
Copy link
Contributor

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 FernandoRojo requested a review from a team as a code owner October 26, 2024 00:17
@FernandoRojo FernandoRojo marked this pull request as draft October 28, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant