from .base import Base
[docs]class Compliance(Base):
endpoint = '/compliance'
[docs] def create_report(self, params):
return self.client.post(
self.endpoint + '/reports',
params=params
)
[docs] def get_reports(self, params=None):
return self.client.get(
self.endpoint + '/reports',
params=params
)
[docs] def get_report(self, report_id):
return self.client.get(
self.endpoint + '/reports/' + report_id
)
[docs] def download_report(self, report_id):
return self.client.get(
self.endpoint + '/reports/' + report_id + '/download'
)