> For the complete documentation index, see [llms.txt](https://help.nightfall.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.nightfall.ai/audit/google-drive-audit/select-scope.md).

# Select Scope

The Scope section allows you to select the historic period that needs to be audited. The historic period allows you to scan all the files which were either created or modified during the selected period. The time period can stretch to a maximum of 6 months.

Once you select the scope, you must select the nature of Google Drive files to be included or excluded from the scan. You can choose to scan either the User drives or Shared drives. The detailed description on how to select the drive can be found in [this document](https://help.nightfall.ai/google-drive/policies/scope#configuring-the-drive-selection-section). Additionally, you can also select files based on their sharing settings. The detailed explanation on how to configure these settings can be found in [this document](https://help.nightfall.ai/google-drive/policies/scope#configuring-the-permission-section).

Once you select the files, you can apply filters on the selected files. The filters section provides you the flexibility to include and exclude users at a granular level. Nightfall supports four types of filters. The following bullet points hyperlink to the detailed description of each of the four filters.

* [Internal Users](https://help.nightfall.ai/google-drive/policies/scope#internal-users)
* [External Users](https://help.nightfall.ai/google-drive/policies/scope#external-users)
* [Internal Groups](https://help.nightfall.ai/google-drive/policies/scope#internal-groups)
* [External Groups](https://help.nightfall.ai/google-drive/policies/scope#external-groups)

{% hint style="success" %}
**Note:** If there is a conflict between the selected drives and filters, Nightfall resolves the conflict by following a priority order. You can refer to [this document ](https://help.nightfall.ai/google-drive/policies/scope#conflict-management)to learn more about how Nightfall resolves conflicts.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.nightfall.ai/audit/google-drive-audit/select-scope.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
