sailpoint-oss / developer.sailpoint.com

The codebase that makes up developer.sailpoint.com, including developer documentation. This codebase is open source and welcomes contributions.
https://developer.sailpoint.com
MIT License
31 stars 85 forks source link

[Bug] Requesting changes to 'Create SOD Policy' (create-sod-policy) #83

Closed piyush-khandelwal-sp closed 1 year ago

piyush-khandelwal-sp commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

SOD API says it can take the following conflictingAccessCriteria but only ENTITLEMENT is allowed

type string Possible values: [ACCOUNT_CORRELATION_CONFIG, ACCESS_PROFILE, ACCESS_REQUEST_APPROVAL, ACCOUNT, APPLICATION, CAMPAIGN, CAMPAIGN_FILTER, CERTIFICATION, CLUSTER, CONNECTOR_SCHEMA, ENTITLEMENT, GOVERNANCE_GROUP, IDENTITY, IDENTITY_PROFILE, IDENTITY_REQUEST, LIFECYCLE_STATE, PASSWORD_POLICY, ROLE, RULE, SOD_POLICY, SOURCE, TAG_CATEGORY, TASK_RESULT, REPORT_RESULT, SOD_VIOLATION, ACCOUNT_ACTIVITY] DTO type

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Actual behavior A clear and concise description of what actually happens.

Illegal value \"ROLE\" for field \"conflictingAccessCriteria.leftCriteria.criteriaList.147f350647074b16a9637698f931b455.type\"

Screenshots If applicable, add screenshots to help explain your problem.

Operating System (please complete the following information):

Browser (please complete the following information):

Additional context Add any other context about the problem here.

codey-bot[bot] commented 2 years ago

🎉 Thanks for opening your first issue here! Be sure to follow the issue template, and welcome to the community! 🙌

tyler-mairose-sp commented 1 year ago

Fixed in cloud-api-client-common. https://github.com/sailpoint/cloud-api-client-common/pull/1119