Hi everyone, I wanted to use the by default provided cloud rules to generate unique attributes like sAMAccountName and DN/CN. The issue I am facing is that one requirement for these is that the users first- and lastnames can contain special chracters which should be replaced (for example via replace transform).
The issue that I am facing is that when I want to use the cloud rules and give them a pattern with non identity attributes it doesnt work .
In this example I just used dummy values without really using any operation on the identity attributes beforehand to do a proof of concept, that using Attributes I define in the transform itself works, but it doesn’t work
[
{
“op”: “replace”,
“path”: “/fields/44”,
“value”: {
“name”: “sAMAccountName”,
“transform”: {
“type”: “rule”,
“attributes”: {
“name”: “Create Unique LDAP Attribute”
}
},
“attributes”: {
“cloudMaxUniqueChecks”: “50”,
“cloudMaxSize”: “20”,
“cloudRequired”: “true”,
“template”: “$(testLast)$(testFirst)$(uniqueCounter)”,
“testFirst”: “Max”,
“testLast”: “Mustermann”
},
“isRequired”: false,
“type”: “string”,
“isMultiValued”: false
}
}
]
Did I maybe do a mistake here or do I have my own cloud attribute generator rule to fulfill my requirements?
Thank you in advance!