Skip to content

Commit

Permalink
Added new report template field
Browse files Browse the repository at this point in the history
  • Loading branch information
drakylar committed Feb 4, 2022
1 parent 03853a8 commit bfbfb2d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions documentation/report/report_fields.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
2.11 type # custom/web/credentials/service
2.12 fix
2.13 param
2.14 fields {field_name,...}
2.14.1 value
2.14.2 type # text/number/float/boolean

3. hosts {host_ip}
3.0 ip
Expand Down
3 changes: 2 additions & 1 deletion system/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -2383,7 +2383,8 @@ def select_report_info_sorted(self, project_id):
'status': issue['status'],
'fix': issue['fix'],
'type': issue['type'],
'param': issue['param']
'param': issue['param'],
'fields': json.loads(issue['fields'])
}

# criticality
Expand Down

0 comments on commit bfbfb2d

Please sign in to comment.