Bulk update impacts using filter query
patch
/sia/v1/impact/selectAllUpdate
Update the impacts in bulk matching the given smart search filters criteria. The given update operation is performed on all impacts that match the smart search filters. Impacts with document IDs specified in excludeList are skipped from the update operation. Updates to owner name, impact severity and analysis status are supported.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
excludeList: array
excludeList
List of event document IDs which should be excluded from applying patch operation.
-
filters: array
filters
Applied filters defining a smart search query.
-
operation: object
operation
Patch operation that should be performed on the events matching the filters criteria.
Nested Schema : excludeList
Type:
array
List of event document IDs which should be excluded from applying patch operation.
Show Source
Nested Schema : operation
Type:
object
Patch operation that should be performed on the events matching the filters criteria.
Match All
Patch operation that should be performed on the events matching the filters criteria.
Show Source
Nested Schema : SmartSearchFilterChip
Type:
Show Source
object
-
filter: string
Name of the smart search filter.
-
value:
Value of the smart search filter.
Nested Schema : ImpactBulkUpdateRecord
Type:
Show Source
object
-
analysisStatus: string
Analysis status to be updated for the impact.
-
id: string
Impact document id for which update operation is to be performed.
-
impactSeverity: string
Impact severity to be updated for the impact.
-
ownerName: string
Owner name to be updated for the impact.
Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Impacts updated successfully.
Root Schema : BulkOperationResult
Type:
Show Source
object
-
errors: array
errors
Error records to store the information of the failed operations on the entities.
-
hasErrors: boolean
Flag to indicate if there are any errors.
Nested Schema : errors
Type:
array
Error records to store the information of the failed operations on the entities.
Show Source
Nested Schema : ErrorRecord
Type:
Show Source
object
-
errorMessage: string
Error message indicating the reason for the failure.
-
id: string
Document id of the entity for which the operation failed.
Examples
400 Response
The request isn't valid
401 Response
The request is unauthorized
403 Response
The request is forbidden
404 Response
The requested resource not found
500 Response
An Internal Server Error has occurred