How to use the qualysapi.api_objects.Report function in qualysapi

To help you get started, we’ve selected a few qualysapi examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github StackStorm / st2contrib / packs / qualys / actions / lib / parsers.py View on Github external
def selector(self, output):
        if isinstance(output, Host):
            return self.parse(output, FieldLists.HOST)
        elif isinstance(output, Scan):
            return self.parse(output, FieldLists.SCAN)
        elif isinstance(output, Report):
            return self.parse(output, FieldLists.REPORT)
        else:
            return output