Total Complexity | 1 |
Total Lines | 14 |
Duplicated Lines | 0 % |
1 | #!/usr/bin/env python |
||
24 | class ListScanExecutions(Action): |
||
25 | def run(self, scan_title, customer_id=None): |
||
26 | """ |
||
27 | The template class for |
||
28 | |||
29 | Returns: An blank Dict. |
||
30 | |||
31 | Raises: |
||
32 | ValueError: On lack of key in config. |
||
33 | """ |
||
34 | |||
35 | scans = GetScanList(self.config, customer_id) |
||
36 | |||
37 | return GetScanExecutions(self.config, scans[scan_title]['id']) |
||
38 |