This module enables autorun functionality so you can add policy files to services/autorun
and tag bundles with autorun
causing them to be automatically discovered and run.
A policy file you add to services/autorun
could look like this:
bundle agent my_example
{
meta:
"tags"
slist => { "autorun" };
reports:
"Hello, world!"
}
With autorun enabled, the policy file would be parsed, and the bundle evaluated without editing any of your existing files / policy.
It uses the augments file to achieve this, it is the same as editing your def.json
file like this:
{
"classes": {
"services_autorun": ["any"]
}
}
Dependencies
This module has no dependencies