When the Endpoint response rule is configured with the "Allow user to choose explanation" box unchecked, this allows users to click OK in the response rule popup without entering in a justification. The issue does not occur for the first popup, but will occur for subsequent popups.
When the IncidentPersister on Enforce attempts to persist that incident it will fail because the ENDPOINTJUSTIFICATIONLABELID field is null. The error in the Enforce IncidentPersister logs will appear similar to the following:
Feb 14, 2025 1:06:30 PM (WARNING) Thread: 1351 [com.vontu.model.ojb.OJBLogger.warn] Error while write objects for tx org.apache.ojb.odmg.TransactionImpl@236eca68
org.apache.ojb.broker.KeyConstraintViolatedException:
* SQLException during execution of sql-statement:
* sql statement was 'INSERT INTO IncidentJustification (incidentJustificationID,incidentID,endpointJustificationLabelID,endpointJustificationText) VALUES (?,?,?,?) '
* Exception message is [ORA-01400: cannot insert NULL into ("PROTECT"."INCIDENTJUSTIFICATION"."ENDPOINTJUSTIFICATIONLABELID")
DLP 16.1 Endpoint Agent
The issue does not occur on the first popup but the focus is getting set to the 'OK' button for subsequent response rule pop-ups. The logic in place sets the focus to the first radio button, but since the first radio button is not visible due to the fact that the 'Allow user to choose explanation' option is unchecked in the response rule configuration, the focus is not set to the radio button. This allows the user to submit without having a justification. Once the IncidentPersister tries to persist the incident to the database it fails because the ENDPOINTJUSTIFICATIONLABELID field is null.
The issue will be fixed in DLP Endpoint Agent version 16.1 MP1.
Workaround: Until DLP 16.1 MP1 is available, it is recommended NOT to enable the "Allow user to enter text explanation" when configuring the "Endpoint Prevent: Block" response rule in the Enforce Console