-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathTruvis-Host Linux Dashboard by ENDPOINT [SUB]
99 lines (99 loc) · 3.38 KB
/
Truvis-Host Linux Dashboard by ENDPOINT [SUB]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<form theme="dark">
<label>Truvis-Host Linux Dashboard by ENDPOINT [SUB]</label>
<fieldset submitButton="false">
<input type="text" token="field1">
<label>Host</label>
<default>$clickedHOST$</default>
</input>
<input type="time" token="field2">
<label>Time Frame</label>
<default>
<earliest>-24h@h</earliest>
<latest>now</latest>
</default>
</input>
</fieldset>
<row>
<panel>
<table>
<title>Current Open Sessions (including improperly closed)</title>
<search>
<query>source=secure host="$field1$" | transaction pid startswith="session opened" | regex _raw!="session closed" | table _time user</query>
<earliest>$field2.earliest$</earliest>
<latest>$field2.latest$</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="drilldown">none</option>
<format type="color" field="user">
<colorPalette type="sharedList"></colorPalette>
<scale type="sharedCategory"></scale>
</format>
</table>
</panel>
<panel>
<table>
<title>Login Sessions</title>
<search>
<query>source=secure host="$field1$" | transaction pid maxevents=3 endswith="session closed" | eval HHMMSS=tostring(duration, "duration") | table _time user src_ip HHMMSS</query>
<earliest>$field2.earliest$</earliest>
<latest>$field2.latest$</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="drilldown">none</option>
<format type="color" field="user">
<colorPalette type="sharedList"></colorPalette>
<scale type="sharedCategory"></scale>
</format>
<format type="color" field="src_ip">
<colorPalette type="sharedList"></colorPalette>
<scale type="sharedCategory"></scale>
</format>
</table>
</panel>
</row>
<row>
<panel>
<table>
<title>Commands</title>
<search>
<query>source=bash_history host="$field1$" | table _time, user_name, bash_command | sort - _time</query>
<earliest>$field2.earliest$</earliest>
<latest>$field2.latest$</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="drilldown">none</option>
<format type="color" field="user_name">
<colorPalette type="sharedList"></colorPalette>
<scale type="sharedCategory"></scale>
</format>
</table>
</panel>
</row>
<row>
<panel>
<event>
<title>Execute Command Events</title>
<search>
<query>source=bash_history host="$field1$" bash_command="./*" OR bash_command="sh *"</query>
<earliest>$field2.earliest$</earliest>
<latest>$field2.latest$</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="list.drilldown">none</option>
</event>
</panel>
<panel>
<event>
<title>Successful Logon Events</title>
<search>
<query>source=secure host="$field1$" action=success vendor_action=Accepted</query>
<earliest>$field2.earliest$</earliest>
<latest>$field2.latest$</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="list.drilldown">none</option>
<option name="refresh.display">progressbar</option>
</event>
</panel>
</row>
</form>