Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v2] Download compliance scan results fails #1342

Closed
gnmahanth opened this issue Jul 17, 2023 · 0 comments
Closed

[v2] Download compliance scan results fails #1342

gnmahanth opened this issue Jul 17, 2023 · 0 comments
Assignees
Labels
area/ui-ux All the frontend/UI and UX issues bug Something isn't working needs-triage Indicates that issue is not yet triaged and assigned v2 ThreatMapper revamp based on neo4j integration

Comments

@gnmahanth
Copy link
Contributor

Describe the bug
Run a Cloud compliance scan, download the scan results from scan page fails

Expected behavior
Xlsx format report download should be successful

Screenshots
image

Logs
scan_type is wrong

Mon, 17 Jul 2023 15:52:48 +0000 INF reports/reports.go:70 message tenant id default
Mon, 17 Jul 2023 15:52:48 +0000 INF reports/reports.go:72 uuid: 3a89edbc-8262-449e-b645-e9440da2df8e payload: {"report_id":"17142dbc-11d6-406e-9c83-1db9857c1c93","report_type":"xlsx","duration":0,"filters":{"scan_id":"cloud-node-gcp-astute-house-189713-1689587434","scan_type":"vulnerability","node_type":"cloud_account","severity_or_check_type":null,"include_dead_nodes":false,"advanced_report_filters":{}}} 
Mon, 17 Jul 2023 15:52:48 +0000 ERR reports/xlsx.go:130 failed to get vulnerabilities info error="Neo4jError: Neo.ClientError.Statement.SyntaxError (Invalid input '(': expected \"+\" or \"-\" (line 2, column 53 (offset: 55))\n\"\t\tMATCH (:VulnerabilityScan) -[:SCANNED]-> (m) WHERE  ()\"\n                                                       ^)"
Mon, 17 Jul 2023 15:52:48 +0000 ERR reports/reports.go:98 failed to generate report with params {ReportID:17142dbc-11d6-406e-9c83-1db9857c1c93 ReportType:xlsx Duration:0 Filters:{"scan_id":"cloud-node-gcp-astute-house-189713-1689587434","scan_type":"vulnerability","node_type":"cloud_account","severity_or_check_type":null,"include_dead_nodes":false,"advanced_report_filters":{}}} error="Neo4jError: Neo.ClientError.Statement.SyntaxError (Invalid input '(': expected \"+\" or \"-\" (line 2, column 53 (offset: 55))\n\"\t\tMATCH (:VulnerabilityScan) -[:SCANNED]-> (m) WHERE  ()\"\n  
@gnmahanth gnmahanth added bug Something isn't working needs-triage Indicates that issue is not yet triaged and assigned area/ui-ux All the frontend/UI and UX issues v2 ThreatMapper revamp based on neo4j integration labels Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui-ux All the frontend/UI and UX issues bug Something isn't working needs-triage Indicates that issue is not yet triaged and assigned v2 ThreatMapper revamp based on neo4j integration
Projects
None yet
Development

No branches or pull requests

4 participants