After completing upgrade to DLP 16.0 MP1, you are unable to pull logs from the Enforce console.
There is no error when clicking on the "Collect logs" button, but no logs ever appear available for download.
Error in tomcat when log collection is attempted shows a Javascript error:
19 Apr 2023 17:40:20,244- Thread: 349 SEVERE [com.vontu.manager.ui.LogToServerController] loggedInUser:[a-jalvi], url:[/ProtectManager/Logs.do], browserInformation:[Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0], browserLocale:[en-US,en;q=0.5], userLocale:[en_US]
Javascript error at line 198: TypeError: document.getElementsByName(...)[0] is undefined
Looking at line #198 in logs.js we have:
var detectionServerID = document.getElementsByName('value(detectionServer)')[0].value;
Release : 16.0
Enforce with the Cloud Detection Service
This only happens when no on-premises Detection Servers are present, where only Cloud Detectors are enrolled.
This is a known issue when no on-premises Detection Servers are present in the console (only Cloud Detectors).
A fix for this will be available in the next GA for DLP.
A hotfix is also available from Technical Support. Open a case and refer to CRE-14203 in the case description.
A workaround also exists:
This server does not have to serve a function (doesn't need to exist, technically), but it will serve to fulfill the check being performed when the log collection is run.