mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-30 01:37:17 +00:00
chg: [correlation graph] update node legend
This commit is contained in:
parent
5d4b718174
commit
b3cafd2a1d
2 changed files with 23 additions and 4 deletions
|
@ -51,9 +51,8 @@ class Title(AbstractDaterangeObject):
|
||||||
url = f'{baseurl}/correlation/show?type={self.type}&id={self.id}'
|
url = f'{baseurl}/correlation/show?type={self.type}&id={self.id}'
|
||||||
return url
|
return url
|
||||||
|
|
||||||
# TODO # CHANGE COLOR
|
|
||||||
def get_svg_icon(self):
|
def get_svg_icon(self):
|
||||||
return {'style': 'fas', 'icon': '\uf1dc', 'color': '#1E88E5', 'radius': 5}
|
return {'style': 'fas', 'icon': '\uf1dc', 'color': '#3C7CFF', 'radius': 5}
|
||||||
|
|
||||||
def get_misp_object(self):
|
def get_misp_object(self):
|
||||||
obj_attrs = []
|
obj_attrs = []
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
Decoded:
|
Decoded:
|
||||||
</th>
|
</th>
|
||||||
<th class="">
|
<th class="">
|
||||||
Screenshot:
|
Objects:
|
||||||
</th>
|
</th>
|
||||||
<th class="">
|
<th class="">
|
||||||
Pgp:
|
Pgp:
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
Domain:
|
Domain:
|
||||||
</th>
|
</th>
|
||||||
<th class="">
|
<th class="">
|
||||||
Paste:
|
Item:
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -111,6 +111,16 @@
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
<div class="my-1">
|
||||||
|
<svg height="26" width="26">
|
||||||
|
<g class="nodes">
|
||||||
|
<circle cx="13" cy="13" r="13" fill="#1E88E5"></circle>
|
||||||
|
<text x="13" y="13" text-anchor="middle" dominant-baseline="central"
|
||||||
|
class="graph_node_icon fas" font-size="16px"></text>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
cve
|
||||||
|
</div>
|
||||||
<div class="my-1">
|
<div class="my-1">
|
||||||
<svg height="26" width="26">
|
<svg height="26" width="26">
|
||||||
<g class="nodes">
|
<g class="nodes">
|
||||||
|
@ -121,6 +131,16 @@
|
||||||
</svg>
|
</svg>
|
||||||
screenshot
|
screenshot
|
||||||
</div>
|
</div>
|
||||||
|
<div class="my-1">
|
||||||
|
<svg height="26" width="26">
|
||||||
|
<g class="nodes">
|
||||||
|
<circle cx="13" cy="13" r="13" fill="#3C7CFF"></circle>
|
||||||
|
<text x="13" y="13" text-anchor="middle" dominant-baseline="central"
|
||||||
|
class="graph_node_icon fas" font-size="16px"></text>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
title
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="my-1">
|
<div class="my-1">
|
||||||
|
|
Loading…
Reference in a new issue