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

How to find a system by its mac address or GUID using Web API?

Jump to solution
 
1 Solution

Accepted Solutions
Highlighted
jkaipa
Level 9
Report Inappropriate Content
Message 5 of 5

Re: How to find a system by its mac address or GUID using Web API?

Jump to solution

Figured the solution, that returns only the selected node

https://epohost:8443/remote/core.executeQuery?target=EPOLeafNode&where=%28where%28and%28contains%20EPOComputerProperties.NetAddress%20"060C2CE56936"%29%28version_ge%20EPOProdPropsView_VIRUSCAN.productversion%20"1"%29%29%29&:output=json

 

This returns all details for a given host by its mac address.

Thank you

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

Re: How to find a system by its mac address or GUID using Web API?

Jump to solution

Hello,

You can add the MAC address in System Tree and as well as you can create a Query adding the MAC address which is available under Computer Properties.

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

 
jkaipa
Level 9
Report Inappropriate Content
Message 3 of 5

Re: How to find a system by its mac address or GUID using Web API?

Jump to solution

One way I figured a solution is using the api call 

"https://hostname:8443/remote/epogroup.findSystems?groupid=7&searchSubgroups=true&:output=json

This returns "all" the systems in that given group. If there are hundreds of systems then it returns a huge amount of data in its response.

If I have the computer name in the hand (system name), is there a way I can supply that system name as query parameter for further filtering? So that I will get the computer properties of one systems which is supplied in the query url.

Thanks.

McAfee Employee cdinet
McAfee Employee
Report Inappropriate Content
Message 4 of 5

Re: How to find a system by its mac address or GUID using Web API?

Jump to solution

Do you have the api scripting guide?  There are examples of how to find available commands and there are also examples of filtering, so you could filter for a system name.  I am attaching it for your review.

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
jkaipa
Level 9
Report Inappropriate Content
Message 5 of 5

Re: How to find a system by its mac address or GUID using Web API?

Jump to solution

Figured the solution, that returns only the selected node

https://epohost:8443/remote/core.executeQuery?target=EPOLeafNode&where=%28where%28and%28contains%20EPOComputerProperties.NetAddress%20"060C2CE56936"%29%28version_ge%20EPOProdPropsView_VIRUSCAN.productversion%20"1"%29%29%29&:output=json

 

This returns all details for a given host by its mac address.

Thank you

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