# Remediation for Google Drive

This document explains what admins and end-users can do once a policy is violated.

## Admin Notification and Remediation

When end-users violate a policy, the Nightfall admin is notified about the incident. The notification channel used to notify the Nightfall admin depends on the settings configured in the [Automated Actions](/data-security-posture-management/nightfall-for-google-drive/configuring-google-drive-policies/automated-actions.md#admin-alerting) section. If you have not enabled any notification channels in the Admin alerting section, Nightfall admins are not notified.&#x20;

If you have enabled the email notification in the Admin alerts section, Nightfall admins receive an email. The email is as shown in the following image.&#x20;

The Email consists of the following data.

* **Event**: The event that caused the violation. For Google Drive, the event is always a download of assets.&#x20;
* **Actor**: The Email ID of the user who downloaded the file.
* **When**: The date and time when the email was downloaded.
* **Where**: The name of the file that was downloaded.
* **Policies Violated**: The name of the policy that was violated.
* **Violation Dashboard**: The link to the Events screen to view the violation in detail.
* **Actions**: The list of actions that the Nightfall admin can take.&#x20;

Also, a Slack message is sent if you have enabled the Slack alerts for the Nightfall admin. The Slack message looks as shown in the following image.

<figure><img src="/files/5l7ou5TB88wPxlUxzjYE" alt=""><figcaption></figcaption></figure>

## End-User Notification and Remediation

End-users receive notifications and remediation actions if the Nightfall admin has enabled these settings. The notifications are based on the settings configured in the [Automated Actions](/data-security-posture-management/nightfall-for-google-drive/configuring-google-drive-policies/automated-actions.md#automation) section. The end-user remediation actions are based on the settings configured in the [Automated Actions](/data-security-posture-management/nightfall-for-google-drive/configuring-google-drive-policies/automated-actions.md#end-user-remediation) section.&#x20;

If you have configured the Email notification for end-users and enabled the end-user remediation, end-users can take remediation actions from the Email itself.&#x20;

The end-user Email for adding external users violation is shown in the following image. &#x20;

<figure><img src="/files/8qc4r8d37rlZ4WLPLb8l" alt=""><figcaption></figcaption></figure>

The end-user Email for adding Changing Share settings violation is shown in the following image.

<figure><img src="/files/EcXhkSKg4B7fge6ov4p1" alt=""><figcaption></figcaption></figure>

If you have configured Slack notifications for end-user and enabled end-user remediation, end-users can view the Slack message.&#x20;

## Managing Violations in Nightfall

Nightfall admins can manage violations from within the Nightfall console. The Posture Management Events page in Nightfall lists all the violations under the Posture tab. End-users can get a detailed view of each Posture violation recorded. To learn more about Posture Management Events page, refer to the [Posture Management Events Page](/data-security-posture-management/nightfall-for-google-drive/posture-management-events-page.md) document.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.nightfall.ai/data-security-posture-management/nightfall-for-google-drive/remediation-for-google-drive.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
