Add library to convert cron to human readable
What does this MR do and why?
Add library to convert cron to human readable
- update policies list to convert cron to human readable
cRonstrue
Why I chose cRonstrue
from prettycron
for several reasons:
- it provides all the dependencies it needs in the package, where
prettycron
separetely requires the user to installmomentjs
andlaterjs
- it is more active
Changelog: added
EE: true
Screenshots or screen recordings
Before | After |
---|---|
No change | |
* * * * * |
|
0 23 * * * |
|
23 12 * * SUN#2 |
|
a language that is supported | |
a language that is NOT supported |
How to set up and validate locally
- Follow the scan execution creation snippet to create some scan execution policies
- Navigate to
Security & Compliance
=>Policies
- Create a policies with various schedules
- Verify the policy detail drawer in the policy list
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #339785 (closed)
Edited by Alexander Turinske