ruleId in Alert Filter for AF has a wierd Datatype

22 views
Skip to first unread message

luca

unread,
Oct 13, 2025, 6:03:14 AMOct 13
to ZAP User Group
Hey, 

The ruleId for Alert Filter Automation Framework requires an Int as ID, but some Alerts from Alert Details (www.zaproxy.rg/docs/alerts/) have IDs with an "-" e.q: "3-1", "10050-1". Is it possible to change the Datatype from the ruleId to string? 

Would be nice to filter subrules as well as mainrules.

Best regards

thc202

unread,
Oct 13, 2025, 7:45:02 AMOct 13
to zaprox...@googlegroups.com
Hi,

The `ruleId` field supports both scan rule IDs (int) and alert
references (string).

Ensure you have an up-to-date version of the Alert Filters add-on if you
are seeing an error while specifying the alert reference.

Best regards.

luca

unread,
Oct 14, 2025, 7:58:23 AMOct 14
to ZAP User Group
Hey again,

sorry for asking but can you give me one example for ID 10055-6, because I'm not sure were to find the reference

thc202

unread,
Oct 14, 2025, 8:09:45 AMOct 14
to zaprox...@googlegroups.com
Hi,

The 10055-6 is the alert reference (the scan rule ID would be 10055).

Best regards.
Reply all
Reply to author
Forward
0 new messages