Files
api-specs/idn/beta/paths/sod-report-run.yaml
GitHub Action Bot e648330e30 Automated commit 'ISCCOMPLI-651: Deprecated sod beta endpoints (#1475)
* ISCCOMPLI-651: deperceated sod beta endpoints' by github action: 6748155352
2023-11-03 17:02:40 +00:00

47 lines
1.3 KiB
YAML

post:
operationId: startSodPolicy
tags:
- SOD Policy
summary: Runs SOD policy violation report
deprecated: true
security:
- UserContextAuth: [idn:sod-violation:write]
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.
Requires role of ORG_ADMIN.
parameters:
- in: path
name: id
schema:
type: string
required: true
description: The SOD policy ID to run.
example: ef38f94347e94562b5bb8424a56397d8
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: '../../v3/responses/400.yaml'
'401':
$ref: '../../v3/responses/401.yaml'
'403':
$ref: '../../v3/responses/403.yaml'
'404':
$ref: '../../v3/responses/404.yaml'
'429':
$ref: '../../v3/responses/429.yaml'
'500':
$ref: '../../v3/responses/500.yaml'