Commit 4884a059 authored by Ad Schellevis's avatar Ad Schellevis

(IDS) add alert_action to log output

parent 14c59c64
...@@ -223,7 +223,7 @@ class ServiceController extends ApiControllerBase ...@@ -223,7 +223,7 @@ class ServiceController extends ApiControllerBase
if ($this->request->getPost('searchPhrase', 'string', '') != "") { if ($this->request->getPost('searchPhrase', 'string', '') != "") {
$filterTag = $filter->sanitize($this->request->getPost('searchPhrase'), "query"); $filterTag = $filter->sanitize($this->request->getPost('searchPhrase'), "query");
$searchPhrase = 'alert,src_ip/"*'.$filterTag .'*"'; $searchPhrase = 'alert,alert_action,src_ip/"*'.$filterTag .'*"';
} else { } else {
$searchPhrase = ''; $searchPhrase = '';
} }
......
...@@ -468,8 +468,6 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -468,8 +468,6 @@ POSSIBILITY OF SUCH DAMAGE.
<div class="col-sm-12 actionBar"> <div class="col-sm-12 actionBar">
<select id="alert-logfile" class="selectpicker" data-width="200px"></select> <select id="alert-logfile" class="selectpicker" data-width="200px"></select>
<select id="alert-logfile-max" class="selectpicker" data-width="80px"> <select id="alert-logfile-max" class="selectpicker" data-width="80px">
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option> <option value="7">7</option>
<option value="50">50</option> <option value="50">50</option>
<option value="100">100</option> <option value="100">100</option>
...@@ -492,6 +490,7 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -492,6 +490,7 @@ POSSIBILITY OF SUCH DAMAGE.
<thead> <thead>
<tr> <tr>
<th data-column-id="timestamp" data-type="string" data-sortable="false">{{ lang._('Timestamp') }}</th> <th data-column-id="timestamp" data-type="string" data-sortable="false">{{ lang._('Timestamp') }}</th>
<th data-column-id="alert_action" data-type="string" data-sortable="false">{{ lang._('Action') }}</th>
<th data-column-id="src_ip" data-type="string" data-sortable="false" data-width="10em">{{ lang._('Source') }}</th> <th data-column-id="src_ip" data-type="string" data-sortable="false" data-width="10em">{{ lang._('Source') }}</th>
<th data-column-id="dest_ip" data-type="string" data-sortable="false" data-width="10em">{{ lang._('Destination') }}</th> <th data-column-id="dest_ip" data-type="string" data-sortable="false" data-width="10em">{{ lang._('Destination') }}</th>
<th data-column-id="alert" data-type="string" data-sortable="false" >{{ lang._('Alert') }}</th> <th data-column-id="alert" data-type="string" data-sortable="false" >{{ lang._('Alert') }}</th>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment