hi,
i have been trying to write a PS script to bulk load SoD policies. but found out that API is having issue . i can not create SOD policy whatever i try on postman . it always throws error.
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
this is the body of the request…
{
"description": "The Segregation of Duties has been defined as provided in ----",
"ownerRef": {
"type": "IDENTITY",
"id": "---------------",
"name": "---, ----"
},
"policyQuery": "@access(id:--------------------) AND @access(id:-------------)",
"compensatingControls": "TBD",
"correctionAdvice": "TBD",
"state": "ENFORCED",
"tags": [],
"violationOwnerAssignmentConfig": {
"assignmentRule": null,
"ownerRef": null
},
"scheduled": false,
"creatorId": "-----------------------",
"modifierId": null,
"type": "CONFLICTING_ACCESS_BASED",
"conflictingAccessCriteria": {
"leftCriteria": {
"name": "------------",
"criteriaList": [
{
"type": "ENTITLEMENT",
"id": "------------------",
"name": "--------------"
}
]
},
"rightCriteria": {
"name": "------------------",
"criteriaList": [
{
"type": "ENTITLEMENT",
"id": "----------------",
"name": "-----------------"
}
]
}
},
"name": "-----------------------"
}