cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

Use Contains with criteria "authentication.usergroups" for a Rule

Jump to solution

Hi all,

I have one question about the use of the criteria authentication.usergroups followed by the the contains word.

We have several rules like this:

team.png

Our full name Active directory groups are created with this string:

Exclusion_TeamViewer_G

If you look, complete string adds the "_G" at the end of the name's group,

I have seen that with the criteria that I have configured, the rule doesn't work because the AD group does not match with the criteria. However, if I change the criteria and configure "Authentication.usergroups contains Exclusion_TeamViewer_G" with the full string, the rules work.

my question is about the contains word and how does it work with this criteria:

- "Contains" refers to one part of the name of the AD group?, so for example that "Exclusion_TeamViewer_G" would contain "Exclusion_Teamviewer" and it will match with the rule criteria and work?

- or by the opposite, I think that "contains" refers to a full string attribute of AD like the complete name and if it isn't the full string, the criteria won't work correctly?

Regards

1 Solution

Accepted Solutions
Highlighted

Re: Use Contains with criteria "authentication.usergroups" for a Rule

Jump to solution

In this context, "contains" is more like a database lookup -- as in List X contains entry Entry Y within the list -- so you are correct that it looks for exact matches. If you want to match on partial entries then you'll need to use wildcards alon gwith the "contains at least one match" comparison.

Examples:

Authentication.usergroups contains Exclusion_TeamViewer_G

Authentication.usergroups contains at least one match Exclusion_TeamViewer*

View solution in original post

1 Reply
Highlighted

Re: Use Contains with criteria "authentication.usergroups" for a Rule

Jump to solution

In this context, "contains" is more like a database lookup -- as in List X contains entry Entry Y within the list -- so you are correct that it looks for exact matches. If you want to match on partial entries then you'll need to use wildcards alon gwith the "contains at least one match" comparison.

Examples:

Authentication.usergroups contains Exclusion_TeamViewer_G

Authentication.usergroups contains at least one match Exclusion_TeamViewer*

View solution in original post

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community