Guest

Preview Tool

Cisco Bug: CSCum49249 - ISE 1.2 ERS API to get all endpoints is not listing as per SDK Guide

Last Modified

May 22, 2018

Products (1)

  • Cisco Identity Services Engine

Known Affected Releases

1.2(0.899)

Description (partial)

Symptom:
As per the ISE 1.2 ERS SDK Guide Here is a sample query to enlist all endpoints from ISE.

Request 
=======
Method: GET
URI: https://x.x.x.x:9060/ers/config/endpoint
HTTP Accept header:
application/vnd.com.cisco.ise.identity.endpoint.1.0+xml 

Response
=======
<pre> 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:searchResult total="2" xmlns:ns2="ers.ise.cisco.com">
    <nextPage type="application/xml" href="link-to-next-page" rel="next"/>
    <previousPage type="application/xml" href="link-to-previous-page" rel="previous"/>
    <resources>
        <resource name="name1" id="id1" description="description1"/>
        <resource name="name2" id="id2" description="description2"/>
    </resources>
</ns2:searchResult>
</pre>

But when actually queried to retrieve all endpoints we get the following response from ISE.

Response
========
<pre>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:searchResult 
    xmlns:ns2="ers.ise.cisco.com" total="3">
    <resources>
        <resource id="d7ff59d0-57da-11e3-8152-005056ad54bc">
            <link type="application/xml" href="https://10.106.73.69:9060/ers/config/endpoint/d7ff59d0-57da-11e3-8152-005056ad54bc" rel="self"/>
        </resource>
        <resource id="adc91390-57da-11e3-8152-005056ad54bc">
            <link type="application/xml" href="https://10.106.73.69:9060/ers/config/endpoint/adc91390-57da-11e3-8152-005056ad54bc" rel="self"/>
        </resource>
    </resources>
</ns2:searchResult>
</pre>

Basically the response is missing "name" and "description" attribute in "resource" xml tag.

Conditions:
Using ISE ERS API to retrieve all the endpoints in ISE using the following documentation.

http://www.cisco.com/en/US/docs/security/ise/1.2/api_ref_guide/ise_api_ref_ers2.html#wp1149028

Related Community Discussions

ISE with API
Hi, I'm testing ISE API call with getting all endpoints. When I try it with POSTMAN on chrome, I got this error. This seems to be like an error connecting to https://10.10.10.50:9060/ers/config/internaluser . The response status was 0. Check out the W3C XMLHttpRequest Level 2 spec for more details about when this happens. I enabled ERS services, created ERS admin and I do not know what I should do more. has anyone tried and succeed to use API ? ISE version is 1.2.0.899 with patch 4
Latest activity: Jan 13, 2014
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.