I’m using a script to create roles in bulk, and I’m sending the following JSON for the assignment criteria:
{
“operation”: “AND”,
“children”: [
{
“attribute”: “rolOrganizativo”,
“operation”: “EQUALS”,
“value”: “ROL-BOT_SVAS”,
“type”: “IDENTITY”
},
{
“attribute”: “cloudLifecycleState”,
“operation”: “EQUALS”,
“value”: “active”,
“type”: “IDENTITY”
}
]
}
The problem is that this creates two different criteria groups, as shown in the image. What should I change in the JSON to make them part of the same criteria group?