[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ossec-cvs] ossec-hids: os_lib_syscheck.php (HEAD) [davelowe]
- To: ossec-cvs@xxxxxxxxx
- Subject: [ossec-cvs] ossec-hids: os_lib_syscheck.php (HEAD) [davelowe]
- From: OSSEC CVS <cvs-commit@xxxxxxxxx>
- Date: Wed, 8 Aug 2007 05:45:46 -0300 (ADT)
- Content-transfer-encoding: 8bit
Module name: ossec-hids
Changes by: davelowe 07/08/08 05:45:44
Modified files:
os_lib_syscheck.php
Log message:
More work to filter integrity results. Trying to fix the ALL option
Index: os_lib_syscheck.php
===================================================================
RCS file: /usr/cvsroot/ossec-ui/ossec/Lib/os_lib_syscheck.php,v
diff -u -r1.3 -r1.4
--- os_lib_syscheck.php 8 Aug 2007 08:32:47 -0000 1.3
+++ os_lib_syscheck.php 8 Aug 2007 08:45:44 -0000 1.4
@@ -351,13 +351,22 @@
continue;
}
}
+
+ if($agent_name == "All")
+ {
+ $_name=NULL;
+ }
/* Looking for agent name */
- if(trim($_name) != $agent_name)
+ elseif(trim($_name) != $agent_name)
{
continue;
}
+ elseif(!$agent_name == "All")
+ {
+ continue;
+ }
$syscheck_list{$_name}{'list'} =
- __os_getchanges($sk_dir."/".$file, $g_last_changes, $_name);
+ __os_getchanges($sk_dir."/".$file, $g_last_changes, $agent_name);
$syscheck_count++;
}
OSSEC home |
Main Index |
Thread Index
OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.