Agent: Add issue reference to _add_http_ports_to_fingerprinters()

This commit is contained in:
Mike Salvatore 2022-07-27 13:18:59 -04:00
parent 961d2df7d9
commit b05438b5f1
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class Propagator:
network_scan: NetworkScanConfiguration, http_ports: Sequence[int] network_scan: NetworkScanConfiguration, http_ports: Sequence[int]
) -> NetworkScanConfiguration: ) -> NetworkScanConfiguration:
# This is a hack to add http_ports to the options of fingerprinters # This is a hack to add http_ports to the options of fingerprinters
# It will be reworked # It will be reworked. See https://github.com/guardicore/monkey/issues/2136
modified_fingerprinters = [*network_scan.fingerprinters] modified_fingerprinters = [*network_scan.fingerprinters]
for i, fingerprinter in enumerate(modified_fingerprinters): for i, fingerprinter in enumerate(modified_fingerprinters):
if fingerprinter.name != "http": if fingerprinter.name != "http":