Skip to content

Commit

Permalink
add filter for security_related and cim_status, along with example in…
Browse files Browse the repository at this point in the history
… the lookup file
  • Loading branch information
northben committed Feb 14, 2020
1 parent 15c1fdd commit 91faa93
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions amelia/default/data/ui/views/data_dictionary_explorer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
| tstats min(_time) as first_event max(_time) as last_event count where index=* by index sourcetype
| search NOT index IN(assetsummary, cim_modactions, csvsummary, endpoint_summary, firedalerts, notable, risk, summary, threat_activity)
| lookup amelia_data_dictionary_lookup index sourcetype
| $filter$
</query>
<earliest>$field1.earliest$</earliest>
<latest>$field1.latest$</latest>
Expand Down Expand Up @@ -49,6 +50,17 @@
</search>
<default></default>
</input>
<input type="radio" token="filter" searchWhenChanged="true">
<label>Filter</label>
<choice value="*">All</choice>
<choice value="security_related=&quot;yes&quot;">Is security related</choice>
<choice value="security_related=&quot;no&quot;">Not security related</choice>
<choice value="NOT security_related=*">Not security defined</choice>
<choice value="cim_status=&quot;expected&quot;">Is CIM expected</choice>
<choice value="NOT cim_status=*">Not CIM defined</choice>
<prefix>search </prefix>
<default>*</default>
</input>
</fieldset>
<row>
<panel>
Expand Down
4 changes: 2 additions & 2 deletions amelia/lookups/amelia_data_dictionary_lookup.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
index,sourcetype,description,owner,business purpose
*,*,Example description. Use * for wildcard in index/sourcetype.,,
index,sourcetype,description,owner,business purpose,security_related,cim_status
*,*,Example description. Use * for wildcard in index/sourcetype.,,,yes,expected

0 comments on commit 91faa93

Please sign in to comment.