Notify Non-Patch Users

This topic describes how to use notification bots to send notifications to users who do not have access to Tenable Patch Management.

Notifications are typically part of an Advanced Strategy that has some other purpose, such as patching all clients in a Business Unit, and the notification is a report on whether that purpose was accomplished. But what if the notification is the purpose? For example, you may need to share a list of all patches completed in a given week with team members who do not have access to Tenable Patch Management. The solution is to create an Advanced Strategy that has the sole purpose of sending a notification.

Sending Notifications to Non-Patch Users

When you need to send a list of patches to users who do not have access to Tenable Patch Management, you can create a notification that runs on a cadence that works for you. The following steps show you how to create an Advanced Strategy that only sends notifications. This strategy also includes safeguards so that you or a coworker cannot accidentally trigger patching. Because this requires an Advanced Strategy, you must first create several objects to plug into the strategy.

Creating the Workflow Object

  1. Select Workflows > Designer from the side navigation.

  2. Under Patching Workflows > Patching Processes, right-click Patching Process - Immediate Deployment No Approval and select Save As.

    This creates a copy of the workflow.

  3. Name the copy “Patching Process - Do Nothing” and select Save As.

    The Workflow Designer opens.

  4. (Optional) Select the Format button on the side toolbar to see the entire workflow on one screen.

  5. Edit the workflow to delete everything except the Complete Success activity.

  6. Select More >Save and Deploy.

  7. Make no changes to the logging screen, and then select OK.

Creating the Patching Process Object

  1. Select Advanced Settings > Intent Schema > Strategy > Patching Processes from the side navigation.

  2. Next to Patching Processes, select the ellipsis (...), and then select Create Folder. Name the folder “Custom”.

  3. Select the new Custom folder, and then select + New.

  4. Next to Name, enter “Patching Process - Do Nothing.”

  5. Next to Patching Process Workflow, select Browse, and then select the Patching Process - Do Nothing workflow that you created in the previous section.

  6. Select OK, and then select Save.

Creating the Role Object

  1. Select the gear icon, and then select Settings > Security > Roles from the dropdown menus.

  2. Select the root folder for Patch Roles, and then select + New.

  3. Next to Role Name, enter “Notify Submission of Patches.”

  4. Next to Direct Administrators, select + Browse, and then add yourself, or the users who you want to receive notifications, to the role.

  5. Select OK, and then select Save.

Creating the Notification Chain Object

  1. Select Advanced Settings > Intent Schema > Chains > Notification Chains from the side navigation.

  2. Select + New.

  3. Next to Name, enter “Notify Submission of Patches Chain”.

  4. Next to Roles To Notify, select + Browse.

  5. Select Patch Roles, and then select the “Notify Submission of Patches” role that you created.

  6. Select OK, and then select Save.

Creating the Notification Bot

  1. Select Advanced Settings > Intent Schema > Bots > Patch Notification Bots from the side navigation.

  2. Select the root folder, and then select + New.

  3. Next to Name, enter “Notify Submission of New Patches”.

  4. (Optional) Set filter conditions, for example to view only critical patches. For critical patches only, use the operator OR and add an Operating Condition.

  5. Next to Bot Settings, ensure that the Notification Settings radio button is selected.

  6. Next to Urgency, leave the default value of Low. Make a note of this value for the strategy. If you change the urgency setting here, the urgency setting in the strategy must match.

  7. Next to Output Expression, the default is to list the patch names. You can add text after the patch names to provide additional context, for example “ patch submitted all Business Units”. Enter the double quotes first, and then add the text between the quotes. If the text is formatted correctly, it appears at the bottom of the text box. Otherwise, an error appears.

  8. Next to Communication Providers, select + Browse, and then select HTMLEmailCommunicationProvider.

  9. Select OK, and then select Save.

If this is your first time setting up an email communication provider to work with OneSite Patch, you must first configure the SMTP settings.

After you create these objects, you can create the strategy.

Creating a Strategy to Combine the Objects

  1. Select Strategies from the side navigation.

  2. Select the dropdown arrow next to New Strategy, and then select Advanced Strategy.

  3. Next to Name, enter “Notification Only – All Endpoints All Products”.

  4. In the Products section, turn on the Include All Products toggle.

  5. In the Deployment Settings section, next to Deployment Wave, select Browse.

  6. Select Single Wave – All Clients, and then select OK.

  7. Next to Deployment Bot Runtimes, select + Create Deployment Bot Runtime.

  8. Next to Patch Deployment Bot, select Browse.

  9. Select Mandatory Install (All), and then select OK.

  10. Next to Patching Process, select Browse.

  11. Select the Patching Process – Do Nothing process that you created earlier, and then select OK.

  12. Next to Include All Business Units, turn on the toggle, and then select Create Deployment Bot Runtime.

  13. Patching Processes rely on a schedule, so you must assign a schedule to this process even though the process does not use it. Select the ellipsis (...) next to Patching Process - Do Nothing, and then select Edit Process Setting.

  14. Next to Execution Schedules, select + Browse, and then select + Create new Schedule.

  15. Next to Name, enter “Manual Activation”.

  16. Next to Schedule Repeat, select Not Recurring. For Start Time, select a date far in the future, for example 2050.

  17. Select Save & Deploy, and then select OK. The Do Nothing process workflow protects your clients in case someone triggers this strategy.

  18. In the Notifications section, next to Notification Chain, select Browse.

  19. Select the Notify Submission of Patches Chain that you created earlier, and then select OK.

  20. Next to Patch Notification Bots, select + Browse, and then select the Notify Submission of New Patches bot that you created earlier. Select OK.

  21. Next to Notification Settings, select + Create Notification Setting.

  22. Next to Notification Urgency, select the same urgency that you chose for the bot. If you followed these instructions, select Low.

  23. Next to Execution Schedules, select + Browse, select a weekly cadence, and then select OK.

  24. Next to Notify Patching Strategy Chains, turn on the toggle.

  25. Next to Notification Cycle Workflow, select Browse, and then select Default Notification Cycle Workflow.

  26. Select OK, and then select Create Notification Setting.

  27. Select Save & Enable. A list of applicable patches appears. If you receive an error message, you may have enabled this strategy while you were building it. In this case, select Save instead of Save & Enable, and then select OK.

Receiving the Notification Email

After you complete the setup, you receive your first notification email within the hour. If you made modifications while you created the strategy, the email arrives at the cadence that you specified.

Viewing the Strategy in Flex Controls

The new notification strategy appears in Advanced Settings > Flex Controls > Cycle Operations > Patching Cycles. The strategy does not trigger any rollout cycles. If you run the strategy, its status changes from Waiting to History.