diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml
new file mode 100644
index 0000000..a55e7a1
--- /dev/null
+++ b/.idea/codeStyles/codeStyleConfig.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml
deleted file mode 100644
index 7808b16..0000000
--- a/.idea/dataSources.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
- mysql.8
- true
- com.mysql.cj.jdbc.Driver
- jdbc:mysql://mys_glpi_prod.appliarmony.net:3306/GLPI
- $ProjectFileDir$
-
-
- mysql.8
- true
- com.mysql.cj.jdbc.Driver
- jdbc:mysql://DUN-SUP-ENTRY01:3306/infra
- $ProjectFileDir$
-
-
-
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml
new file mode 100644
index 0000000..dd4c951
--- /dev/null
+++ b/.idea/inspectionProfiles/profiles_settings.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 3067bdd..8ed10c0 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,11 +2,7 @@
-
-
-
-
\ No newline at end of file
diff --git a/.idea/php.xml b/.idea/php.xml
index f324872..8e445c2 100644
--- a/.idea/php.xml
+++ b/.idea/php.xml
@@ -10,6 +10,9 @@
+
+
+
diff --git a/.idea/sqldialects.xml b/.idea/sqldialects.xml
new file mode 100644
index 0000000..7cc52b7
--- /dev/null
+++ b/.idea/sqldialects.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index ae9f086..8306744 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -2,8 +2,6 @@
-
-
\ No newline at end of file
diff --git a/.idea/web-infra-reports.iml b/.idea/web-infra-reports.iml
index e7caba8..940f6f9 100644
--- a/.idea/web-infra-reports.iml
+++ b/.idea/web-infra-reports.iml
@@ -1,12 +1,10 @@
-
+
+
+
-
-
-
-
\ No newline at end of file
diff --git a/crossover/GlobalCrossover2.php b/crossover/GlobalCrossover2.php
index 59f9520..ec1b18c 100644
--- a/crossover/GlobalCrossover2.php
+++ b/crossover/GlobalCrossover2.php
@@ -28,416 +28,421 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
Global Crossover
+
+
+
+
+
+
+
+
+
+
+
+
+
Global Crossover
-
-
-
+
+
+
+ query("select * from GlobalCrossover where server not like 'WS%' order by server ");
+ if (isset($_GET['filter'])) {
+ switch ($_GET['filter']) {
+ case "AD":
+ $result = $conn->query("select * from GlobalCrossover where AD is null or (ADlu is not null and DATEDIFF(now(),ADlu) > 45) order by server");
+ echo "
Filter : AD non compliant
";
+ break;
+ case "OS":
+ $result = $conn->query("select * from GlobalCrossover where OS like '%2003%' or OS like '%2008%' order by server");
+ echo "
Filter : OS non compliant
";
+ break;
+ case "GLPI":
+ $result = $conn->query("select * from GlobalCrossover where GLPI is null or GLPIlu is null or DATEDIFF(now(),GLPIlu) > 7 order by server");
+ echo "
Filter : GLPI/FI non compliant
";
+ break;
+ case "SCCM":
+ $result = $conn->query("select * from GlobalCrossover where SCCM is null or (SCCMlu is not null and DATEDIFF(now(),SCCMlu) > 7) order by server");
+ echo "
Filter : SCCM non compliant
";
+ break;
+ case "EPO":
+ $result = $conn->query("select * from GlobalCrossover where EPO is null or (EPOlu is not null and DATEDIFF(now(),EPOlu) > 7) order by server");
+ echo "
Filter : EPO non compliant
";
+ break;
+ case "NBU":
+ $result = $conn->query("select * from GlobalCrossover where NBU is null or (NBUlu is not null and DATEDIFF(now(),NBUlu) > 30) order by server");
+ echo "
Filter : Backup non compliant
";
+ break;
+ case "SCOM":
+ $result = $conn->query("select * from GlobalCrossover where SCOM is null order by server");
+ echo "
Filter : SCOM non compliant
";
+ break;
+ case "zabbix":
+ $result = $conn->query("select * from GlobalCrossover where zabbix is null order by server");
+ echo "
Filter : Zabbix non compliant
";
+ break;
+ case "S1":
+ $result = $conn->query("select * from GlobalCrossover where S1 is null or (S1lu is not null and DATEDIFF(now(),S1lu) > 7) order by server");
+ echo "
Filter : SentinelOne non compliant
";
+ break;
+ default:
+ }
+ }
+ ?>
+
+
+
+
Name
+
Operating System
+
Criticity
+
Departement
+
AD
+
AD Last Logon
+
GLPI
+
Last FI
+ Inventory
+
+
SCCM
+
SCCM Last Heartbeat
+
Backup
+
Last Backup
+
SCOM
+
Zabbix
+
SentinelOne
+
S1 Last Update
+
+
+
+
query("select * from GlobalCrossover where server not like 'WS%' order by server ");
- if (isset($_GET['filter'])) {
- switch ($_GET['filter']) {
- case "AD":
- $result = $conn->query("select * from GlobalCrossover where AD is null or (ADlu is not null and DATEDIFF(now(),ADlu) > 45) order by server");
- echo "
Filter : AD non compliant
";
- break;
- case "OS":
- $result = $conn->query("select * from GlobalCrossover where OS like '%2003%' or OS like '%2008%' order by server");
- echo "
Filter : OS non compliant
";
- break;
- case "GLPI":
- $result = $conn->query("select * from GlobalCrossover where GLPI is null or GLPIlu is null or DATEDIFF(now(),GLPIlu) > 7 order by server");
- echo "
Filter : GLPI/FI non compliant
";
- break;
- case "SCCM":
- $result = $conn->query("select * from GlobalCrossover where SCCM is null or (SCCMlu is not null and DATEDIFF(now(),SCCMlu) > 7) order by server");
- echo "
Filter : SCCM non compliant
";
- break;
- case "EPO":
- $result = $conn->query("select * from GlobalCrossover where EPO is null or (EPOlu is not null and DATEDIFF(now(),EPOlu) > 7) order by server");
- echo "
Filter : EPO non compliant
";
- break;
- case "NBU":
- $result = $conn->query("select * from GlobalCrossover where NBU is null or (NBUlu is not null and DATEDIFF(now(),NBUlu) > 30) order by server");
- echo "
Filter : Backup non compliant
";
- break;
- case "SCOM":
- $result = $conn->query("select * from GlobalCrossover where SCOM is null order by server");
- echo "
Filter : SCOM non compliant
";
- break;
- case "zabbix":
- $result = $conn->query("select * from GlobalCrossover where zabbix is null order by server");
- echo "
Filter : Zabbix non compliant
";
- break;
- case "S1":
- $result = $conn->query("select * from GlobalCrossover where S1 is null or (S1lu is not null and DATEDIFF(now(),S1lu) > 7) order by server");
- echo "