Skip to content

Commit

Permalink
Improve the detection of entities to be tagged as malicious
Browse files Browse the repository at this point in the history
  • Loading branch information
U039b committed Sep 21, 2024
1 parent 0c826f3 commit e0b4084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colander/templates/icons/pills.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
{% else %}
<i class="fa fa-circle text-muted {{ c }}" data-bs-toggle="tooltip" data-bs-placement="top" title="No PAP"></i>
{% endif %}
{% if elt.associated_threat %}
{% if elt.associated_threat or elt.super_type.lower == 'threat' or elt.super_type.short_name == 'THREAT' %}
<i class="fa fa-circle text-danger" data-bs-toggle="tooltip" data-bs-placement="top" title="Malicious"></i>
{% elif elt.attributes.is_malicious == "1" or elt.attributes.is_malicious.lower == "true" or elt.attributes.malicious.lower == "true" %}
<i class="fa fa-circle text-danger" data-bs-toggle="tooltip" data-bs-placement="top" title="Malicious"></i>
Expand Down

0 comments on commit e0b4084

Please sign in to comment.