summaryrefslogtreecommitdiffstats
path: root/configuration.php
diff options
context:
space:
mode:
Diffstat (limited to 'configuration.php')
-rw-r--r--configuration.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/configuration.php b/configuration.php
new file mode 100644
index 0000000..c7adad4
--- /dev/null
+++ b/configuration.php
@@ -0,0 +1,33 @@
+<?php
+
+// Icinga Web 2 X.509 Module | (c) 2018 Icinga GmbH | GPLv2
+
+/** @var \Icinga\Application\Modules\Module $this */
+
+$section = $this->menuSection(N_('Certificate Monitoring'), array(
+ 'icon' => 'check',
+ 'url' => 'x509/dashboard',
+ 'priority' => 40
+));
+
+$section->add(N_('Certificate Overview'), array(
+ 'url' => 'x509/certificates',
+ 'priority' => 10
+));
+
+$section->add(N_('Certificate Usage'), array(
+ 'url' => 'x509/usage',
+ 'priority' => 20
+));
+
+$section->add(N_('Configuration'), [
+ 'url' => 'x509/jobs',
+ 'priority' => 100,
+ 'description' => $this->translate('Configure the scan jobs and SNI map')
+]);
+
+$this->provideConfigTab('backend', array(
+ 'title' => $this->translate('Configure the database backend'),
+ 'label' => $this->translate('Backend'),
+ 'url' => 'config/backend'
+));