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

How to know the compliance status of a system?

Hello All,

We are trying to integrate ServiceNow to McAfee ePO . The use case is the send a REST request from ServiceNow to a McAfee endpoint by passing a system id to get the compliance details of the system OR by passing Policy name and getting compliance details of the policy.

Which API gives information on whether a system/policy is compliant or not? We tried using the endpoint: 'https://localHost:8443/remote/policy.find?searchText=policyName' but it doesn't give the compliance information.

We need this information urgently and quick responses will be much appreciated.

 

Thanks & Regards,

Hardik

 

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

Re: How to know the compliance status of a system?

Policies are only settings, so that won't tell you whether a system is compliant or not.  You would first want to identify the exact property you would look for and possibly use ad-hoc queries to find that info.  For example, an existing query in epo, when you select it, go to actions, view sql, it will show you what the query syntax is for where data might be located that you want to see.

https://docs.mcafee.com/bundle/epolicy-orchestrator-web-api-reference-guide/page/GUID-CE470100-85A9-...

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: How to know the compliance status of a system?

We tried using the below ad-hoc query bu t received response code 0.

https://servername:port/remote/core.executeQuery?target=OrionTaskLogTask& where=(where (eq ( OrionTaskLogTask.UserName "ga" ))) & order=(order (asc OrionTaskLogTask.StartDate) )

However, when we tried the below ad-hoc query without any condition or grouping, correct response was received;

'https://servername:port/remote/core.executeQuery?target=OrionTaskLogTask'

Please let us know the way forward. 

Thanks & Regards.

Hardik

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

Re: How to know the compliance status of a system?

Do you have the spaces in your command that you show in your pasted command?  If so, try removing them.

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