Skip to content

Commit 39a4f10

Browse files
committed
Fix a doc test and resolve merge conflict
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
1 parent 7233c33 commit 39a4f10

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

vulnerabilities/pipelines/v2_importers/fireeye_importer_v2.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,7 @@ def get_severities(impact):
204204
>>> get_severities([
205205
... "High - Arbitrary Ring 0 code execution",
206206
... ])
207-
[VulnerabilitySeverity(system="generic", value="high")]
208-
>>> get_severities([
209-
... "Low - The `ValidationKey` and `DecryptionKey` values would need to be obtained via a separate vulnerability or other channel."
210-
... ])
211-
[VulnerabilitySeverity(system="generic", value="low")]
207+
[VulnerabilitySeverity(system=ScoringSystem(identifier='generic_textual', name='Generic textual severity rating', url='', notes='Severity for generic scoring systems. Contains generic textual values like High, Low etc'), value='High', scoring_elements='', published_at=None, url=None)]
212208
>>> get_severities([])
213209
[]
214210
"""

0 commit comments

Comments
 (0)