Conversation
Remove support for endpoints that managed the pre-secure integration of falco rules into the agent. This was removed from the agent in 0.70.0.
Add the following methods to the python client:
- {get,set}_default_falco_rules_files: a wrapper around the api endpoint
/api/settings/defaultRulesFiles, handling PUT and GET.
- load_default_falco_rules_files: load a collection of files on disk
with a documented structure, returning a dict suitable for use in
set_default_falco_rules_files()
- save_default_falco_rules_files: given a dict from
get_default_falco_rules_files, save it to a collection of files on disk
with a documented structure
Also add example programs
{set,get}_secure_default_falco_rules.py. get_... has the ability to
either print the returned set of files directly or save them using a
--save <root dir path> option. Similarly, set_ has a --load <root dir
path> option to load files from disk to a dict for the PUT
/api/settings/defaultRulesFiles.
set_ also has some easier-to-use command line options that allow
setting a single file and tag.
2567899 to
ce6923b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.