Skip to content

Snyk config file importer - #82

Merged
SimonBarendse merged 4 commits into
mainfrom
snyk_config_file_importer
Dec 12, 2022
Merged

SimonBarendse merged 4 commits into
mainfrom
snyk_config_file_importer

Conversation

@volodymyrZotov

Copy link
Copy Markdown
Contributor

This PR adds snyk config file importer.

Local Snyk CLI config file, a JSON file located at $XDG_CONFIG_HOME or ~/.config followed by configstore/snyk.json.
For example:

// export XDG_CONFIG_HOME="~/custom_folder"
~/custom_folder/configstore/snyk.json 

// default location
~/.config/configstore/snyk.json
@volodymyrZotov
volodymyrZotov force-pushed the snyk_config_file_importer branch from d3cee3d to 5010f37 Compare December 8, 2022 10:53
Comment thread plugins/snyk/api_token.go Resolved
@volodymyrZotov
volodymyrZotov force-pushed the snyk_config_file_importer branch from bcb7900 to 5010f37 Compare December 8, 2022 11:21
It will be added later in a more generalized and elegant way to be able to use for any plugin.
@SimonBarendse
SimonBarendse merged commit 553c04d into main Dec 12, 2022
@SimonBarendse
SimonBarendse deleted the snyk_config_file_importer branch December 12, 2022 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants