simonkowallik/irulescan

Feature request: Ignore a line

JuergenMang opened this issue · 2 comments

First I will thank you for this great project! I use it regularly to validate my iRules.

I have one feature request:
It would be useful if there were a syntax to exclude the next or current line from validation.

#irulscan-ignore-next-line
eval ...

Hi @JuergenMang, happy to hear you use irulescan successfully! irulescan doesn't scan iRules line-by-line, hence it's not a simple task to implement this feature.

What I'd suggest is to capture any findings as "acceptable" results. This is what https://github.com/marketplace/actions/irules-security-scan does for example.

Thanks for your fast reply. I will look into that.