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

Ability to pull in remote configs from N number of URLs #33

Open
2 tasks
mkcomer opened this issue Oct 13, 2021 · 0 comments
Open
2 tasks

Ability to pull in remote configs from N number of URLs #33

mkcomer opened this issue Oct 13, 2021 · 0 comments
Labels
blocked blocked by upstream issue enhancement New feature or request

Comments

@mkcomer
Copy link

mkcomer commented Oct 13, 2021

Description
Once get-woke/woke#122 is merged, woke will be able to set a remote config (ruleset) from a URL. We would like to enhance get-woke/woke#122, by allowing users to apply N number of remote rulesets (N number of URLs as cli arguments).

After get-woke/woke#122 is merged, users can apply 1 URL. For example:

woke -c "https://raw.githubusercontent.com/get-woke/woke/main/example.yaml"

Desired functionality with this enhancement:
woke -c https://raw.githubusercontent.com/get-woke/woke/main/example1.yaml https://raw.githubusercontent.com/get-woke/woke/main/example2.yaml https://raw.githubusercontent.com/get-woke/woke/main/example3.yaml

The final applied ruleset from the above example will be a combination of rules defined in the default.yaml, example1.yaml, example2.yaml and example3.yaml.

Useful links/additional context:
Feature enhancement referenced here by the maintainer: get-woke#104

Woke currently allows you to set a local ruleset (N=1). For example: woke -c /Documents/example.yaml

With get-woke/woke#122, woke allows you to apply a remote ruleset (N=1).

With this feature enhancement, woke will allow you to set N number of remote ruleset URLs.

Suggestion: It may be worth reaching out to maintainer to ask if the N number of rulesets should also be enabled for local rulesets as well (this is not current functionality).

Acceptance Criteria:

  • Investigate how N number of URLs should be passed in via the CLI
  • Implement applying N number of URLs/remote configs
@mkcomer mkcomer added enhancement New feature or request blocked blocked by upstream issue labels Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked blocked by upstream issue enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant