cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
593
Views
15
Helpful
1
Replies
udo.konstantin
Beginner

One REST Query works only with read rights

Hello everone,

we notice a strange behavior while query the APIC with REST. 

 

A management system got a lot of informations via REST Queries to the fabric. Everything works fine except for one request:

 
We always receive the following answer:
{"totalCount":"0","imdata":[]}
 
The user for the query has read rights. This works for the the other queries fine. 
When we change the user to a user with write rights, anything works fine. 
 
Udo 
1 REPLY 1
Sergiu.Daniluk
VIP Advocate

Looks like a bug. You should open a TAC case to correct this. I have seen some issues with roles and privileges where different MOs are missing from the predefined roles, without posibility to (easily) add them to custom-roles.

You can use the following resources to find more details about the roles/privileges/assigned MOs:

https://www.cisco.com/c/dam/en/us/td/docs/Website/datacenter/apicroles/roles.html

https://developer.cisco.com/site/apic-mim-ref-api/?version=5.2(1) -> here search for faultInfo, click on it, open it (using the square icon) and you will see under the Read Access that there is no role which has access to this MO. And the write one is empty, which means only admin has access to it (and a custom one if you configure it)

faultinfo.png

Stay safe,

Sergiu