Get Least Privilege Access Metadata of an Asset
GET/iam/api/v1/assets/:assetId/over-permissive-metadata
Return a metadata and info about the improvement potential for an assert of Least Privilege Access.
Request
Path Parameters
assetId stringrequired
the UAI asset Id
Example: 681390424b288d835f5cd03e7bfb0993
Responses
- 200
- 400
- 401
- 403
- 404
- 429
OK
- application/json
- Schema
- Example (from schema)
Schema
totalIamResourceCount int32
The total number of iam resources attached to the asset
overPermissiveCount int32
The number of over permissive iam resources attached to the asset
isCustomLeastPrivilegedSupported boolean
Is custom least privileged access supported for asset
isExistingLeastPrivilegedSupported boolean
Is existing least privileged access supported for asset
iamResourceType string
The type of resources attached to the asset
{
"totalIamResourceCount": 15,
"overPermissiveCount": 10,
"isCustomLeastPrivilegedSupported": true,
"isExistingLeastPrivilegedSupported": true,
"iamResourceType": "AWS IAM Policy"
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
error object
code stringrequired
message stringrequired
target string
details string[]
innerError
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
"string"
]
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error object
code stringrequired
message stringrequired
target string
details string[]
innerError
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
"string"
]
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
error object
code stringrequired
message stringrequired
target string
details string[]
innerError
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
"string"
]
}
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
error object
code stringrequired
message stringrequired
target string
details string[]
innerError
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
"string"
]
}
}
Throttled
Response Headers
X-RateLimit-Remaining integer
X-RateLimit-Requested-Tokens integer
X-RateLimit-Burst-Capacity integer
X-RateLimit-Replenish-Rate integer
Loading...