Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
4884a059
Commit
4884a059
authored
Nov 26, 2015
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(IDS) add alert_action to log output
parent
14c59c64
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
ServiceController.php
...vc/app/controllers/OPNsense/IDS/Api/ServiceController.php
+1
-1
index.volt
src/opnsense/mvc/app/views/OPNsense/IDS/index.volt
+1
-2
No files found.
src/opnsense/mvc/app/controllers/OPNsense/IDS/Api/ServiceController.php
View file @
4884a059
...
...
@@ -223,7 +223,7 @@ class ServiceController extends ApiControllerBase
if
(
$this
->
request
->
getPost
(
'searchPhrase'
,
'string'
,
''
)
!=
""
)
{
$filterTag
=
$filter
->
sanitize
(
$this
->
request
->
getPost
(
'searchPhrase'
),
"query"
);
$searchPhrase
=
'alert,src_ip/"*'
.
$filterTag
.
'*"'
;
$searchPhrase
=
'alert,
alert_action,
src_ip/"*'
.
$filterTag
.
'*"'
;
}
else
{
$searchPhrase
=
''
;
}
...
...
src/opnsense/mvc/app/views/OPNsense/IDS/index.volt
View file @
4884a059
...
...
@@ -468,8 +468,6 @@ POSSIBILITY OF SUCH DAMAGE.
<div class="col-sm-12 actionBar">
<select id="alert-logfile" class="selectpicker" data-width="200px"></select>
<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="50">50</option>
<option value="100">100</option>
...
...
@@ -492,6 +490,7 @@ POSSIBILITY OF SUCH DAMAGE.
<thead>
<tr>
<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="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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment