PaloAltoNetworks / pcs-postman

Postman collections for Prisma Cloud
ISC License
71 stars 81 forks source link

Updates the Update User Role body #8

Closed timekillerj closed 3 years ago

timekillerj commented 3 years ago

Description

Updates the body payload for the Update User Role endpoint.

Motivation and Context

Update User Role endpoint was missing some parameters.

Old:

{
    "accountGroupIds":["ACCOUNT_GROUP_ID"],
    "name":"ROLE_NAME",
    "description":"Role Description",
    "roleType":"PERMISSION_GROUP_NAME",
    "restrictDismissalAccess":false,
"additionalAttributes":
    {"onlyAllowCIAccess":false,
    "onlyAllowComputeAccess":false}
}

New:

{
    "name": "ROLE_NAME",
    "description": "Role Description",
    "roleType": "PERMISSION_GROUP_NAME",
    "accountGroupIds": ["ACCOUNT_GROUP_ID"],
    "resourceListIds": ["RESOURCE_LIST_IDS"],
    "associatedUsers": ["ASSOCIATED_USERS"],
    "restrictDismissalAccess": false,
    "additionalAttributes": {
        "onlyAllowCIAccess": false,
        "onlyAllowComputeAccess": false,
        "hasDefenderPermissions": false,
        "onlyAllowReadAccess": false
    }
}

Types of changes

Checklist