Source
"a string of space-separated hostnames; adding 'self' to the list allows the page to be displayed in a frame on the same origin as the page itself\n".
<?php
/*
** Copyright (C) 2001-2025 Zabbix SIA
**
** This program is free software: you can redistribute it and/or modify it under the terms of
** the GNU Affero General Public License as published by the Free Software Foundation, version 3.
**
** This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
** without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
** See the GNU Affero General Public License for more details.
**
** You should have received a copy of the GNU Affero General Public License along with this program.
** If not, see <https://www.gnu.org/licenses/>.
**/
require_once dirname(__FILE__).'/../common/testFormAdministrationGeneral.php';
/**
* @backup config
*/
class testFormAdministrationGeneralOtherParams extends testFormAdministrationGeneral {
public $config_link = 'zabbix.php?action=miscconfig.edit';
public $form_selector = 'name:otherForm';
public $default_values = [
'Frontend URL' => '',
'Group for discovered hosts' => 'Empty group',
'Default host inventory mode' => 'Disabled',
'User group for database down message' => 'Zabbix administrators',
'Log unmatched SNMP traps' => true,
// Authorization.
'Login attempts' => 5,
'Login blocking interval' => '30s',
// Storage of secrets
'Vault provider' => 'HashiCorp Vault',
// Security.
'id:validate_uri_schemes' => true,
'id:uri_valid_schemes' => 'http,https,ftp,file,mailto,tel,ssh',
'id:x_frame_header_enabled' => true,
'id:x_frame_options' => 'SAMEORIGIN',
'id:iframe_sandboxing_enabled' => true,
'id:iframe_sandboxing_exceptions' => ''
];
public $db_default_values = [
'url' => '',
'discovery_groupid' => 50006,
'default_inventory_mode' => -1,
'alert_usrgrpid' => 7,
'snmptrap_logging' => 1,
// Authorization.
'login_attempts' => 5,
'login_block' => '30s',
// Storage of secrets
'vault_provider' => 0,
// Security.
'validate_uri_schemes' => 1,
'uri_valid_schemes' => 'http,https,ftp,file,mailto,tel,ssh',
'x_frame_options' => 'SAMEORIGIN',
'iframe_sandboxing_enabled' => 1,
'iframe_sandboxing_exceptions' => ''