> 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/app-roles-and-permissions-enforce-least-privilege-access-to-minimize-security-risks.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# App roles and permissions enforce least privilege access to minimize security risks

### Synopsis

| Field           | Value                                                                                                                                                                                                                                                                                                                                                                                                                           |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Rule Type       | Detection                                                                                                                                                                                                                                                                                                                                                                                                                       |
| Severity        | High                                                                                                                                                                                                                                                                                                                                                                                                                            |
| Category        | CONFIGURATION                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Platform Module | SSPM                                                                                                                                                                                                                                                                                                                                                                                                                            |
| Asset Types     | BAMBOOHR\_INSTANCE, BOX\_ORGANIZATION, BUSINESSMAP\_INSTANCE, CLICKUP\_ACCOUNT, DROPBOX\_TEAM, MICROSOFT\_365\_TENANT, MICROSOFT\_ENTRAID\_TENANT, MICROSOFT\_TEAMS\_TENANT, MIRO\_ORGANIZATION, MONGODB\_ATLAS\_ORGANIZATION, OKTA\_INSTANCE, POWER\_BI\_TENANT, SALESFORCE\_ORGANIZATION, SENTRY\_ORGANIZATION, SERVICENOW\_INSTANCE, SNOWFLAKE\_ACCOUNT, WEBEX\_ORGANIZATION, WORKDAY\_TENANT, WRIKE\_ACCOUNT, ZOOM\_ACCOUNT |

### Description

When assigning roles and permissions within your SaaS apps, make sure that you give users or groups access to the minimum level of permissions needed to perform necessary tasks. If users have access to more resources than they strictly need, any compromise to their accounts will enable access to those resources. But by restricting access to the minimum necessary, you limit the impact of a breach.

### Remediation

Bamboohr:

* Bamboohr Instance - Please follow steps below to remediate violation for : Allow employees to upload their own photos, regardless of other permissions, Please follow steps below to remediate violation for : Allow employees to upload files to their Employee Uploads folder

Box:

* Box Organization - Please follow steps below to remediate violation for : Preview only collaborators can save files for offline use, Please follow steps below to remediate violation for : Content can be opened In external applications, Please follow steps below to remediate violation for : Content can be printed, Please follow steps below to remediate violation for : File contents can be copy and pasted, Please follow steps below to remediate violation for : Configure Permissions

Businessmap:

* Businessmap Instance - Please follow steps below to remediate violation for : Only Account Owners can create or clone workspaces and boards, Please follow steps below to remediate violation for : Only Account Owners can delete workspaces and boards, Please follow steps below to remediate violation for : Only Account Owners, Authors or Shared with users can edit or delete business rules

Clickup:

* Clickup Account - Please follow steps below to remediate violation for : Allow admins to manage private spaces

Dropbox:

* Dropbox Team - Please follow steps below to remediate violation for : User-managed groups

Microsoft 365:

* Microsoft 365 Tenant - Please follow steps below to remediate violation for : Disable 'members with admin permissions for repositories can delete or transfer repositories' for Github, Please follow steps below to remediate violation for : Disable 'Allow members to change repository visibilities for this organization' for Github
* Microsoft Entraid Tenant - Please follow steps below to remediate violation for : Identity - Users can register applications, Please follow steps below to remediate violation for : Identity - Restrict non-admin users from creating tenants, Please follow steps below to remediate violation for : Identity - Users can create security groups, Please follow steps below to remediate violation for : Guest invite restrictions, Please follow steps below to remediate violation for : Identity - Groups - Users can create security groups in Azure portals, API or PowerShell, Please follow steps below to remediate violation for : Outbound access settings - B2B collaboration- Users and groups - Access status, Please follow steps below to remediate violation for : Outbound access settings- B2B collaboration - users and groups - Applies to, Please follow steps below to remediate violation for : Outbound access settings - B2B collaboration - External Applications - Applies to, Please follow steps below to remediate violation for : Outbound access settings - B2B collaboration - External Applications - Access status, Please follow steps below to remediate violation for : Tenant restriction -> External users and groups, Please follow steps below to remediate violation for : Tenant restriction -> External Applications, Please follow steps below to remediate violation for : Inbound access settings - B2B Direct Connect - External users and groups - Access status, Please follow steps below to remediate violation for : Inbound access settings - B2B Direct Connect - External users and groups - Applies to, Please follow steps below to remediate violation for : Inbound access settings - B2B Direct Connect - Applications - Access status, Please follow steps below to remediate violation for : Inbound access settings - B2B Direct Connect - Applications - Applies to
* Microsoft Teams Tenant - Please follow steps below to remediate violation for : Who can join scheduled live events, Please follow steps below to remediate violation for : LimitPresenterRolePermissions, Please follow steps below to remediate violation for : Users with full chat permissions can delete any message

Miro:

* Miro Organization - Please follow steps below to remediate violation for : Team level: Creating Content, Please follow steps below to remediate violation for : Team Level: Board Sharing - Sharing with anyone in the team, Please follow steps below to remediate violation for : Team Level: Board Sharing - Sharing with anyone in the organization, Please follow steps below to remediate violation for : Team Level: Board Sharing - Public Sharing, Please follow steps below to remediate violation for : Team Level: Default board sharing settings, Please follow steps below to remediate violation for : Team Level: Default invitation and edit access to sharing settings, Please follow steps below to remediate violation for : Team Level: Default Space sharing settings, Please follow steps below to remediate violation for : Organization level: Allow Co-owner role

MongoDB Atlas:

* MongoDB Atlas Organization - Please follow steps below to remediate violation for : LDAP Authorization (LDAP Authentication required)

Okta:

* Okta Instance - Please follow steps below to remediate violation for : Enable custom admin roles for device permissions, Please follow steps below to remediate violation for : Enable Custom Admin Roles for Identity Providers, Please follow steps below to remediate violation for : Manage the default super admin role assignment for public client apps

Power Bi:

* Power Bi Tenant - Please follow steps below to remediate violation for : Use semantic models across workspaces, Please follow steps below to remediate violation for : Guest users can access Microsoft Fabric, Please follow steps below to remediate violation for : Enable granular access control for all data connections, Please follow steps below to remediate violation for : Per-user data in usage metrics for content creators, Please follow steps below to remediate violation for : Add and use certified visuals only (block uncertified), Please follow steps below to remediate violation for : Featured content - Except specific security groups, Please follow steps below to remediate violation for : Allow connections to featured tables - Except specific security groups

Salesforce:

* Salesforce Organization - Please follow steps below to remediate violation for : Defer Group Membership, Please follow steps below to remediate violation for : Enable Manager Groups

Sentry:

* Sentry Organization - Please follow steps below to remediate violation for : Let Members Delete Events, Please follow steps below to remediate violation for : Let Members Create and Edit Alerts

ServiceNow:

* Servicenow Instance - Please follow steps below to remediate violation for : Enforce Security Rules to Sharing Dashboards

Snowflake:

* Snowflake Account - Please follow steps below to remediate violation for : External Oauth Add Privileged Roles To Blocked List, Please follow steps below to remediate violation for : Oauth Add Privileged Roles To Blocked List

Webex:

* Webex Organization - Please follow steps below to remediate violation for : Support Access

Workday:

* Workday Tenant - Please follow steps below to remediate violation for : Apply Routing Restrictions during Delegation, Please follow steps below to remediate violation for : Enable Enhanced Position-Based Approval Chain Routing, Please follow steps below to remediate violation for : Restrict Constrained Security Groups Access to External Payroll Documents

Wrike:

* Wrike Account - Please follow steps below to remediate violation for : Regular user remove files, Please follow steps below to remediate violation for : External user can remove files, Please follow steps below to remediate violation for : Regular user can share reports, Please follow steps below to remediate violation for : External user can share reports, Please follow steps below to remediate violation for : Regular user can manage report snapshots, Please follow steps below to remediate violation for : External user can manage report snapshots, Please follow steps below to remediate violation for : Regular user can delete reports, Please follow steps below to remediate violation for : External user can delete reports

Zoom:

* Zoom Account - Please follow steps below to remediate violation for : IP address access control, Please follow steps below to remediate violation for : Lock: IP address access control


---

# 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/app-roles-and-permissions-enforce-least-privilege-access-to-minimize-security-risks.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.
