mirror of
https://github.com/aquasecurity/kube-hunter.git
synced 2026-08-23 06:06:18 +00:00
9 lines
221 B
Python
9 lines
221 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)
|