mirror of
https://github.com/aquasecurity/kube-hunter.git
synced 2026-08-21 21:26:23 +00:00
* Make config initialized explicitly * Add mypy linting * Make tests run individually Resolve #341
10 lines
222 B
Python
10 lines
222 B
Python
import json
|
|
|
|
from kube_hunter.modules.report.base import BaseReporter
|
|
|
|
|
|
class JSONReporter(BaseReporter):
|
|
def get_report(self, **kwargs):
|
|
report = super().get_report(**kwargs)
|
|
return json.dumps(report)
|