简体   繁体   中英

How to add ZAP alert through ZAP python api?

I am using python ZAP api (ZAPv2) to write a automation script to scan our site and generate alert report, and now I also integrate python nmap to scan our sites

however, if nmap have some scan issues, i want to add this kind of issues into ZAP alert report

is there any way to do that ? does ZAP api expose services to add the alert ? just like:

z.core.add_alert(....)

Thanks

Surprisingly no, there is no API call for adding an alert. But there should be - I've just raised this enhancement request: https://github.com/zaproxy/zaproxy/issues/5303

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM