Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Error in Revoke Access JSON

Mortal
Regular Contributor
Regular Contributor

Hi,

Working on Saviynt and Snowflake integration. After removing the entitlement form the request form tasks are getting completed but there was no change on Snowflake for query execution.

used the following queries but getting same results.

1. { "role": "revoke role ${task.entitlement_valuekey.entitlement_value} from user ${accountName};" }

2. { "Role": ["REVOKE ROLE ${task.entitlement_valueKey.entitlement_value} FROM USER ${accountName};"] }

3. { "role": [ "revoke role \"{task.entitlement_valuekey.entitlement_value}\" from user \"{accountName}\";" ] }

4. {
"role": "revoke role ${task.entitlement_valuekey.entitlement_value} from ${user.username};"
}

2 REPLIES 2

Saathvik
All-Star
All-Star

@Mortal : Below is the working JSON we are using, Here ROLE (first one, not the one in command) is the entitlement type as it is(case-sensitive)

 

{
"ROLE": "REVOKE ROLE ${task.entitlement_valueKey.entitlement_value} FROM USER \"${accountName}\";"
}

 

So modify the JSON accordingly as per you entitlement type name and see if that works


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.

rushikeshvartak
All-Star
All-Star

Entitlement type name should be exact

{
"ROLE": [
"REVOKE ROLE \${task.entitlement_valueKey.entitlement_value}\ FROM USER \${accountName}\ "
]
}


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.