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

Find out Which Policies are associated to Groups via API

Hi all, I need to know which policies associated to Groups in EPO.

Didn`t find any query that gives me this info.

Even query that says about each policy what group he is enforced on

 

P.S 

Nothing on The official document of the web api.

4 Replies
Highlighted
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 5

Re: Find out Which Policies are associated to Groups via API

There are some default queries you can look at and tweak to get the results you want.  You can also go to the system tree and export your policy assignments.  From that output, you could put it into excel possibly to get the info you want too.

applied policies by policy name

policy assignment broken inheritance

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

Highlighted
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 3 of 5

Re: Find out Which Policies are associated to Groups via API

Once you have the query definition you want, you can use that in your api commands.

 

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

Highlighted

Re: Find out Which Policies are associated to Groups via API

I want just to clear something. There is no official API request to get Policies that are associated to Groups?

Highlighted
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 5 of 5

Re: Find out Which Policies are associated to Groups via API

The web api guide has examples of scripts and also how to create an ad-hoc query from a query definition.  I previously showed you how to get that query definition that you can use in your api script.  Those are just examples to give you a guideline on how to use the api commands.  We don't give specific query instructions, as there are an infinite number of queries that customers might desire to use.  Refer to KB81322 and PD24810.

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

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