- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-08-2022 09:04 AM
test policy match cli tool returns nothing. what does that mean?
It should match some policy right ?
Does that mean it matches one of the default policies?
04-14-2022 05:11 AM
Hi @HistoricalSwimming ,
I see the same behavior when I test a policy that I didn't configure explicitly.
Only policies that I've explicitly configured will show up in the test. Possibly because the default rules don't show in the config XML file.
Cheers,
-Kiwi.
04-14-2022 08:55 AM
The logic for this feature only looks at entries under the <security/> rulebase (or whatever rulebase you're currently looking at). The default policies actually live in their own rulebase under <default-security-rules/> and are never analyzed by the policy match.
You could probably put in a feature request with your SE if you wanted that feature to be expanded to include the default rules.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!