You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
➹ Add a crontab configuration option to scheduledScans #150
Is your feature request related to a problem? Please describe.
As a security tester i would like to configure the start time pattern for scheduledScans more precisely. For now it is possible to configure the time interval (hours) between to scans but the starting point relates to the installation time of the scheduledScan.
Describe the solution you'd like
To be able to configure a more complex schedule for my security scan it would be great to support a crontab syntax as an alternative option.
Activity
Weltraumschaf commentedon Feb 22, 2023
I suggest the format from Ansible Cron module:
All fields:
#150 added schedule and cronjob logic to scheduledscan controller
#150 WIP Added tests for scheduled scans with cron config
#150 Added auto-gen files and config
#150 Added a fake Clock that allows for testing crontab ScheduledScans
#150 Commented out the test for cronjob scheduled scan until a solut…
44 remaining items
#150 added schedule and cronjob logic to scheduledscan controller
#150 WIP Added tests for scheduled scans with cron config
#150 Added auto-gen files and config
#150 Added a fake Clock that allows for testing crontab ScheduledScans
#150 Commented out the test for cronjob scheduled scan until a solut…
#150 replaced fakeClock with active waiting
#150 Replaced tests of active waiting with polling for scheduledScan…
#150 Increased the timeout for the scheduledScan Cronjob test
#150 Added a go tag to seperate between slow tests and fast tests
#150 Removed fakeClock definition since it's no longer used
#150 removed unused library in operator test suite `time`
#150 Added k8s events to the parsing and handling schedule/interval …
#150 Added missing rbac permissions create and patch k8s events