Apply a bulk action to anonymization fields
https://{kibana_url}
- POST /api/security_ai_assistant/anonymization_fields/_bulk_action
Apply a bulk action to multiple anonymization fields. The bulk action is applied to all anonymization fields that match the filter or to the list of anonymization fields by their IDs.
Request
-
createobject -
Array of anonymization fields to create.
-
allowedboolean -
Whether this field is allowed to be sent to the model.
-
anonymizedboolean -
Whether this field should be anonymized.
-
fieldstringrequired -
Name of the anonymization field to create.
-
deleteobject -
Object containing the query to filter anonymization fields and/or an array of anonymization field IDs to delete.
-
updateobject -
Array of anonymization fields to update.
-
allowedboolean -
Whether this field is allowed to be sent to the model.
-
anonymizedboolean -
Whether this field should be anonymized.
-
idstringrequired -
The ID of the anonymization field to update.
Responses
Indicates a successful call.
-
anonymization_fields_countinteger -
Total number of anonymization fields processed.
-
attributesobjectrequired -
errorsobject -
List of errors that occurred during the bulk operation.
-
anonymization_fieldsobjectrequired -
Array of anonymization fields that caused the error.
-
err_codestring -
Error code indicating the type of failure.
-
messagestringrequired -
Error message.
-
status_codeintegerrequired -
Status code of the response.
-
resultsrequired -
createdobjectrequired -
List of anonymization fields successfully created.
-
allowedboolean -
Whether this field is allowed to be sent to the model.
-
anonymizedboolean -
Whether this field should be anonymized.
-
createdAtstring -
Timestamp of when the anonymization field was created.
-
createdBystring -
Username of the person who created the anonymization field.
-
fieldstringrequired -
Name of the anonymization field.
-
idstring · min: 1required -
A string that does not contain only whitespace characters.
-
namespacestring -
Kibana space in which this anonymization field exists.
-
timestampstring · min: 1 -
A string that represents a timestamp in ISO 8601 format and does not contain only whitespace characters.
-
updatedAtstring -
Timestamp of the last update.
-
updatedBystring -
Username of the person who last updated the field.
-
deletedstringrequired -
skippedobjectrequired -
List of anonymization fields that were skipped during the operation.
-
idstringrequired -
The ID of the anonymization field that was not modified.
-
namestring -
Name of the anonymization field that was not modified.
-
skip_reasonrequired -
Reason why the anonymization field was not modified.
-
Values:
ANONYMIZATION_FIELD_NOT_MODIFIED -
updatedobjectrequired -
List of anonymization fields successfully updated.
-
messagestring -
Message providing information about the bulk action result.
-
status_codeinteger -
HTTP status code returned.
-
successboolean -
Indicates if the bulk action was successful.
Bad Request response.
-
errorstring -
Error type or name.
-
messagestring -
Detailed error message.
-
statusCodenumber -
Status code of the response.