MCPcopy Create free account
hub / github.com/adobe/Marinus / check_ip_context

Function check_ip_context

python3_cron_scripts/zgrab_port_ip.py:199–209  ·  view source on GitHub ↗

Check for matching ip_context records

(ip, ip_context)

Source from the content-addressed store, hash-verified

197
198
199def check_ip_context(ip, ip_context):
200 """
201 Check for matching ip_context records
202 """
203 matches = []
204
205 for entry in ip_context:
206 if entry["ip"] == ip:
207 matches.append(entry)
208
209 return matches
210
211
212def zone_compare(value, zones):

Callers 1

insert_resultFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected