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

Elastic Stack - REST API Update Role Mapping

anuragtripathi
New Contributor
New Contributor

Hello folks,

There is this app called Elastic Stack and below is the User to Role structure - 
"mapping": {
"enabled": true,
"roles": [
"role1",
"role2",
"role3"
],
"rules": {
"all": [
{
"field": {
"username": [
"user1",
"user2",
"user3",
"user4"
]
}
}
]
},
"metadata": {}
}

 

As you can see above, there are multiple roles and multiple users in the single mapping. The use case here to update the existing mapping for single user if there is a request from Saviynt ARS. Please suggest a way to achieve this use case.

4 REPLIES 4

DixshantValecha
Saviynt Employee
Saviynt Employee

Hi @anuragtripathi,

We are checking on your requirement and we will keep you posted.

 

DixshantValecha
Saviynt Employee
Saviynt Employee

Hi @anuragtripathi,

Please validate if this is works for you :-

mapping
{
"roles": [ "role1", "role2", "role3" ],
"enabled": true,
"rules": {
"all" : [
{
"field": { "username" : "user1" }
}
]
},
"metadata" : { "version" : 1 }
}

This will remove other users from the mapping and keep only user1. So this doesn't satisfy our use case.

DixshantValecha
Saviynt Employee
Saviynt Employee

Hi @anuragtripathi,

Please provide us more information regarding your usecase,accordingly we can assist you.