-
Notifications
You must be signed in to change notification settings - Fork 905
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Falco application changes to support rule loading result struct
Update the load_rules_files and validate_rules_files actions to use the new falco_engine methods that return a rules result struct. The app action interface is the same, returning ::fatal on error, ok()/exit() otherwise. The difference is how any warnings/errors are obtained--from the struct instead of an exception. Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
- Loading branch information
Showing
3 changed files
with
66 additions
and
15 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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