cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
jkaipa
Level 9
Report Inappropriate Content
Message 1 of 3

Query of policies assigned to a system using assignToSystem api

Hello @AdithyanT @cdinet 

Policies are assigned to a system using the assignToSystem api. Later I was unable to retrieve the policies assigned to that specific "system" using web api. Could someone help?

Thanks

2 Replies
McAfee Employee AdithyanT
McAfee Employee
Report Inappropriate Content
Message 2 of 3

Re: Query of policies assigned to a system using assignToSystem api

Hi @jkaipa,

Thank you for your post! Glad to see you again. As you know, I am not the expert here, but I am sure gonna try this out internally on my test systems. Apologies for the delay in response as I just got back to work. May I know what query you are running to retrieve the policies? By Retrieve, are you referring to only finding out what policy is assigned using a query?

Kindly please give more details so that I can play around in my lab machine and get back to you on this.

Was my reply helpful?
If you find this post useful, Please give it a Kudos! Also, Please don't forget to select "Accept as a solution" if this reply resolves your query!

Thanks and regards,
Adithyan T
McAfee Employee cdinet
McAfee Employee
Report Inappropriate Content
Message 3 of 3

Re: Query of policies assigned to a system using assignToSystem api

I am attaching the scripting guide.  You can use the policy.find function with a where clause for filtering it based on system name possibly.

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?

More McAfee Tools to Help You

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