Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
pna-nca committed Aug 2, 2024
1 parent cef0bd5 commit 19b02a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dojo/tools/trivy_operator/checks_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ def handle_checks(self, endpoints, service, checks, test):
)
if check_id:
finding.unsaved_vulnerability_ids = [check_id]
finding.unsaved_endpoints.append(endpoints)
finding.unsaved_endpoints += endpoints
findings.append(finding)
return findings
2 changes: 1 addition & 1 deletion dojo/tools/trivy_operator/secrets_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ def handle_secrets(self, endpoints, service, secrets, test):
)
if secret_rule_id:
finding.unsaved_vulnerability_ids = [secret_rule_id]
finding.unsaved_endpoints.append(endpoints)
finding.unsaved_endpoints += endpoints
findings.append(finding)
return findings
2 changes: 1 addition & 1 deletion dojo/tools/trivy_operator/vulnerability_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ def handle_vulns(self, endpoints, service, vulnerabilities, test):
)
if vuln_id:
finding.unsaved_vulnerability_ids = [vuln_id]
finding.unsaved_endpoints.append(endpoints)
finding.unsaved_endpoints += endpoints
findings.append(finding)
return findings

0 comments on commit 19b02a7

Please sign in to comment.