security iam task info
Fetches detailed information about policy enforcement task based on the task ID.
You can use iam task info command to get the detailed
information for a specific enforcement task, whenever an IAM policy
is attached/detached with the specified identities.
Syntax
- CLI
-
maprcli security iam task info -id <Task ID> - REST
-
Request Type GET Request URL http[s]://<host>:<port>/rest/iam/task/info?<taskid>
Parameters
| Parameter | Description |
|---|---|
-id |
(Required) The task ID, represented
in <Policy ID> .<Statement
ID>.<Sequence ID> format. |
Example
Retrieve information related to task ID 1.0.0- CLI
maprcli security iam task info -id 1.0.0 -json { "timestamp":1726143125093, "timeofday":"2024-09-12 05:12:05.093 GMT-0700 AM", "status":"OK", "total":1, "data":[ { "Id":"1.0.0", "Resource":"urn:default:primary:volume:vol-1", "Status":"Success", "Type":"EnforceAllow", "Identities":{ "Users": "user1,user2,user3", "Groups": "", "Roles": "" } } ] }
- REST
-
curl -u <username> -X GET https://server.sj.us:8443/rest/security/iam/task/info?id=1.0.0