Automation: Add active scan policy job
Overview
Adds a new activeScan-policy job.
Related Issues
Checklist
- [x] Update help
- [x] Update changelog
- [x] Run
./gradlew spotlessApplyfor code formatting - [x] Write tests
- [x] Check code coverage
- [x] Sign-off commits
- [x] Squash commits
- [x] Use a descriptive title
For more details, please refer to the developer rules and guidelines.
Ah, looks like retest has a dependency on one of the ascan methods ..
It might look like a lot of code but its mostly existing code that has been moved around.
The activeScan job already supported defining an "inline" policy.
This PR moves the code into common classes so that it can be used in multiple jobs.
And re your question about invalid / unavailable rules:
Hopefully fixed everything apart from the extra line as per other comment.
Thank you!
Updated to use lombok - best double check I've done that right 😁