Hello everyone,
I´m facing an issue with the latest Roleimporter or with the COMPLEX_CRITERIA I´d like to apply.
The creation of the Role works fine but as soon as I like to assign users to the newly created role I receive the following error message when I run the roleimporter.rb:
error message is :
{“messages”:[{“localeOrigin”:“REQUEST”,“locale”:“en-US”,“text”:“The request was syntactically correct but its content is semantically invalid.”},{“localeOrigin”:“DEFAULT”,“locale”:“en-US”,“text”:“The request was syntactically correct but its content is semantically invalid.”}],“detailCode”:“400.1 Bad request content”,“trackingId”:“xyz”}
The COMPLEX_CRITERIA looks like this:
assignUsersToRole,BRR-CC-2200,COMPLEX_CRITERIA,“{”“children”“: [{”“key”“: {”“property”“: ““attribute.costCenter””,”“type”“: ““IDENTITY””},”“operation”“: ““EQUALS””,”“value”“: ““2200"”},{”“operation””:““OR””,““children””:[{““operation””:““EQUALS””, ““key””:{““type””:““IDENTITY””,““property””:““attribute.sourceName””},““value””:““HRSystem1"”},{”“operation”“:”“EQUALS”“,”“key”“:{”“type”“:”“IDENTITY”“,”“property”“:”“attribute.sourceName”" },““value””:““HRSystem2"”}]}, {”“operation”“:”“OR”“,”“children”“:[{”“operation”“:”“EQUALS”“, ““key””:{”“type”“:”“IDENTITY”“,”“property”“:”“attribute.cloudLifecycleState”“},”“value”“:”“active”“},{”“operation”“:”“EQUALS”“,”“key”“:{”“type”“:”“IDENTITY”“,”“property”“:”“attribute.cloudLifecycleState”" },““value””:““preactive””}]}],““operation””: ““AND””}"
As it should syntactically be correct I´ve checked if it´s also semantically correct and all the inputs I´ve given look correct if I compare it with the SailPoint Search function.
Has anyone an idea, why it isn´t working as expected?
I´d appreciate any help regarding this matter.
Thanks and best
Nils