security iam resource actions

Lists all supported Resource Types and their Actions

Syntax

maprcli security iam resource actions [ -type <Resource Type> ]

Examples

Listing all resource types and its actions

actions [ -type <Resource Type> lists all supported Resource Types and their Actions that are specified in Identity Policy.

maprcli security iam resource actions -json
maprcli security iam resource actions -json
{
"timestamp":1726568733033,
"timeofday":"2024-09-17 03:25:33.033 GMT-0700 AM",
"status":"OK",
"total":3,
"data":[
        {
                "ResourceType":"s3bucket",
                "ResourceActions":[
                        "AbortMultipartUpload",
                        "DeleteBucket",
                        "ForceDeleteBucket",
                        "DeleteBucketPolicy",
                        "DeleteObject",
                        "GetBucketLocation",
                        "GetBucketNotification",
                        "GetBucketPolicy",
                        "GetObject",
                        "HeadBucket",
                        "ListAllMyBuckets",
                        "ListBucket",
                        "ListBucketVersions",
                        "ListBucketMultipartUploads",
                        "ListMultipartUploadParts",
                        "PutBucketLifecycle",
                        "GetBucketLifecycle",
                        "PutBucketNotification",
                        "PutBucketEncryption",
                        "DeleteObjectTagging",
                        "PutBucketPolicy",
                        "PutObject",
                        "PutObjectRetention",
                        "GetObjectRetention",
                        "GetObjectLegalHold",
                        "PutObjectLegalHold",
                        "GetBucketObjectLockConfiguration",
                        "PutBucketObjectLockConfiguration",
                        "GetBucketTagging",
                        "PutBucketTagging",
                        "GetObjectVersion",
                        "GetObjectVersionTagging",
                        "DeleteObjectVersion",
                        "DeleteObjectVersionTagging",
                        "PutObjectVersionTagging",
                        "GetObjectTagging",
                        "PutObjectTagging",
                        "GetBucketEncryption",
                        "PutBucketVersioning",
                        "GetBucketVersioning",
                        "GetReplicationConfiguration",
                        "PutReplicationConfiguration"
                        ]
                },
                {
                "ResourceType":"volume",
                "ResourceActions":[
                "ReadVolume",
                "WriteVolume",
                "DeleteVolume",
                "MountVolume",
                "MirrorVolume",
                "ManageVolumeConfig",
                "ManageVolumeACE",
                "VolumeFullControl"
                ]
        },
        {
        "ResourceType":"cluster",
        "ResourceActions":[
                "ViewClusterConfig",
                "ManageClusterServices",
                "ManageClusterOperations",
                "ManageClusterSettings",
                "ManageIamRoleOperations",
                "ManageClusterACE",
                "ManageStartStopService",
                "ManageClusterVolume"
                ]
        }        
       ]
}

Filter By Resource Type

All resource actions associated with specific resource type can be filtered using the following option:
maprcli security iam resource actions -type cluster -json
{
        "timestamp":1726144457981,
        "timeofday":"2024-09-12 05:34:17.981 GMT-0700 AM",
        "status":"OK",
        "total":1,
        "data":[
                {
                        "ResourceType":"cluster",
                        "ResourceActions":[
                                "ViewClusterConfig",
                                "ManageClusterServices",
                                "ManageClusterOperations",
                                "ManageClusterSettings",
                                "ManageIamRoleOperations",
                                "ManageClusterACE",
                                "ManageStartStopService",
                                "ManageClusterVolume"
                        ]
                }
              ]
}