crits / crits_services

CRITs Services Collection
182 stars 130 forks source link

Relationship service error with signature #347

Open lprat opened 6 years ago

lprat commented 6 years ago

Hi, The service relationship bug when you have signature in relationship because signature object not in code. Add signature in: crits_services/relationships_service/templates/relationships_service_all_tab.html

Add line[208]:      \<option value="Signature" selected="selected"\>Signatures\</option\>
Add line[238]:            \<li style="color: #FF9033;"\>\<span style="color: #000;"\>Signatures\</span\>\</li\>

crits_services/relationships_service/handlers.py

[Add line 38]
        'RawData': 'title',
        'Sample': 'md5',
+        'Signature': 'title',
...
[Add line 149]
        'Raw Data': {
            'shape': 'dot',
            'size': 10,
            'color': '#4A7797',
            'color_border': '#306080',
            'color_highlight': '#6090B8',
            'color_highlight_border': '#4A7797'
        },
        'Sample': {
            'shape': 'dot',
            'size': 25,
            'color': '#8CCBF8',
            'color_border': '#70AADC',
            'color_highlight': '#A0D0FF',
            'color_highlight_border': '#8CCBF8'
        },
+        'Signature': {
+            'shape': 'dot',
+            'size': 15,
+            'color': '#FF9033',
+            'color_border': '#EF9033',
+            'color_highlight': 'FFA960',
+            'color_highlight_border': '#FF9033'
+        },

Thanks.

Sincerly, Lionel

mgoffin commented 6 years ago

If you have fixes to bugs, please submit them as PRs, not as blocks of text in an issue. Thanks!