Skip to content

Commit da1f2e2

Browse files
committed
advanced search: added example to template for multi analysis search
1 parent 1b0fdeb commit da1f2e2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/web_interface/templates/database/database_advanced_search.html

+8
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,14 @@ <h4>Example queries:</h4>
9999
<span class="example-json">{"processed_analysis.software_components.OpenSSL.meta.version": {"$contains": "1.0.1f"}}</span><br />
100100
<span class="example-comment">Select files where OpenSSL version 1.0.1f was found</span>
101101
</p>
102+
<p>
103+
Searching for multiple results from different plugins:<br />
104+
<span class="example-json">{<br>
105+
&nbsp;&nbsp;"processed_analysis.software_components.OpenSSL": {"$exists": true},<br>
106+
&nbsp;&nbsp;"processed_analysis.file_type.mime": "application/x-sharedlib"<br>
107+
}</span><br />
108+
<span class="example-comment">Search shared libraries with OpenSSL</span>
109+
</p>
102110

103111
For further usage also see <a href="https://docs.mongodb.com/v3.6/tutorial/query-documents/">the MongoDB documentation</a> or simply ask for help at our <a href="https://gitter.im/FACT_core/community">Gitter channel</a>.
104112

0 commit comments

Comments
 (0)