Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

error in raise_alert OWASP ZAP

43 views
Skip to first unread message

Omar Masmoudi

unread,
Feb 28, 2025, 6:15:11 AMFeb 28
to ZAP User Group
when i use raise_alert in my code i got this error  
zap.core.raise_alert(
alert_ref="",
alert="",
risk=risk_level,
confidence=3,
descr=description,
msg="",
url=full_url,
param="",
attack="",
otherinfo=other_info,
solution="",
evidence=""
)
this is the error in mu pipeline : 
Unable to add alert to ZAP: 'core' object has no attribute 'raise_alert'

Simon Bennetts

unread,
Mar 3, 2025, 7:57:06 AMMar 3
to ZAP User Group
What language are you using and where are you running this code?
We need some context :)

Cheers,

Simon

Omar Masmoudi

unread,
Mar 4, 2025, 3:38:51 PMMar 4
to ZAP User Group
Python

Simon Bennetts

unread,
Mar 5, 2025, 12:43:06 PMMar 5
to ZAP User Group
OK, 1/2 way there :)

Where are you running this code?

The more you can tell us the better, otherwise this conversation is going to take a looong time ;)

Reply all
Reply to author
Forward
0 new messages