mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 00:28:22 +00:00
chg: [correlation] correlation graph: filter title objects
This commit is contained in:
parent
405d097024
commit
b4f1a43208
3 changed files with 9 additions and 1 deletions
|
@ -61,7 +61,8 @@ class Crawler(AbstractModule):
|
|||
self.domain = None
|
||||
|
||||
# TODO Replace with warning list ???
|
||||
self.placeholder_screenshots = {'27e14ace10b0f96acd2bd919aaa98a964597532c35b6409dff6cc8eec8214748'}
|
||||
self.placeholder_screenshots = {'27e14ace10b0f96acd2bd919aaa98a964597532c35b6409dff6cc8eec8214748',
|
||||
'3e66bf4cc250a68c10f8a30643d73e50e68bf1d4a38d4adc5bfc4659ca2974c0'} # 404
|
||||
|
||||
# Send module state to logs
|
||||
self.logger.info('Crawler initialized')
|
||||
|
|
|
@ -95,6 +95,9 @@ def show_correlation():
|
|||
correl_option = request.form.get('ItemCheck')
|
||||
if correl_option:
|
||||
filter_types.append('item')
|
||||
correl_option = request.form.get('TitleCheck')
|
||||
if correl_option:
|
||||
filter_types.append('title')
|
||||
|
||||
# list as params
|
||||
filter_types = ",".join(filter_types)
|
||||
|
|
|
@ -206,6 +206,10 @@
|
|||
<input class="form-check-input" type="checkbox" value="True" id="ScreenshotCheck" name="ScreenshotCheck" {%if "screenshot" in dict_object["filter"]%}checked{%endif%}>
|
||||
<label class="form-check-label" for="ScreenshotCheck">Screenshot</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" value="True" id="TitleCheck" name="TitleCheck" {%if "title" in dict_object["filter"]%}checked{%endif%}>
|
||||
<label class="form-check-label" for="TitleCheck">Title</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" value="True" id="PgpCheck" name="PgpCheck" {%if "pgp" in dict_object["filter"]%}checked{%endif%}>
|
||||
<label class="form-check-label" for="PgpCheck">PGP</label>
|
||||
|
|
Loading…
Reference in a new issue