Get Flat Response Entitlement Details For User
GET/getEntDetailsforUsers
This API call can be used to get a flat response consisting of user details, account details, and details of all the entitlements the user has access to.
This API will return only the entitlement attributes which are not null or not empty.
The Authorization
must have Bearer
followed by Token
.
Optional params:
username
, entitlementType
, entitlement_value
, endpoint
, userQuery
, accountQuery
, entQuery
, accEntQuery
, max
(default - 100), offset
(default - 0)
Request
- application/json
Body
Responses
- 200
Get Entitlement Details For User - Flat response
Response Headers
Access-Control-Allow-Credentials
string
Access-Control-Allow-Origin
string
Cache-Control
string
Date
string
Expires
string
Referrer-Policy
string
Server
string
Set-Cookie
string
Strict-Transport-Security
string
X-Content-Type-Options
string
X-Frame-Options
string
- application/json
- Schema
- Example (from schema)
- Get Entitlement Details For User - Flat response
Schema
Array [
]
accessDetails
object[]
{
"accessDetails": [
{
"accountdisplayname": "245947",
"accountkey": 3684,
"accountname": "245947",
"accountstatus": "Manually Suspended",
"endpointDisplayname": "AWS",
"endpointkey": 1,
"endpointname": "AWS",
"entdescription": null,
"entdisplayname": null,
"entitlementType": "AWSPolicy",
"entitlementTypeDisplayname": "AWSPolicy",
"entitlementTypeRequestForm": "Request Form Table",
"entitlementTypekey": 59,
"entitlement_value": "arn:aws:iam::661222050851:policy/CrossPolicy2",
"entitlement_valuekey": 194098,
"entstatus": 1,
"securitysystemdisplayname": "AWS",
"securitysystemkey": 1,
"systemname": "AWS",
"userkey": 2511,
"username": "245947",
"userstatus": 1
}
],
"displayCount": 1,
"errorCode": "0",
"msg": "Successful",
"totalCount": 1
}
{
"accessDetails": [
{
"accountdisplayname": "245947",
"accountkey": 3684,
"accountname": "245947",
"accountstatus": "Manually Suspended",
"endpointDisplayname": "AWS",
"endpointkey": 1,
"endpointname": "AWS",
"entdescription": null,
"entdisplayname": null,
"entitlementType": "AWSPolicy",
"entitlementTypeDisplayname": "AWSPolicy",
"entitlementTypeRequestForm": "Request Form Table",
"entitlementTypekey": 59,
"entitlement_value": "arn:aws:iam::661222050851:policy/CrossPolicy2",
"entitlement_valuekey": 194098,
"entstatus": 1,
"securitysystemdisplayname": "AWS",
"securitysystemkey": 1,
"systemname": "AWS",
"userkey": 2511,
"username": "245947",
"userstatus": 1
}
],
"displayCount": 1,
"errorCode": "0",
"msg": "Successful",
"totalCount": 1
}