Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
BioHPC
clair-singularity
Commits
74487d75
Commit
74487d75
authored
Aug 24, 2017
by
David Trudgian
Browse files
Display severity in text report
parent
7a5b138d
Changes
1
Hide whitespace changes
Inline
Side-by-side
clair_singularity/clair.py
View file @
74487d75
...
...
@@ -69,7 +69,7 @@ def format_report_text(report):
print
(
"-"
*
len
(
feature
[
'Name'
]
+
' - '
+
feature
[
'Version'
]))
for
vuln
in
feature
[
'Vulnerabilities'
]:
print
(
vuln
[
'Name'
])
print
(
vuln
[
'Name'
]
+
' ('
+
vuln
[
'Severity'
]
+
')'
)
print
(
vuln
[
'Link'
])
print
(
vuln
[
'Description'
])
print
(
"
\n
"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment