From cc91d938db60ce753e6c428e5ec226f494dcf966 Mon Sep 17 00:00:00 2001 From: James Mountifield Date: Mon, 24 Jun 2024 11:06:47 +0100 Subject: [PATCH] [KNO-409] - Remove ORDER BY --- jupiterone/questions/questions.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/jupiterone/questions/questions.yaml b/jupiterone/questions/questions.yaml index 05b26ce..da5b184 100644 --- a/jupiterone/questions/questions.yaml +++ b/jupiterone/questions/questions.yaml @@ -9,11 +9,8 @@ questions: alias queries: - query: | - find - hackerone_report with totalAmountAwarded!=0 as report - return - report.hackerAlias, sum(report.totalAmountAwarded) as totalAward - order by totalAward desc + FIND hackerone_report WITH totalAmountAwarded != 0 AS report + RETURN report.hackerAlias, sum(report.totalAmountAwarded) as totalAward tags: - hackerone - bug bounty @@ -28,8 +25,7 @@ questions: queries: - query: | FIND hackerone_report WITH (open = true AND state ~= "triaged" AND complexity ~= "high" AND confidentiality ~= "high") AS report - RETURN - report.displayName, report.hackerAlias, report.triagedOn,report.hackerProfilePic, report.details + RETURN report.displayName, report.hackerAlias, report.triagedOn,report.hackerProfilePic, report.details tags: - hackerone - reporting