Completed
Push — master ( a3e8d9...aa8f16 )
by Lakshmi
02:09
created

ListScansAction.run()   A

Complexity

Conditions 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %
Metric Value
cc 1
dl 0
loc 5
rs 9.4285
1
from lib.base import QualysBaseAction
2
3
__all__ = [
4
    'ListScansAction'
5
]
6
7
8
class ListScansAction(QualysBaseAction):
9
    def run(self, launched_after="", state="", target="",
10
            scan_type="", user_login=""):
11
        scans = self.connection.listScans(launched_after, state,
12
                                          target, scan_type, user_login)
13
        return self.resultsets.formatter(scans)
14