Skip to Content
Workflows

Automate Security Operations with Workflows

Use Mondoo workflows to send alerts, file tickets, and deliver fixes through the security and endpoint management tools your team already uses.

A workflow is an automation that connects Mondoo to the tools your team already uses: chat and email, ticketing systems, endpoint management and EDR platforms, and source code repositories. Workflows tell the right people when something needs attention, put the work to fix it where they track it, and carry fixes to the affected devices and repositories.

You don't build workflows from scratch. You create them from templates that Mondoo provides and tests, fill in the few values each template needs, and turn them on. Some workflows Mondoo creates for you, when you use a feature that runs on them.

Workflow templates in the Mondoo App

How workflows run

Each workflow starts in one of these ways:

  • When something happens. The workflow listens for an event in its space, such as an integration that stops working or a finding that starts failing again. Event workflows collect the events over a short window and handle them together, so a burst of events produces one alert or ticket, not dozens.
  • On a schedule. The workflow runs at set times, such as the scheduled fleet scans of an endpoint management integration.
  • On demand. You start the workflow yourself from an asset, a finding, or a selection of findings in the Mondoo App. Only a workflow built to receive an asset or findings can run this way. To learn more, read Run a workflow on an asset or findings.
  • When Mondoo needs it. Features such as fixing findings through an endpoint management integration create and run their own workflows. You can follow these runs like any other, but you can't change the workflow.

Every run is recorded, so you can see what each workflow did, step by step.

What you can do with workflows

Get notified when an integration stops working

Mondoo can only find issues on assets it can reach. If a cloud account's credentials expire or an agent stops checking in, the assets behind that integration quietly stop being scanned. An Integration Failure Alert workflow tells you as soon as that happens, so you can fix the integration before the gap matters.

Every 5 minutes, the workflow collects every integration that moved to an error state or stopped checking in, and sends one alert that names each integration and its error, with a link to it in the Mondoo App. An integration with a warning still scans, so warnings don't trigger an alert. An integration that keeps flipping between healthy and failing (Kubernetes integrations are known to) triggers an alert in every 5-minute window in which it fails.

TemplateSends the alert toWhat you provide
Integration Failure Alert (Email)An email addressThe address that receives the alert
Integration Failure Alert (Slack)A Slack channelA Slack incoming webhook URL. To learn how to create one, read Slack.
Integration Failure Alert (Microsoft Teams)A Microsoft Teams channelA Teams webhook URL. To learn how to create one, read Microsoft Teams.
Integration Failure Alert (Webhook)Any HTTPS endpoint, such as an incident management tool or your own service, as a JSON POST requestThe URL that receives the request

Mondoo treats the webhook URLs as secrets: only people who can edit the workflow can see them.

File one ticket for security drift instead of dozens

When a configuration change or a new package version causes many findings to fail at once, creating one ticket per finding floods your team's queue. A Drift Ticket Aggregator workflow collects critical and high findings that regress in the space (a check that passed starts failing, or a vulnerability or package issue comes back) over a 30-minute window. Then it files a single ticket that covers all of them in your ticketing system.

Each template files the ticket through a ticketing integration that you've already set up, and uses that integration's settings, such as the Jira project that issues go to. You can pick a ticketing integration of the space or of its organization.

TemplateCreatesSet up the integration first
Drift Ticket Aggregator (Jira)A Jira issueJira
Drift Ticket Aggregator (ServiceNow)A ServiceNow incidentServiceNow
Drift Ticket Aggregator (Azure DevOps)An Azure DevOps work itemAzure DevOps
Drift Ticket Aggregator (GitHub)A GitHub issueGitHub
Drift Ticket Aggregator (GitLab)A GitLab issueGitLab
Drift Ticket Aggregator (Zendesk)A Zendesk ticketZendesk
Drift Ticket Aggregator (Email)A ticket sent by emailEmail
Drift Ticket Aggregator (Webhook)A ticket sent to a webhookWebhook

The ticket also appears in the Mondoo App, linked to every finding it covers, just like a ticket you create yourself.

Deliver fixes through your endpoint management and EDR platforms

When you fix a finding on a device that Mondoo reaches through an endpoint management or EDR integration, Mondoo carries the fix to the device through that platform with a delivery workflow. Each delivery workflow sends the change, waits until the device has run it, scans the device again, and checks the asset's next scan to confirm the fix before it cleans up after itself. Mondoo creates one delivery workflow per platform in each space the first time you need it, so you don't create these yourself.

WorkflowDelivers the fix toIntegration
Intune DeliveryWindows devices, as an Intune remediation script, on one device or a device groupMicrosoft Intune
Intune Windows Update DeliveryA Windows device, as an expedited Windows quality update through Windows AutopatchMicrosoft Intune
CrowdStrike Falcon DeliveryWindows, macOS, and Linux hosts, as a Falcon Real Time Response scriptCrowdStrike Falcon
SentinelOne DeliveryThe targeted SentinelOne agents, as a Remote Script Orchestration scriptSentinelOne
Action1 DeliveryWindows and Linux endpoints, as an Action1 script automationAction1
Iru DeliveryMacs managed by Iru (formerly Kandji), as a custom script that runs only on the targetsIru
opsi DeliveryLinux, Windows, and macOS clients, through the opsi depotopsi

When a fix needs a restart, the CrowdStrike Falcon Reboot, SentinelOne Reboot, Action1 Reboot, and Iru Reboot workflows restart the device and give its user notice first.

Open pull requests that fix findings

When you fix dependency findings on a GitHub repository, Mondoo carries the fix with the GitHub Pull Request Delivery workflow. It upgrades the dependencies, opens a pull request, and once the pull request is merged, scans the repository again to confirm the fix. Mondoo creates this workflow for you.

To patch hosts, set up a remediation repository for a space on your GitHub integration. Then select vulnerability, advisory, or end-of-life findings in that space and choose Create Remediation PR. Mondoo opens one pull request in the repository and follows it with a read-only workflow, named Remediation pull requests: OWNER/NAME, until scans confirm the fix. To learn more, read Fix Findings with Remediation Pull Requests.

Scan endpoint fleets

Mondoo scans the devices behind an endpoint management or EDR integration, such as Microsoft Intune, CrowdStrike Falcon, opsi, or Action1, with a fleet scan workflow, so every scan is recorded as a workflow run. When you select RUN on such an integration, or a scheduled scan of the integration starts, Mondoo runs its Fleet Scan workflow.

Space and organization workflows

You create workflows in a space or in an organization. A workflow handles only the events of the space or organization it belongs to:

  • A space workflow handles events in that space, such as its findings and its integrations. Most templates are made for spaces.
  • An organization workflow handles events of the organization itself, such as an integration set up at the organization level. Findings belong to spaces, so a workflow that reacts to findings, such as a Drift Ticket Aggregator, only works in a space.

Each space and the organization have their own Workflows, Executions, and Templates pages, and each lists only its own workflows and their runs.

Who can use workflows

Anyone with the Viewer role in a space or organization can see its workflows and their runs. To create, change, run, activate, deactivate, or archive workflows, you need the Editor or Owner role, or another role with this permission, such as Workflow Manager. You can grant these at the space or the organization level.

Next step

To create your first workflow, read Create and Manage Workflows.

Last updated on

On this page