From fbb7bc62f2dfc69eaea9085719139dbaaca797bf Mon Sep 17 00:00:00 2001 From: Paulo Garcia Date: Fri, 21 Jul 2023 13:28:31 -0300 Subject: [PATCH] Refactored results in report --- analyzers/Axur/axur_analyzer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyzers/Axur/axur_analyzer.py b/analyzers/Axur/axur_analyzer.py index 1f0786fe5..f1f4160f5 100644 --- a/analyzers/Axur/axur_analyzer.py +++ b/analyzers/Axur/axur_analyzer.py @@ -24,7 +24,7 @@ def run(self): try: response = requests.get(url, headers={'Authorization': f'Bearer {self.api_key}'}) response.raise_for_status() - self.report(response.json()["results"]) + self.report(response.json()) except requests.HTTPError as http_err: self.error('HTTP error occurred: {}'.format(http_err)) except Exception as err: