Automated commit by github action: 4961612199

This commit is contained in:
GitHub Action Bot
2023-05-12 17:47:43 +00:00
parent a11994e0ca
commit e45fc06d5b
7 changed files with 190 additions and 40 deletions

View File

@@ -579,6 +579,8 @@ tags:
- [Zendesk Service Desk](https://documentation.sailpoint.com/connectors/zendesk/help/integrating_zendesk_sd/introduction.html) - [Zendesk Service Desk](https://documentation.sailpoint.com/connectors/zendesk/help/integrating_zendesk_sd/introduction.html)
- name: SOD Policy - name: SOD Policy
description: Operations for Creating & Executing SOD (Seperation of Duties) policies description: Operations for Creating & Executing SOD (Seperation of Duties) policies
- name: SOD Violations
description: Operations for Predicting SOD (Seperation of Duties) violations
- name: Sources - name: Sources
description: | description: |
Use this API to implement and customize source functionality. Use this API to implement and customize source functionality.
@@ -858,6 +860,12 @@ paths:
$ref: './v3/paths/sod-policy.yaml' $ref: './v3/paths/sod-policy.yaml'
/sod-policies/{id}/schedule: /sod-policies/{id}/schedule:
$ref: './v3/paths/sod-schedule.yaml' $ref: './v3/paths/sod-schedule.yaml'
/sod-policies/{id}/violation-report/run:
$ref: './v3/paths/sod-report-run.yaml'
/sod-policies/{id}/violation-report:
$ref: './v3/paths/sod-violation-report.yaml'
/sod-violation-report-status/{reportResultId}:
$ref: './v3/paths/sod-violation-report-status.yaml'
/sources: /sources:
$ref: "./v3/paths/sources.yaml" $ref: "./v3/paths/sources.yaml"
/sources/{id}: /sources/{id}:

View File

@@ -114,17 +114,17 @@ get:
"modified": "2020-05-12T19:47:38Z" "modified": "2020-05-12T19:47:38Z"
} }
'400': '400':
$ref: '../../v3/responses/400.yaml' $ref: '../responses/400.yaml'
'401': '401':
$ref: '../../v3/responses/401.yaml' $ref: '../responses/401.yaml'
'403': '403':
$ref: '../../v3/responses/403.yaml' $ref: '../responses/403.yaml'
'404': '404':
$ref: '../../v3/responses/404.yaml' $ref: '../responses/404.yaml'
'429': '429':
$ref: '../../v3/responses/429.yaml' $ref: '../responses/429.yaml'
'500': '500':
$ref: '../../v3/responses/500.yaml' $ref: '../responses/500.yaml'
put: put:
security: security:
- oauth2: [idn:sod-policy:write] - oauth2: [idn:sod-policy:write]
@@ -326,17 +326,17 @@ put:
"modified": "2020-05-12T19:47:38Z" "modified": "2020-05-12T19:47:38Z"
} }
'400': '400':
$ref: '../../v3/responses/400.yaml' $ref: '../responses/400.yaml'
'401': '401':
$ref: '../../v3/responses/401.yaml' $ref: '../responses/401.yaml'
'403': '403':
$ref: '../../v3/responses/403.yaml' $ref: '../responses/403.yaml'
'404': '404':
$ref: '../../v3/responses/404.yaml' $ref: '../responses/404.yaml'
'429': '429':
$ref: '../../v3/responses/429.yaml' $ref: '../responses/429.yaml'
'500': '500':
$ref: '../../v3/responses/500.yaml' $ref: '../responses/500.yaml'
delete: delete:
security: security:
- oauth2: [idn:sod-policy:write] - oauth2: [idn:sod-policy:write]
@@ -371,17 +371,17 @@ delete:
'204': '204':
description: No content. description: No content.
'400': '400':
$ref: '../../v3/responses/400.yaml' $ref: '../responses/400.yaml'
'401': '401':
$ref: '../../v3/responses/401.yaml' $ref: '../responses/401.yaml'
'403': '403':
$ref: '../../v3/responses/403.yaml' $ref: '../responses/403.yaml'
'404': '404':
$ref: '../../v3/responses/404.yaml' $ref: '../responses/404.yaml'
'429': '429':
$ref: '../../v3/responses/429.yaml' $ref: '../responses/429.yaml'
'500': '500':
$ref: '../../v3/responses/500.yaml' $ref: '../responses/500.yaml'
patch: patch:
security: security:
- oauth2: [idn:sod-policy:write] - oauth2: [idn:sod-policy:write]
@@ -547,14 +547,14 @@ patch:
"modified": "2020-05-12T19:47:38Z" "modified": "2020-05-12T19:47:38Z"
} }
'400': '400':
$ref: '../../v3/responses/400.yaml' $ref: '../responses/400.yaml'
'401': '401':
$ref: '../../v3/responses/401.yaml' $ref: '../responses/401.yaml'
'403': '403':
$ref: '../../v3/responses/403.yaml' $ref: '../responses/403.yaml'
'404': '404':
$ref: '../../v3/responses/404.yaml' $ref: '../responses/404.yaml'
'429': '429':
$ref: '../../v3/responses/429.yaml' $ref: '../responses/429.yaml'
'500': '500':
$ref: '../../v3/responses/500.yaml' $ref: '../responses/500.yaml'

View File

@@ -0,0 +1,43 @@
post:
security:
- oauth2: [idn:sod-violation:write]
operationId: startSodPolicy
tags:
- SOD Policy
summary: Runs SOD policy violation report
description: >-
This invokes processing of violation report for given SOD policy. If the policy reports more than 5000 violations, the report returns with
violation limit exceeded message.
parameters:
- in: path
name: id
schema:
type: string
required: true
description: The SOD policy ID to run.
example: ef38f943-47e9-4562-b5bb-8424a56397d8
responses:
'200':
description: Reference to the violation report run task.
content:
application/json:
schema:
$ref: '../schemas/ReportResultReference.yaml'
example: {
"status": "PENDING",
"type": "REPORT_RESULT",
"id": "2e8d8180-24bc-4d21-91c6-7affdb473b0d",
"name": "policy-xyz"
}
'400':
$ref: '../responses/400.yaml'
'401':
$ref: '../responses/401.yaml'
'403':
$ref: '../responses/403.yaml'
'404':
$ref: '../responses/404.yaml'
'429':
$ref: '../responses/429.yaml'
'500':
$ref: '../responses/500.yaml'

View File

@@ -23,15 +23,15 @@ get:
schema: schema:
$ref: '../schemas/SodPolicySchedule.yaml' $ref: '../schemas/SodPolicySchedule.yaml'
'400': '400':
$ref: '../../v3/responses/400.yaml' $ref: '../responses/400.yaml'
'401': '401':
$ref: '../../v3/responses/401.yaml' $ref: '../responses/401.yaml'
'403': '403':
$ref: '../../v3/responses/403.yaml' $ref: '../responses/403.yaml'
'429': '429':
$ref: '../../v3/responses/429.yaml' $ref: '../responses/429.yaml'
'500': '500':
$ref: '../../v3/responses/500.yaml' $ref: '../responses/500.yaml'
put: put:
security: security:
- oauth2: [idn:sod-policy:write] - oauth2: [idn:sod-policy:write]
@@ -63,15 +63,15 @@ put:
schema: schema:
$ref: '../schemas/SodPolicySchedule.yaml' $ref: '../schemas/SodPolicySchedule.yaml'
'400': '400':
$ref: '../../v3/responses/400.yaml' $ref: '../responses/400.yaml'
'401': '401':
$ref: '../../v3/responses/401.yaml' $ref: '../responses/401.yaml'
'403': '403':
$ref: '../../v3/responses/403.yaml' $ref: '../responses/403.yaml'
'429': '429':
$ref: '../../v3/responses/429.yaml' $ref: '../responses/429.yaml'
'500': '500':
$ref: '../../v3/responses/500.yaml' $ref: '../responses/500.yaml'
delete: delete:
security: security:
- oauth2: [idn:sod-policy:write] - oauth2: [idn:sod-policy:write]
@@ -93,14 +93,14 @@ delete:
'204': '204':
description: No content response. description: No content response.
'400': '400':
$ref: '../../v3/responses/400.yaml' $ref: '../responses/400.yaml'
'401': '401':
$ref: '../../v3/responses/401.yaml' $ref: '../responses/401.yaml'
'403': '403':
$ref: '../../v3/responses/403.yaml' $ref: '../responses/403.yaml'
'404': '404':
$ref: '../../v3/responses/404.yaml' $ref: '../responses/404.yaml'
'429': '429':
$ref: '../../v3/responses/429.yaml' $ref: '../responses/429.yaml'
'500': '500':
$ref: '../../v3/responses/500.yaml' $ref: '../responses/500.yaml'

View File

@@ -0,0 +1,42 @@
get:
security:
- oauth2: [idn:sod-violation:read]
operationId: getSodViolationReportRunStatus
tags:
- SOD Policy
summary: Get violation report run status
description: >-
This gets the status for a violation report run task that has already been invoked.
parameters:
- in: path
name: reportResultId
schema:
type: string
required: true
description: The ID of the report reference to retrieve.
example: 2e8d8180-24bc-4d21-91c6-7affdb473b0d
responses:
'200':
description: Status of the violation report run task.
content:
application/json:
schema:
$ref: '../schemas/ReportResultReference.yaml'
example: {
"status": "SUCCESS",
"type": "REPORT_RESULT",
"id": "2e8d8180-24bc-4d21-91c6-7affdb473b0d",
"name": "policy-xyz"
}
'400':
$ref: '../responses/400.yaml'
'401':
$ref: '../responses/401.yaml'
'403':
$ref: '../responses/403.yaml'
'404':
$ref: '../responses/404.yaml'
'429':
$ref: '../responses/429.yaml'
'500':
$ref: '../responses/500.yaml'

View File

@@ -0,0 +1,42 @@
get:
security:
- oauth2: [idn:sod-violation:read]
operationId: getSodViolationReportStatus
tags:
- SOD Policy
summary: Get SOD violation report status
description: >-
This gets the status for a violation report run task that has already been invoked.
parameters:
- in: path
name: id
schema:
type: string
required: true
description: The ID of the violation report to retrieve status for.
example: ef38f943-47e9-4562-b5bb-8424a56397d8
responses:
'200':
description: Status of the violation report run task.
content:
application/json:
schema:
$ref: '../schemas/ReportResultReference.yaml'
example: {
"status": "SUCCESS",
"type": "REPORT_RESULT",
"id": "2e8d8180-24bc-4d21-91c6-7affdb473b0d",
"name": "policy-xyz"
}
'400':
$ref: '../responses/400.yaml'
'401':
$ref: '../responses/401.yaml'
'403':
$ref: '../responses/403.yaml'
'404':
$ref: '../responses/404.yaml'
'429':
$ref: '../responses/429.yaml'
'500':
$ref: '../responses/500.yaml'

View File

@@ -0,0 +1,15 @@
allOf:
- $ref: '../schemas/BaseReferenceDto.yaml'
- type : object
properties:
status:
type: string
description: Status of a violation report
enum:
- SUCCESS
- WARNING
- ERROR
- TERMINATED
- TEMP_ERROR
- PENDING
example: PENDING