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 add policy list as a web hosted JSON (eg on GitHub) and used as a parameter #8

Open
astrugatch opened this issue Sep 21, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@astrugatch
Copy link

Is your feature request related to a problem? Please describe.
Not a problem, just an enhancement

Describe the solution you'd like
Pull the policy list from github as a json

Additional context
I do this with SYM now and it make the script infinitely re-usable in various scenarios without maintaining multiple copies.

@astrugatch astrugatch added the enhancement New feature or request label Sep 21, 2023
@astrugatch
Copy link
Author

Feature is currently sort-of part of SYM around current line 920

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
# Thanks, @astrugatch: I added this line to global variables:
# jsonURL=${10} # URL Hosting JSON for policy_array
#
# And this line replaces the entirety of the policy_array (~ line 503):
# policy_array=("$(curl -sL $jsonURL)")
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants