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

LaunchScanAction   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %
Metric Value
dl 0
loc 6
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 5 1
1
from lib.base import QualysBaseAction
2
3
__all__ = [
4
    'LaunchScanAction'
5
]
6
7
8
class LaunchScanAction(QualysBaseAction):
9
    def run(self, title, option_title, iscanner_name,
10
            asset_groups=None, ip=None):
11
        scan = self.connection.launchScan(title, option_title,
12
                                          iscanner_name, asset_groups, ip)
13
        return self.resultsets.formatter(scan)
14