mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 10:18:57 +00:00
Added Syslog section
This commit is contained in:
parent
7ccadd2ad6
commit
328ad9380a
@ -1,12 +1,19 @@
|
|||||||
<!-- This section contains the main content and the right sidenav -->
|
<!-- This section contains the main content and the right sidenav -->
|
||||||
<div flex="auto" layout="row" ng-if="!load && configurationSubTab === 'syslog'">
|
<div flex="auto" layout="row" ng-if="!load && configurationSubTab === 'syslog'">
|
||||||
|
|
||||||
<!-- This section appears when there's no configuration -->
|
<!-- No configuration section -->
|
||||||
<wz-no-config flex ng-if="false"></wz-no-config>
|
<wz-no-config
|
||||||
|
flex
|
||||||
|
error="currentConfig['csyslog-csyslog']"
|
||||||
|
ng-if="currentConfig['csyslog-csyslog'] && isString(currentConfig['csyslog-csyslog'])"></wz-no-config>
|
||||||
|
<wz-no-config
|
||||||
|
flex
|
||||||
|
error="'not-present'"
|
||||||
|
ng-if="currentConfig['csyslog-csyslog'] && !isString(currentConfig['csyslog-csyslog']) && (!currentConfig['csyslog-csyslog'].syslog_output || !currentConfig['csyslog-csyslog'].syslog_output.length)"></wz-no-config>
|
||||||
<!-- End no configuration section -->
|
<!-- End no configuration section -->
|
||||||
|
|
||||||
<!-- This section is the main content -->
|
<!-- This section is the main content -->
|
||||||
<div flex layout="column">
|
<div flex layout="column" ng-if="currentConfig['csyslog-csyslog'] && !isString(currentConfig['csyslog-csyslog']) && currentConfig['csyslog-csyslog'].syslog_output && currentConfig['csyslog-csyslog'].syslog_output.length">
|
||||||
|
|
||||||
<!-- The main card will all the settings -->
|
<!-- The main card will all the settings -->
|
||||||
<md-card class="wz-md-card" ng-if="!JSONContent && !XMLContent">
|
<md-card class="wz-md-card" ng-if="!JSONContent && !XMLContent">
|
||||||
@ -40,25 +47,15 @@
|
|||||||
<th class="wz-text-left col-lg-2">Location</th>
|
<th class="wz-text-left col-lg-2">Location</th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody class="wz-word-wrap">
|
<tbody class="wz-word-wrap">
|
||||||
<tr>
|
<tr ng-repeat="item in currentConfig['csyslog-csyslog'].syslog_output">
|
||||||
<td>test</td>
|
<td>{{ item.server || 'n/a' }}</td>
|
||||||
<td>test</td>
|
<td>{{ item.port || '514' }}</td>
|
||||||
<td>test</td>
|
<td>{{ item.level }}</td>
|
||||||
<td>test</td>
|
<td>{{ item.format || 'default' }}</td>
|
||||||
<td>test</td>
|
<td>{{ item.use_fqdn || 'no' }}</td>
|
||||||
<td>test</td>
|
<td>{{ item.rule_id || 'n/a' }}</td>
|
||||||
<td>test</td>
|
<td>{{ item.group || 'n/a' }}</td>
|
||||||
<td>test</td>
|
<td>{{ item.location || 'n/a' }}</td>
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>test</td>
|
|
||||||
<td>test</td>
|
|
||||||
<td>test</td>
|
|
||||||
<td>test</td>
|
|
||||||
<td>test</td>
|
|
||||||
<td>test</td>
|
|
||||||
<td>test</td>
|
|
||||||
<td>test</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
Reference in New Issue
Block a user