예제 #1
0
 public function getAlertEvents()
 {
     $result = array();
     $cfg = @parse_ini_file($this->container->getConfigurationFile());
     $result['wronglocalrootlogin'] = $cfg['SecurityAlertOnWrongLocalRootLogin'] == '1' ? true : false;
     $result['wronglocaluserlogin'] = $cfg['SecurityAlertOnWrongLocalUserLogin'] == '1' ? true : false;
     $result['wrongwebserviceslogin'] = $cfg['SecurityAlertOnWrongWebServicesLogin'] == '1' ? true : false;
     $result['applicationoperation'] = $cfg['SecurityAlertOnApplicationOperation'] == '1' ? true : false;
     $result['applicationdomainoperation'] = $cfg['SecurityAlertOnApplicationDomainOperation'] == '1' ? true : false;
     $result['domainoperation'] = $cfg['SecurityAlertOnDomainOperation'] == '1' ? true : false;
     return $result;
 }