Created
February 1, 2023 15:42
-
-
Save nickanderson/9edcd9e0f965b25c79541a8128a30b75 to your computer and use it in GitHub Desktop.
A simple example for alexfromgalax
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
# services/main.cf | |
bundle agent mpf_main | |
# User Defined Service Catalogue | |
{ | |
methods: | |
# Activate your custom policies here | |
"my_classification"; | |
"my_stuff"; | |
} | |
bundle agent my_classification | |
{ | |
classes: | |
"grp2" | |
or => {"agent2_example_com","192_168_244_182"}, | |
scope => "namespace"; # So that you can see this class in other bundles | |
} | |
bundle agent my_stuff | |
{ | |
reports: | |
grp2:: | |
"I see that the class grp2 is defined"; | |
!grp2:: | |
"I do not see that the class grp2 is defined"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment