MCPcopy
hub / github.com/zaproxy/zaproxy / element_to_str

Function element_to_str

python/scripts/generic-pytest/test_zap.py:40–41  ·  view source on GitHub ↗
(alert, element)

Source from the content-addressed store, hash-verified

38from zap import ZAP
39
40def element_to_str(alert, element):
41 return "'" + element + "':'" + re.escape(alert.get(element)) + "'"
42
43def alert_to_str(alert):
44 return "{" + \

Callers 1

alert_to_strFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected