code: def run(self):
          
          try:
              if self.service == 'getreport':                
                  service_url = '{}/assets/api/v1/details/{}'.format(
                      self.url, self.get_data())
  
                  headers = {
                      'Authorization': 'token {}'.format(self.api_key)
                  }
                  
                  response = requests.get(service_url, headers=headers)
  
                  self.report(response.json())
              else:
                  self.error('Unknown Patrowl service')
  
          except Exception as e:
              self.unexpectedError(e)
docs: Run the analyzer.