> 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/admins-are-required-to-log-in-again-when-invoking-the-login-as-user-function-to-prevent.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Admins are required to log in again when invoking the login as user function to prevent...

### Synopsis

| Field           | Value                                                                                                                                                                                                                      |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Rule Name       | Admins are required to log in again when invoking the login as user function to prevent impersonation attacks                                                                                                              |
| Rule Type       | Detection                                                                                                                                                                                                                  |
| Severity        | Low                                                                                                                                                                                                                        |
| Category        | CONFIGURATION                                                                                                                                                                                                              |
| Platform Module | SSPM                                                                                                                                                                                                                       |
| Asset Types     | BOX\_ORGANIZATION, DOCUSIGN\_ORGANIZATION, MICROSOFT\_365\_TENANT, MONGODB\_ATLAS\_ORGANIZATION, PAGERDUTY\_INSTANCE, SALESFORCE\_ORGANIZATION, SERVICENOW\_INSTANCE, YOUTRACK\_INSTANCE, ZENDESK\_INSTANCE, ZOOM\_ACCOUNT |

### Description

While allowing administrators to log in as users to act on the user's behalf, for example for troubleshooting purposes, this functionality must be configured to require admins to log in when accessing the system as another user in order to prevent the risk of impersonation attacks or escalation of privileges.

### Remediation

Box:

* Box Organization - Please follow steps below to remediate violation for : Self signup

DocuSign:

* Docusign Organization - Please follow steps below to remediate violation for : Login Requirements

Microsoft 365:

* Microsoft 365 Tenant - Please follow steps below to remediate violation for : Disable Administrators Can Log In As Any User for Salesforce, Please follow steps below to remediate violation for : Force (admin) relogin after Login-As-User for Salesforce, Please follow steps below to remediate violation for : Enable 'Apply UAC restrictions to local accounts on network logons', Please follow steps below to remediate violation for : Enable 'Require domain users to elevate when setting a network's location'

MongoDB Atlas:

* MongoDB Atlas Organization - Please follow steps below to remediate violation for : Self-managed X.509 Authentication

PagerDuty:

* Pagerduty Instance - Please follow steps below to remediate violation for : Single Sign-On (SSO)

Salesforce:

* Salesforce Organization - Please follow steps below to remediate violation for : Force relogin after Login-As-User, Please follow steps below to remediate violation for : Administrators Can Log in as Any User, Please follow steps below to remediate violation for : Enable user switching

ServiceNow:

* Servicenow Instance - Please follow steps below to remediate violation for : Log User Impersonation

Youtrack:

* Youtrack Instance - Please follow steps below to remediate violation for : Throttling by login

Zendesk:

* Zendesk Instance - Please follow steps below to remediate violation for : Account Assumption

Zoom:

* Zoom Account - Please follow steps below to remediate violation for : Require admin approval for adding external users in group chats and channels


---

# 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/admins-are-required-to-log-in-again-when-invoking-the-login-as-user-function-to-prevent.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.
