Drift detection
Overview
Brainboard allows you to detect any drift happening to the cloud infrastructure, and in some cases it removes the root cause of the drift.
Detecting the drift
To detect a drift happening to the cloud infrastructure, you have two options. Both options are based on a workflow.
Refer to this page if you want additional information about workflows.
Manual workflow
You can create a workflow to check if a drift has happened to the cloud infrastructure and run it manually as follows:
Go to the CI/CD page of the infrastructure by clicking on the rightmost icon in the options bar at the top.
Either create a new workflow by clicking on the
New workflowbutton or use the public template called[Public] Drift detection by Brainboard.

Once the workflow is created, add a drift detection task and give it a name.

Run the pipeline by clicking the
Run pipelinebutton in the top right corner of the page.

Scheduled automatic detection
Open the settings of the workflow you already created. To do so, click the gear wheel icon available next to the workflow name at the top of the page.
Activate the cron schedule and specify the frequency of the execution of the workflow.
If you want to be notified when a drift is detected, enable
Notify on failureand specify the email address(es) that will receive the notification.

Output
When the pipeline runs (either manually or automatically), Brainboard creates an execution environment, runs the detection and gives you the output:

Best practices
It's a good practice to use the automatic scheduled drift detection for both:
Critical workloads: In case anything unwanted happens outside the source of truth.
Non-critical workloads: To control costs and detect any modification that may increase them beyond the allowed budget.
Last updated