-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instantiate data sources from the policy engine
This hooks data source registration into Minder's policy engine. This is done by populating individual data source registries into each rule type engine, which pertains to a single rule type. This way, each rule type would only have access to the data sources it instantiates. This also caught a segfault we were unaware of. For some reason, the builder of the ruletype engine cache was not populating all the needed members of the struct which would segfault in case the cache did not have a hit. This fixes that. Signed-off-by: Juan Antonio Osorio <[email protected]>
- Loading branch information
Showing
3 changed files
with
58 additions
and
8 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