Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
38
from
zap
import
ZAP
39
40
def
element_to_str(alert, element):
41
return
"'"
+ element +
"':'"
+ re.escape(alert.get(element)) +
"'"
42
43
def
alert_to_str(alert):
44
return
"{"
+ \
Callers
1
alert_to_str
Function · 0.85
Calls
1
get
Method · 0.65
Tested by
no test coverage detected