Time Schedule

Hi,

I would like to have an ICON workflow that only works during worktime.

For example, during the workday 9-5 and IDR alert that comes in would post to slack. Out of those hours there is no post in slack.

Is this possible?

Hello Phil,

Look for the “Datetime” Plugin in the Rapid7 ICON Store. It should give you what you need. I have suggested to Rapid7 Team that they include these extensions out of the box – they seem too useful not to have by default.

Cheers,

Braden Rucinski
Information Security Analyst
Shelter Insurance

2 Likes

I’ll add this (incase anyone else has this)

I added a pattern match on the datetime
used this
^([0-9]+)-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])[Tt](07|08|09|10|11|12|13|14|15|16|17):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(([Zz])|([\+|\-]([01][0-9]|2[0-3]):[0-5][0-9]))$

with this part (07|08|09|10|11|12|13|14|15|16|17) being the working hours
Seems to be working.

2 Likes