> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/sharing-permissions-and-scope-are-set-correctly-to-protect-against-data-leakage.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Sharing permissions and scope are set correctly to protect against data leakage

### Synopsis

| Field           | Value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Rule Type       | Detection                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| Severity        | High                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| Category        | CONFIGURATION                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| Platform Module | SSPM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| Asset Types     | ASANA\_WORKSPACE, BOX\_ORGANIZATION, BUSINESSMAP\_INSTANCE, CLICKUP\_ACCOUNT, DATADOG\_TENANT, DROPBOX\_TEAM, GOTOMEETING\_ORGANIZATION, MICROSOFT\_365\_TENANT, MICROSOFT\_OUTLOOK\_TENANT, MICROSOFT\_SHAREPOINT\_TENANT, MICROSOFT\_TEAMS\_TENANT, MIRO\_ORGANIZATION, OKTA\_INSTANCE, POWER\_BI\_TENANT, SALESFORCE\_ORGANIZATION, SENTRY\_ORGANIZATION, SERVICENOW\_INSTANCE, SHAREFILE\_ACCOUNT, SHOPIFY\_INSTANCE, SLACK\_ORGANIZATION, SUMOLOGIC\_INSTANCE, SYNCPLICITY\_ORGANIZATION, WEBEX\_ORGANIZATION, WORKDAY\_TENANT, WRIKE\_ACCOUNT, ZOHO\_WORKDRIVE\_ORGANIZATION, ZOOM\_ACCOUNT |

### Description

One of the easiest ways for an attacker to gain access is through the inadvertent sharing of information that should be kept private. To protect against data leakage, make sure the sharing permissions and scope are set up properly.

### Remediation

Asana:

* Asana Workspace - Please follow steps below to remediate violation for : Who can create and share work with the team?, Please follow steps below to remediate violation for : Allow attachments from Asana's apps, API, and other features

Box:

* Box Organization - Please follow steps below to remediate violation for : Allow shared links, Please follow steps below to remediate violation for : Restrict content creation, Please follow steps below to remediate violation for : Disable public shared links after a specified time of link creation, Please follow steps below to remediate violation for : Invited collaborators expiration settings

Businessmap:

* Businessmap Instance - Please follow steps below to remediate violation for : Only internal users can access public filters

Clickup:

* Clickup Account - Please follow steps below to remediate violation for : Private attachments

DataDog:

* Datadog Tenant - Please follow steps below to remediate violation for : Static Public Data Sharing, Please follow steps below to remediate violation for : Add team members to the incident channel when a team is added to the incident, Please follow steps below to remediate violation for : Send incident updates to the dedicated Slack channel., Please follow steps below to remediate violation for : Send incident updates to a global channel, Please follow steps below to remediate violation for : Allow Slack users to declare incidents without a connected Datadog account, Please follow steps below to remediate violation for : Links

Dropbox:

* Dropbox Team - Please follow steps below to remediate violation for : Share links outside your team, Please follow steps below to remediate violation for : Sharing Externally, Please follow steps below to remediate violation for : Blanket link restrictions, Please follow steps below to remediate violation for : Sharing files using Dropbox Transfer, Please follow steps below to remediate violation for : Adding outside folders

Goto Meeting:

* Gotomeeting Organization - Please follow steps below to remediate violation for : Organizer can download meeting content, Please follow steps below to remediate violation for : Organizer can delete meeting content, Please follow steps below to remediate violation for : People with the link can download meeting content

Microsoft 365:

* Microsoft 365 Tenant - Please follow steps below to remediate violation for : Configure which users are allowed to present in Teams meetings, Please follow steps below to remediate violation for : Disable private repository forking for Github, Please follow steps below to remediate violation for : Ensure DLP policies are enabled for Microsoft Teams, Please follow steps below to remediate violation for : Set controlled folder access to enabled or audit mode
* Microsoft Outlook Tenant - Please follow steps below to remediate violation for : Let users add new guests to the organization
* Microsoft Sharepoint Tenant - Please follow steps below to remediate violation for : Allow only users in specific security groups to share externally, Please follow steps below to remediate violation for : Guest access to a site or OneDrive will expire automatically after this many days, Please follow steps below to remediate violation for : Choose the type of link that's selected by default when users share files and folders in SharePoint and OneDrive, Please follow steps below to remediate violation for : Choose the permission that's selected by default for sharing links, Please follow steps below to remediate violation for : Choose expiration and permissions options for Anyone links, Please follow steps below to remediate violation for : Show owners the names of people who viewed their files in OneDrive, Please follow steps below to remediate violation for : Let site owners choose to display the names of people who viewed files or pages in SharePoint, Please follow steps below to remediate violation for : Site-level access restriction, Please follow steps below to remediate violation for : OneDrive access restriction, Please follow steps below to remediate violation for : Use short links for sharing files and folders, Please follow steps below to remediate violation for : External sharing, Please follow steps below to remediate violation for : Limit Sharing by Domain, Please follow steps below to remediate violation for : Expiration of guest access, Please follow steps below to remediate violation for : Default sharing link type, Please follow steps below to remediate violation for : Default link permission
* Microsoft Teams Tenant - Please follow steps below to remediate violation for : Users can share data for service improvement, Please follow steps below to remediate violation for : Allowed town hall types for recording, Please follow steps below to remediate violation for : Allowed webinar types for recording, Please follow steps below to remediate violation for : Collaborative annotations, Please follow steps below to remediate violation for : PowerPoint Live, Please follow steps below to remediate violation for : Screen sharing, Please follow steps below to remediate violation for : Whiteboard

Miro:

* Miro Organization - Please follow steps below to remediate violation for : Team Level: Invitation, Please follow steps below to remediate violation for : Team Level: Allow Guests for team, Please follow steps below to remediate violation for : Organization level: Number of days for expire public sharing link, Please follow steps below to remediate violation for : Organization level: Allow public sharing, Please follow steps below to remediate violation for : Organization level: Allow editing on publicly shared boards, Please follow steps below to remediate violation for : Organization level: Require passwords for publicly shared boards, Please follow steps below to remediate violation for : Organization level: Expire public sharing link, Please follow steps below to remediate violation for : Organization level: Allow sharing via embed, Please follow steps below to remediate violation for : Organization level: Allow editing on embedded boards, Please follow steps below to remediate violation for : Organization level: Restrict sharing of company templates, Please follow steps below to remediate violation for : Organization level: Idle session timeout - Inactivity period

Okta:

* Okta Instance - Please follow steps below to remediate violation for : Block passkeys for FIDO2 (WebAuthn) Authenticators

Power Bi:

* Power Bi Tenant - Please follow steps below to remediate violation for : Users can accept external data shares, Please follow steps below to remediate violation for : Users can invite guest users to collaborate through item sharing and permissions, Please follow steps below to remediate violation for : Publish apps to the entire organization, Please follow steps below to remediate violation for : Users can share links to Power BI files stored in OneDrive and SharePoint through Power BI Desktop (preview), Please follow steps below to remediate violation for : Semantic models can export data to OneLake, Please follow steps below to remediate violation for : Semantic model owners can choose to automatically update semantic models from files imported from OneDrive or SharePoint, Please follow steps below to remediate violation for : Synonym sharing, Please follow steps below to remediate violation for : Allow users to apply sensitivity labels for content, Please follow steps below to remediate violation for : Restrict content with protected labels from being shared via link with everyone in your organization, Please follow steps below to remediate violation for : Allow shareable links to grant access to everyone in your organization, Please follow steps below to remediate violation for : Allow specific users to turn on external data sharing, Please follow steps below to remediate violation for : Publish template apps, Please follow steps below to remediate violation for : Users can invite guest users to collaborate through item sharing and permissions - Apply to:

Salesforce:

* Salesforce Organization - Please follow steps below to remediate violation for : Restricted Profile Cloning, Please follow steps below to remediate violation for : Enable Community User Visibility, Please follow steps below to remediate violation for : Require permission to view record names in lookup fields., Please follow steps below to remediate violation for : Enable Standard Report Visibility, Please follow steps below to remediate violation for : Defer Sharing Rules, Please follow steps below to remediate violation for : Enable Asset Sharing, Please follow steps below to remediate violation for : Enable External Sharing Model, Please follow steps below to remediate violation for : Enable Manual User Record Sharing, Please follow steps below to remediate violation for : Enable Portal User Case Sharing, Please follow steps below to remediate violation for : Secure image sharing and downloading, Please follow steps below to remediate violation for : Enable concurrency limit sharing between dataflows and recipes.

Sentry:

* Sentry Organization - Please follow steps below to remediate violation for : Allow Shared Issues, Please follow steps below to remediate violation for : Allow Join Requests

ServiceNow:

* Servicenow Instance - Please follow steps below to remediate violation for : Restrict Access to Emails with Empty Target Table, Please follow steps below to remediate violation for : Restrict Unauthenticated Access to Attachments, Please follow steps below to remediate violation for : Enable ACLs to control Live Profile Details

ShareFile:

* Sharefile Account - Please follow steps below to remediate violation for : Client Shares

Shopify:

* Shopify Instance - Please follow steps below to remediate violation for : Data sharing opt-out, Please follow steps below to remediate violation for : Application that can read customer data, Please follow steps below to remediate violation for : Apps without an Icon

Slack:

* Slack Organization - Please follow steps below to remediate violation for : Public File Sharing

Sumologic:

* Sumologic Instance - Please follow steps below to remediate violation for : Enable Data Access Level for Shared Dashboards

Syncplicity:

* Syncplicity Organization - Please follow steps below to remediate violation for : Shared Links Expiration Policy, Please follow steps below to remediate violation for : Outgoing Folder Sharing, Please follow steps below to remediate violation for : Manage Folder Participants, Please follow steps below to remediate violation for : Outgoing Internal Sharing Restrictions, Please follow steps below to remediate violation for : Incoming Internal Sharing Restrictions

Webex:

* Webex Organization - Please follow steps below to remediate violation for : Single Sign-On

Workday:

* Workday Tenant - Please follow steps below to remediate violation for : Disable link sharing in Drive

Wrike:

* Wrike Account - Please follow steps below to remediate violation for : Google Docs sharing settings, Please follow steps below to remediate violation for : Allow share snapshots via link for external users, Please follow steps below to remediate violation for : Share tasks, projects, and folders for Admin, Please follow steps below to remediate violation for : Remove files (Admin), Please follow steps below to remediate violation for : Regular user can share tasks, projects, and folders, Please follow steps below to remediate violation for : External user can share tasks, projects, and folders, Please follow steps below to remediate violation for : External sharing for regular user

Zoho Workdrive:

* Zoho Workdrive Organization - Please follow steps below to remediate violation for : Allow download and print for embedded files and folders, Please follow steps below to remediate violation for : Set a default expiration period for external shared links, Please follow steps below to remediate violation for : Allow direct sharing via email addresses, Please follow steps below to remediate violation for : Direct sharing Control, Please follow steps below to remediate violation for : Allow sharing via external share links, Please follow steps below to remediate violation for : Allow sharing via download links, Please follow steps below to remediate violation for : Allow sharing via permalink settings and embed codes, Please follow steps below to remediate violation for : Set who can create and manage collections

Zoom:

* Zoom Account - Please follow steps below to remediate violation for : Allow meeting livestreaming, Please follow steps below to remediate violation for : Allow custom livestreaming, Please follow steps below to remediate violation for : Enable webinar livestreaming, Please follow steps below to remediate violation for : Allow participants to share a whiteboard that includes annotation tools., Please follow steps below to remediate violation for : Who can share their screen or content during meetings, Please follow steps below to remediate violation for : Who is allowed to start sharing screen when someone else in the meeting is sharing their screen, Please follow steps below to remediate violation for : Indicates how many participants can share at the same time, Please follow steps below to remediate violation for : Allow Workplace by Facebook livestreaming, Please follow steps below to remediate violation for : Allow users who join a meeting from their mobile device to share content from their Box account., Please follow steps below to remediate violation for : Automatic direct sharing using an ultrasonic proximity signal, Please follow steps below to remediate violation for : Lock: Allow users to take and send screenshots in direct messages or group conversations


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/sharing-permissions-and-scope-are-set-correctly-to-protect-against-data-leakage.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
