File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -659,6 +659,7 @@ def long_desc(self):
659
659
for e in self .endpoints .all ():
660
660
long_desc += str (e ) + '\n \n '
661
661
long_desc += '*Description*: \n ' + self .description + '\n \n '
662
+ long_desc += '*Mitigation*: \n ' + self .mitigation + '\n \n '
662
663
long_desc += '*Impact*: \n ' + self .impact + '\n \n '
663
664
long_desc += '*References*:' + self .references
664
665
return long_desc
Original file line number Diff line number Diff line change 1
1
{% extends "base.html" %}
2
2
{% load display_tags %}
3
+ {% load get_config_setting %}
3
4
{% block content %}
4
5
<!-- start status bread crums -->
5
6
< ul id ="progress-crumbs " class ="breadcrumb ">
@@ -406,6 +407,9 @@ <h4> Findings</h4>
406
407
< th > Mitigation Date</ th >
407
408
< th > Verified</ th >
408
409
< th > Active</ th >
410
+ < {% if "ENABLE_JIRA"|get_config_setting %}
411
+ < th > Jira</ th >
412
+ {% endif %}
409
413
< th > Actions</ th >
410
414
</ tr >
411
415
</ thead >
@@ -420,6 +424,11 @@ <h4> Findings</h4>
420
424
< td > {{ finding.mitigated }}</ td >
421
425
< td > {{ finding.verified }}</ td >
422
426
< td > {{ finding.active }}</ td >
427
+ {% if "ENABLE_JIRA"|get_config_setting %}
428
+ < td >
429
+ < a href ="{{finding.jira_conf.url}}/browse/{{finding.jira.jira_key}} " target ="_blank "> {{finding.jira.jira_key}} </ a >
430
+ </ td >
431
+ {% endif %}
423
432
< td >
424
433
< div class ="btn-group ">
425
434
< a class ="btn btn-sm btn-primary "
You can’t perform that action at this time.
0 commit comments