Hi, Checkmates!
I would like to share with you one tip I found out when I was trying to resolve audit findings.
One of audit findings was that there shouldn't be hostname exposed when Gaia portal page is loaded.
I haven't found any Check Point article regarding that so made my own investigation.
Using Browser developers tools I found out that the file login.js is loading during the page opening.
After that I logged in to the gateway and found the location of the file is /web/htdocs2/js/
And the section which is responsible for hostname displaying:
Instruction how to disable hostname from Check Point Gaia Web UI:
- Connect to the gateway
- Go to path /web/htdocs2/js/
- Backup the login.js file as below
cp login.js login.js_bkp
4. Edit the login.js file using Vi editor
5. Remove the below lines related to hostname
{
xtype: 'displayfield',
id: 'hostname_caption_id',
//cls: 'webui_version_hbox',
value: hostname,
hidden: false,
hideLabel: true,
listeners: {
beforerender: function(){
if (this.value == "") {
this.hidden=true;
}
else {
this.hidden=false;
}
}
6. Save the file.
7. Restart the httpd2 process on the gateway using below commands:
tell pm httpd2
tell pm httpd2 t
Hope this helps! Thank you!
Update:
You can change the setting also through Web UI settings:
If this checkbox is disabled but you still have hostname shown just enable and then disable it again.