Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Mentioned in #126: An additional ACL source of truth that calls some executable on the system and uses the CSV or YAML from the stdout. This can be useful for a user that wants to use a source type that is not implemented in the other source types and does not want to implement it in Scala and have to rebuild the security manager. The executable can be written in any language (Python, Perl, Ruby, etc), as long as it can be called from a command shell.
Hypothetical use cases:
The user would be responsible for creating the executable to generate the CSV/YAML as needed.
Use:
SOURCE_EXEC_CMD
: Full path to the executableSOURCE_EXEC_ARGS
: Arguments passed to the executable, they will be split by the below separator value. Defaults to ''SOURCE_EXEC_ARGS_SEP
: String separator to split the argument value. Defaults to ','. For example, setting the args to 'a,b,c,d' and the separator to ',' will pass in the args [a, b, c, d] to the executableSOURCE_EXEC_PARSER
: 'yaml' or 'csv', defaults to 'yaml'Example:
Notes:
Please note - I am new to Scala and this is also my first contribution to open-source software. I am open to any and all feedback (even criticism - preferably constructive :) )