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

New User Login - Minimum Access

Naveen_Talanos
Regular Contributor
Regular Contributor

Hi Experts,

Maybe a basic question, but I am still try to get hang of this product.

As per my understanding, when a new user is created, it should have atleast END_USER SAV role for this user to login. Is that correct?

If that is correct then how can I assign this SAV role as default? Like Birthright...

I read somewhere that to assign SAV roles to users through Technical rule, SaviyntForSaviynt should be enabled. Is that correct?

If yes, and if SAV ROLE is a minimum requirement for someone to login, the why is SaviyntForSaviynt optional?

Also, how can I now trigger this rule for existing users.

Regards,

Naveen

31 REPLIES 31

rushikeshvartak
All-Star
All-Star

There are several ways you can do this

  • saviynt 4 saviynt ( in accounts xml )
  • Technical rule ( for existing users tick detective option )
  • externalconfig.properties

detailed solution 

https://forums.saviynt.com/t5/identity-governance/how-to-assign-sav-role-quot-role-sav-manager-quot-...


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

Hi @rushikeshvartak ,

Does that mean that enabling Saviynt4Saviynt is mandatory to assign SAV role?

While creating technical rule as well I can see that "Object" ROLE_SAV_* comes only under Object Type "SaviyntForSaviynt::SAVRole"

Regards

Naveen

Its not mandatory to have saviynt 4 saviynt but if you want to automate or let request catalog based for saviynt application object such as user group , sav role then saviynt 4 saviynt is required 


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

Does that mean that if I create a User Group "Group1", for me to assign users to this group based on a user's field say JobCode, I have to enable Saviynt 4 Saviynt?

Technical Rule (BirthRight and Detective) --> Detective Rules and Take Action (DETECTIVEPROVISIONINGRULESJOB) 

Regards,

Naveen

Exactly true. in order to add access to user saviynt consider every access as entitlement 


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

Hi @rushikeshvartak 

I am not winning, could you please check and help where I might be going wrong.

1. Enabled Saviynt4Saviynt

Naveen_Talanos_0-1667815272561.png

2. Created UserGroup "Business"

Naveen_Talanos_1-1667815333223.png

3. Ran Saviynt job "SaviyntForSaviyntEntValueImportTrigger" to catalog

4. Created Detective Technical Rule

Naveen_Talanos_2-1667815442077.png

Naveen_Talanos_5-1667815720301.png

 

5. Ran Saviynt job again "SaviyntForSaviyntEntValueImportTrigger" to catalog.

6. Created DETECTIVEPROVISIONINGRULESJOB provisioning job

Naveen_Talanos_3-1667815551999.png

7. Although the job run is successful, there is no user added to my UserGroup "Business" even when rule is satisfied for 3 users

Naveen_Talanos_4-1667815630608.png

 

Below is SaviyntForSaviynt Security System

Naveen_Talanos_6-1667815804362.png

 

What am I missing?

Regards,

Naveen

 

 

User update rule ?

does user getting updated or you want existing all users to get business then run saviynt4 saviynt account import 


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

I want all users with users.jobCode = "Business" be added to User Group "Business", both existing and new.

Regards

Naveen

Naveen_Talanos
Regular Contributor
Regular Contributor

- Fetching getTechRuleMap for user-36 , talanos.user4\n","stream":"stdout","time":"2022-11-08T16:05:00.84446162Z"}"
- objectname = ROLE_SAV_ENDUSER , objecttype=14\n","stream":"stdout","time":"2022-11-08T16:05:00.844519021Z"}"
- entVal = ROLE_SAV_ENDUSER\n","stream":"stdout","time":"2022-11-08T16:05:00.844627539Z"}"
- EntValSet in getTechRule [ROLE_SAV_ENDUSER]\n","stream":"stdout","time":"2022-11-08T16:05:00.848400483Z"}"
- Fetching getTechRuleMap for user-36 , talanos.user4 done\n","stream":"stdout","time":"2022-11-08T16:05:00.848429887Z"}"

Start Create Task Zero Day Provisioning\n","stream":"stdout","time":"2022-11-08T16:05:00.84843581Z"}"
systemEndpointEnt = [SaviyntForSaviynt:[ROLE_SAV_ENDUSER]]\n","stream":"stdout","time":"2022-11-08T16:05:00.848440439Z"}"
sql = Select a from ArsTasks a where a.accountName=:accname and a.users.id =:userid and a.tasktype = 3 and endpoint.id =:epid and ( a.status = 1 or a.status = 6 ) \n","stream":"stdout","time":"2022-11-08T16:05:00.848518869Z"}"
sqlentnewacc = Select a from ArsTasks a where a.users.id = :userid and a.accountName=:accname and a.tasktype = 1 and entitlement_valueKey.id =:entvalid and ( a.status = 1 or a.status = 6 ) \n","stream":"stdout","time":"2022-11-08T16:05:00.848535633Z"}"
sqlentexisacc = Select a from ArsTasks a where a.users.id = :userid and a.accountKey.id =:acckey and a.tasktype = 1 and entitlement_valueKey.id =:entvalid and ( a.status = 1 or a.status = 6 ) \n","stream":"stdout","time":"2022-11-08T16:05:00.848544003Z"}"

systemEndpointEnt:: [SaviyntForSaviynt:[ROLE_SAV_ENDUSER]]\n","stream":"stdout","time":"2022-11-08T16:05:00.848675668Z"}"

SystemEndPointEnt Map [SaviyntForSaviynt:[ROLE_SAV_ENDUSER]]\n","stream":"stdout","time":"2022-11-08T16:05:00.849830218Z"}"

saviynt.ImportExternalDbService - Zero Day Limit = 100\n","stream":"stdout","time":"2022-11-08T16:05:00.84985896Z"}"
saviynt.ImportExternalDbService - Creating Zero Day Task for - talanos.user4\n","stream":"stdout","time":"2022-11-08T16:05:00.849864024Z"}"
saviynt.ImportExternalDbService - Inside getEPAccMapForUser...... \n","stream":"stdout","time":"2022-11-08T16:05:00.849868658Z"}"
saviynt.ImportExternalDbService - account Status from Config...... 2_3_4_Manually-Suspended\n","stream":"stdout","time":"2022-11-08T16:05:00.850654348Z"}"
saviynt.ImportExternalDbService - accountStatusSet...... [1, 2, 3, 4, Manually Provisioned, Manually Suspended]\n","stream":"stdout","time":"2022-11-08T16:05:00.850681064Z"}"
saviynt.ImportExternalDbService - Exit getEPAccMapForUser..EndAccMap-[:]\n","stream":"stdout","time":"2022-11-08T16:05:00.851269942Z"}"
saviynt.ImportExternalDbService - EndAccMap-[:]\n","stream":"stdout","time":"2022-11-08T16:05:00.851297174Z"}"
saviynt.ImportExternalDbService - Checking for endpoint : 6 and entitlements-entid:128-entval:ROLE_SAV_ENDUSER\n","stream":"stdout","time":"2022-11-08T16:05:00.854596839Z"}"
saviynt.ImportExternalDbService - ExistingAccObj-null\n","stream":"stdout","time":"2022-11-08T16:05:00.854620818Z"}"
services.WorkflowService - Account Name Rule :null\n","stream":"stdout","time":"2022-11-08T16:05:00.854630557Z"}"
services.WorkflowService - Account Name Rule Not Found selected Username as Account Name:talanos.user4\n","stream":"stdout","time":"2022-11-08T16:05:00.855625134Z"}"
println.PrintlnToLogger - Println :: talanos.user4\n","stream":"stdout","time":"2022-11-08T16:05:00.855650102Z"}"
saviynt.ImportExternalDbService - AccountName-talanos.user4\n","stream":"stdout","time":"2022-11-08T16:05:00.855655556Z"}"
saviynt.ImportExternalDbService - returning from condn. entList.toString().contains(null) == false \u0026\u0026 existingAccountObj == null\n","stream":"stdout","time":"2022-11-08T16:05:00.855706855Z"}"

Naveen_Talanos
Regular Contributor
Regular Contributor

@rushikeshvartak Not sure what I am missing but rules are not working for me.... I have pasted log

Its not working for new account or modify account. In externalconfig.properties there is threshold for no. of accounts can be processed during zero day provisioning


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

Its not working for both new and modify. In externalconfig.properties limit is 100, and my total number of users is 135.

Below is externalconfig.properties

# Set the default Zero Day & Term User Limit
userImport.zeroDayLimit=100
userImport.termUserLimit=100
#USER.DEFAULTEMAILADDRESS=""
sav.useLDAPasbackend=false

 

Regards,

Naveen

 

Please share rule screenshot . Did you ran wsretry ? Does tasks created under pending tasks

@NikhilGuptaSav  - Using UserUpdate Rule he want to assign additional sav role to user


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

Hi @rushikeshvartak 

User Rule:

Naveen_Talanos_0-1667933212770.pngNaveen_Talanos_1-1667933250318.png

Technical Rule "Assign End User Sav Role"

Naveen_Talanos_2-1667933311002.png

 

Jobs I am running, but no tasks are created in "Pending Tasks"

Naveen_Talanos_3-1667933353031.png

 

Naveen_Talanos_4-1667933397032.png

 

  • what does staff organization contains ?
  • use advance query a.username not in ('admin') and statuskey=1

 

 


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

Hi @rushikeshvartak 

I was hoping to assign users to that "Staff" organization

But without Organization and changing the query to advanced, still there is no new task, nor any user assigned the SAV Role.

 

Naveen_Talanos_0-1667934530401.png

 

Users.statuskey =1 AND Users.username not in ('admin')

Does preview shows results ?


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

Yes, all of them. 

Naveen_Talanos_0-1667935701780.png

 

Did you updated query as per last reply? and ran job?


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

Yes, please find the screenshot below for technical rule

Naveen_Talanos_0-1667936218782.png

And I ran this job:

Naveen_Talanos_1-1667936267731.png

But nothing happened 😞

 

Updated query was 

Users.statuskey=1 and Users.username not in ('admin')


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

Naveen_Talanos_0-1667937284018.png

 

NikhilGuptaSav
Saviynt Employee
Saviynt Employee

You can assign the default role for users in the connector itself.  When you run the user import, depending upon what's set as a default sav role in the connection, that role gets assigned. You don't need any extra steps like Sav4Sav

NikhilGuptaSav_1-1667932130596.png

 

 

 

This is for visibility of particular connection. If you have sav role mentioned you will be able to see connection. Question is different 


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

NikhilGuptaSav
Saviynt Employee
Saviynt Employee

so it the question really to assign another sav role on top of the default sav role?

Hi Nikhil,

Just to clarify the requirement again, I have done the initial upload through a file. Now I want these users to have a SAV Role as "ROLE_SAV_ENDUSER", also I want to add any user with jobCode "Business" to User Group "Business".

For this I have enabled Sav4Sav and created Technical Rules to "assign" based on these conditions.

But this is not working for me with both Technical Rules and User Update Rules

Use saviynt 4 saviynt accounts import 


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

Hi @rushikeshvartak 

I did that but it doesn't bring any new accounts. Do you think there is any config missing there?

Regards,

Naveen

NikhilGuptaSav
Saviynt Employee
Saviynt Employee

@Naveen_Talanos 

1. How will your user import work in Prod? Will it be CSV or using some connector?  If it's going to be a connector, then by default, you will have an option to assign a Default Sav role via the connector

2. When using rules, you don't have to mark them detective and birthright. Uncheck those options and then try again

Hi Nikhil,

1. How will your user import work in Prod? Will it be CSV or using some connector?  If it's going to be a connector, then by default, you will have an option to assign a Default Sav role via the connector

- I am using DB connector to get the data, but first bulk load is from CSV

2. When using rules, you don't have to mark them detective and birthright. Uncheck those options and then try again

- I tried but this is not working for existing users. How will the rule trigger for existing users if it is not marked birthright or detective

Regards,

Naveen

If first load was done from csv . Why don’t you assign entitlement using accounts import


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