Skip to content

Commit

Permalink
remove output_map
Browse files Browse the repository at this point in the history
  • Loading branch information
ocervell committed Nov 11, 2024
1 parent 073e7a6 commit 9f0e520
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions secator/tasks/trivy.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,6 @@ class trivy(VulnCode):
opt_key_map = {
THREADS: OPT_NOT_SUPPORTED
}
output_map = {
Vulnerability: {
'name': 'VulnerabilityID',
'description': 'Description',
'severity': lambda x: x['Severity'].lower(),
'references': 'References'
},
Tag: {
'name': 'RuleID',
'match': 'Match',
'extra_data': lambda x: {k: v for k, v in x.items() if k not in ['RuleID', 'Match']}
}
}
output_types = [Tag, Vulnerability]
install_cmd = "sudo apt install trivy"
install_github_handle = 'aquasecurity/trivy'
Expand Down

0 comments on commit 9f0e520

Please sign in to comment.