cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Former Member
Not applicable
Report Inappropriate Content
Message 1 of 4

API core.listQueries help

Hello,

          I am trying to use the api to generate some reports. I have most of it working but I need to find the query id of a rsd query. when I run core.listQueries it spits out some of the list and then chokes and never responds again. does anyone know what I could do to get around this? Mabye manipulate the data to narrow what its digging though? According to the documentation there are not arguments for listQueries so I'm not sure what to do.

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

Re: API core.listQueries help

Hi tfahl,
I looked into this on a lab system and for me (sadly) it completed and presented me with a list (including RSD items) of queries that ‘my’ user was able to list/see.

webAPI-RSD.JPG
I used the following ‘command once I was logged into the lab server:

  • https://<machine name or IP address>:8443/remote/core.listQueries

Taken from the ‘Web API Scripting’ Reference guide [PD24810]
As you explain in your system it ‘chokes’ and stops responding so you never get a complete list, if you review the ePO logs looking at the time you ran the command to get the list is there any messages/errors reported?

The lab server was ePO 5.9.1 and the guide I used is ePO 5.1.0, so I suspect little issue with the command in use, more an issue or some kind with the ePO server itself.
What versions of software are you using?
ePO ?
RSD ? – extensions

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?

Hawkmoon
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 3 of 4

Re: API core.listQueries help

Hi tfahl,

I looked into this on a lab system and for me (sadly) it completed and presented me with a list (including RSD items) of queries that ‘my’ user was able to list/see.

 webAPI-RSD.JPG

I used the following ‘command once I was logged into the lab server:

Taken from the ‘Web API Scripting’ Reference guide [PD24810]

As you explain in your system it ‘chokes’ and stops responding  so you never get a complete list, if you review the ePO logs looking at the time you ran the command to get the list is there any messages/errors reported?

The lab server was ePO 5.9.1 and the guide I used is ePO 5.1.0, so I suspect little issue with the command in use, more an issue or some kind with the ePO server itself.

What versions of software are you using?

ePO  ?

RSD  ? – extensions

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?

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

Re: API core.listQueries help

Hi @Former Member,

I looked into this on a lab system and for me (sadly) it completed and presented me with a list (including RSD items) of queries that ‘my’ user was able to list/see.

 webAPI-RSD.JPG

 

I used the following ‘command once I was logged into the lab server:

 

https://<machine name or IP address>:8443/remote/core.listQueries

 

Taken from the ‘Web API Scripting’ Reference guide [PD24810]

As you explain in your system it ‘chokes’ and stops responding  so you never get a complete list, if you review the ePO logs looking at the time you ran the command to get the list is there any messages/errors reported?

 

The lab server was ePO 5.9.1 and the guide I used is ePO 5.1.0, so I suspect little issue with the command in use, more an issue or some kind with the ePO server itself.

What versions of software are you using?

ePO  ?

RSD  ? – extensions

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