# Standards & Drift

{% hint style="warning" %}

### Page Purpose

This page serves as an overview of CIPP Standards.  For the technical components of each page and details on the actions you can take, please see the respective docs page under this menu item to the left.
{% endhint %}

## **Standards Overview**

Standards in CIPP ensure consistent configurations across your Microsoft 365 tenants by reapplying baseline settings **every twelve hours** or evaluating drift **every twelve hours**. This automatic enforcement and drift detection prevents unauthorized changes and helps maintain security. There are two kinds of standards:

* Standards: These are the traditional standards that you've known and loved in CIPP for quite a while now. These standards are automatically enforced every twelve hours. Options for these standards are Report, Alert, and Remediate from [#actions](#actions "mention").
* Drift Management: New in v 8.3, Drift Management allows for you to manage client environments with a much finer touch. These templates evaluate every twelve hours and allow for granular handling of anything that is out of alignment with the template. As such, Drift Management settings are automatically set to Report and Alert from the [#actions](#actions "mention") below. To learn more about what you can do with Drift Management, see [drift](https://docs.cipp.app/user-documentation/tenant/manage/drift "mention").

{% hint style="info" %}
For a deeper dive on the differences between the two types of standards and considerations for when you want to use each, see [standards-v-drift](https://docs.cipp.app/troubleshooting/frequently-asked-questions/standards-v-drift "mention")
{% endhint %}

### Actions

CIPP allows you to set standards in three different settings. Some standards can only be set to specific items, such as Intune standards which can only be "Remediated".

| Action    | Description                                                                                                                                                                                                     |
| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Report    | Logs the current configuration and stores this inside of the CIPP database for your standards reports or BPA reports.                                                                                           |
| Alert     | Sends you a notification via the configured method in CIPP -> Application Settings -> Notifications                                                                                                             |
| Remediate | Changes the configuration of the tenant and enables Report settings in the backend. You can optionally enable Report in addition to Remediate for visual clarity, but all Remediate Standards will also Report. |

For example, when you wish to create a report for Audit log state across all your tenants, you can create an "All Tenants" standard that has the Audit Log standard set to "Report" - This fills the CIPP database with the current setting without editing the client's settings.

Setting this same standard to "Alert" allows you to receive an alert inside of your e-mail or ticketing system.

Setting this same standard to "Remediate" changes the client's configuration, and in this case would enable the audit log for the client.

### **Precedence of Standards**

Standards are merged based on their specificity and creation date:

#### Specificity

Standards applied via a more specific targeting method will always override more general standards (like those set for 'All Tenants'). For instance, if an 'All Tenants' standard enables external warnings but you need it disabled for one tenant, creating and applying a tenant-specific standard will disable external warnings for that tenant. The priority order is:

* Individual tenant, which overrides tenant group and All Tenants
* Tenant group, which overrides All Tenants
* All Tenants, which is the lowest priority

<table><thead><tr><th>Tenant</th><th data-type="checkbox">Tenant Group Membership</th><th>Standard Setting</th><th>Resultant Policy</th></tr></thead><tbody><tr><td>A</td><td>false</td><td>Disable external warnings applied to All Tenants</td><td>External warnings disabled</td></tr><tr><td>B</td><td>true</td><td>Enable external warnings applied to tenant group</td><td>External warnings enabled</td></tr></tbody></table>

#### Creation Date

When two standards conflict at the same specificity level (e.g., both tenant-specific), the standard created most recently takes precedence. For example, if you create a tenant-specific standard enabling external warnings and later create another tenant-specific standard disabling external warnings, the more recently created standard (disabling TOTP) will be applied.

{% hint style="warning" %}
**Note**: By default, standards aren't applied to any tenants upon setup of CIPP. You must manually configure and enable them. Apply standards with a clear understanding of their effects.
{% endhint %}

{% hint style="success" %}

### CIPP v7 Standards Updates

As of the update to v7 of CIPP, standards now operate via templates. Where previously, standards were either configured via the AllTenants "Edit Standards" page or an individual tenants "Edit Standards" page, multiple templates can be created to provide you with a more granular standards experience. Templates can be assigned to "AllTenants", "AllTenants" with excluded tenants, or just specific list of tenants.

If you are upgrading to v7 from a prior version of CIPP, you'll need to complete a one-time conversion of your existing standards by clicking the "Convert Standards" button at the top of the page. These standards will still not run on a schedule until you edit each template to your choosing and then toggling off the "Do not run on schedule" option.
{% endhint %}

### **Standards Categories**

For ease of reference, standards are grouped within the following categories. These categories match the Category label on the standard selection page.

| Category             | Description                                                                       |
| -------------------- | --------------------------------------------------------------------------------- |
| Global Standards     | Applied across all tenants to manage organization-wide configurations.            |
| Exchange Standards   | Email-related settings such as spam protection and message handling.              |
| Defender Standards   | Security measures to protect against phishing, malware, and other threats.        |
| Intune Standards     | Device and application management policies for a secure Intune environment.       |
| SharePoint Standards | SharePoint and OneDrive configuration incl. sharing and retention policies.       |
| Teams Standards      | Collaboration-related settings, i.e.: meeting policies and external file sharing. |

### **Impact Levels**

Each standard is labeled based on the level of change it introduces and its impact on users:

| Impact | Description                                                                                     |
| ------ | ----------------------------------------------------------------------------------------------- |
| Low    | Minimal or no user-facing effects.                                                              |
| Medium | May require some communication with users to prepare them for changes.                          |
| High   | Significant changes that could affect daily workflows; coordinate with clients before applying. |

{% hint style="warning" %}

### Important Considerations

* **Companion Policies:** Some standards rely on additional policies in tools like **Microsoft Intune** to be fully effective. Ensure all required companion policies are configured to achieve the desired results.
* **Deselecting Standards:** Deselecting a standard prevents it from being enforced in future cycles, but it does not undo its current configuration.
  * **Example:** If you deselect `"Enable FIDO2 capabilities`," the standard will stop enforcing this policy. However, if FIDO2 was already enabled, it will remain enabled.
* **Application Cadence:** Standards reapply **every twelve hours** by default. If a setting changes outside of the standard, it will be overridden by the value specified in the standard during the next reapplication cycle. Drift Management are evaluated **every twelve hours**.
  {% endhint %}

{% hint style="info" %}
Plans exist to implement more standardized options and settings. If there's a standard that you want, see the "Feature Requests / Ideas" section below.
{% endhint %}

***

## Feature Requests / Ideas

We value your feedback and ideas. Please raise any [feature requests](https://github.com/KelvinTegelaar/CIPP/issues/new?assignees=\&labels=enhancement%2Cno-priority\&projects=\&template=feature.yml\&title=%5BFeature+Request%5D%3A+) on GitHub.
