Is stacking of facts possible? #129
-
If using more than one facts gatherer is the execution order of this facts the same as in the check yaml file or will they get sorted in some other way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Dependency between gatherers is on the radar but not yet implemented. As an initial step, for simple dependencies, we plan to implement custom gatherers for the moment that will take care of the argument passing. Rhai cannot call fact-gatherers directly, because expectations are run after the fact-gathering phase. |
Beta Was this translation helpful? Give feedback.
Dependency between gatherers is on the radar but not yet implemented.
As an initial step, for simple dependencies, we plan to implement custom gatherers for the moment that will take care of the argument passing.
For instance, sbd_dump gatherer could fetch the devices list from the conf file and then use them to use the return value as an object map.
Rhai cannot call fact-gatherers directly, because expectations are run after the fact-gathering phase.