2023-08-28 17:25:55 +02:00
|
|
|
<center>
|
|
|
|
<h1 class="display-4">MISP hits</h1>
|
|
|
|
<h6>Searching on URL, domain, IPs, and CNAMEs for all the nodes up to the rendered page.</h6>
|
|
|
|
<h6>Skips the entries in warnings lists enabled on your MISP instance.</h6>
|
|
|
|
{% if misps_occurrences|length > 1 %}
|
|
|
|
</br>
|
|
|
|
<hr/>
|
|
|
|
<label for="mispSelector">Select the MISP instance to search in</label>
|
|
|
|
</br>
|
|
|
|
<div class="btn-group" role="group" aria-label="MISP Selector" id="mispSelector">
|
|
|
|
{%for name in misps_occurrences %}
|
2023-08-29 18:34:07 +02:00
|
|
|
<button type="button" value="lookup_{{name.replace(' ', '_')}}" class="btn btn-outline-primary {%if name == current_misp%}active{%endif%}" href="#">{{name}}</a></li>
|
2023-08-28 17:25:55 +02:00
|
|
|
{%endfor%}
|
|
|
|
</div>
|
|
|
|
{%endif%}
|
|
|
|
</center>
|
2021-06-02 00:35:35 +02:00
|
|
|
|
2023-08-28 17:25:55 +02:00
|
|
|
<div id="allInstances">
|
|
|
|
{% for name, occurrences in misps_occurrences.items() %}
|
2023-08-29 18:34:07 +02:00
|
|
|
<div id="lookup_{{name.replace(' ', '_')}}" {%if name != current_misp%}style="display:none"{%endif%}>
|
2023-08-28 17:25:55 +02:00
|
|
|
{% set hits, root_url = occurrences %}
|
2021-06-02 00:35:35 +02:00
|
|
|
{% if hits %}
|
2021-06-02 22:27:50 +02:00
|
|
|
<ul>
|
|
|
|
{% for event_id, values in hits.items() %}
|
2024-03-12 19:48:14 +01:00
|
|
|
<li><a href="{{root_url}}/events/{{event_id}}">Event {{event_id}}</a>:
|
2021-06-02 22:27:50 +02:00
|
|
|
<ul>
|
|
|
|
{% for v in values|sort %}
|
|
|
|
<li>{{ v }}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
2021-06-02 00:35:35 +02:00
|
|
|
{% endfor %}
|
2021-06-02 22:27:50 +02:00
|
|
|
</ul>
|
2021-06-02 00:35:35 +02:00
|
|
|
{% else %}
|
|
|
|
No hits
|
|
|
|
{% endif %}
|
2023-08-28 17:25:55 +02:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|