Skip to content
Snippets Groups Projects
Commit 5174abd8 authored by Gioacchino Vino's avatar Gioacchino Vino
Browse files

Reviewed code

parent 5e0d4108
No related branches found
No related tags found
1 merge request!139Reviewed code
Pipeline #167989 passed
......@@ -89,6 +89,7 @@ class PortList:
# Search port_lists by id/name
def __get_info(self, filter: str = "rows=-1") -> List[Dict[str, str]]:
res = []
logging.info(f"gvm_client \n {self.client}")
pls = self.client.get_port_lists(filter_string = filter) \
.xpath('port_list')
......
......@@ -95,6 +95,8 @@ for host,ports in endpoints.items():
report_filename = f"{output_dir}/{host}-report"
summary_filename = f"{output_dir}/summary-report.json"
logging.info(f"gvm_client \n {gvm_client}")
# Create PortList obj related to endpoint
port_list = PortList(client = gvm_client,
name = port_list_name,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment