> 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/maximum-invalid-login-attempt-settings-are-enforced-to-prevent-brute-force-attacks.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Maximum invalid login attempt settings are enforced to prevent brute force attacks

### Synopsis

| Field           | Value                                                                                                                                                                                                                                                                      |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Rule Type       | Detection                                                                                                                                                                                                                                                                  |
| Severity        | Low                                                                                                                                                                                                                                                                        |
| Category        | CONFIGURATION                                                                                                                                                                                                                                                              |
| Platform Module | SSPM                                                                                                                                                                                                                                                                       |
| Asset Types     | AUTOMOX\_ORGANIZATION, BOX\_ORGANIZATION, CISCO\_DUO\_INSTANCE, CISCO\_MERAKI\_ORGANIZATION, MICROSOFT\_365\_TENANT, MICROSOFT\_OUTLOOK\_TENANT, SALESFORCE\_ORGANIZATION, SERVICENOW\_INSTANCE, SHAREFILE\_ACCOUNT, SNOWFLAKE\_ACCOUNT, SPLUNK\_INSTANCE, WORKDAY\_TENANT |

### Description

To prevent brute force attacks, make sure every app is configured with a maximum number of consecutive failed login attempts. As a best practice, do not allow more than 10 failed login attempts before locking the account.

### Remediation

Automox:

* Automox Organization - Please follow steps below to remediate violation for : Login Attempts - Max Attempts

Box:

* Box Organization - Please follow steps below to remediate violation for : Notify the primary admin of failed login attempts

Cisco Duo:

* Cisco Duo Instance - Please follow steps below to remediate violation for : Multi-factor Authentication Failed attempts - Lockout Expiration Duration, Please follow steps below to remediate violation for : Multi-factor Authentication Failed attempts

Cisco Meraki:

* Cisco Meraki Organization - Please follow steps below to remediate violation for : Account lockout

Microsoft 365:

* Microsoft 365 Tenant - Please follow steps below to remediate violation for : Ensure mobile devices are set to wipe on multiple sign-in failures to prevent brute force compromise, Please follow steps below to remediate violation for : Enhance 'login maximum attempts' - Lockout timer for Citrix, Please follow steps below to remediate violation for : Enhance 'login maximum attempts' - Number of attempts for Citrix, Please follow steps below to remediate violation for : Maximum invalid login attempts for Salesforce, Please follow steps below to remediate violation for : Lockout effective period for Salesforce, Please follow steps below to remediate violation for : Enable managing failed login attempts for ServiceNow, Please follow steps below to remediate violation for : Set 'Account lockout duration' to 15 minutes or more, Please follow steps below to remediate violation for : Set 'Reset account lockout counter after' to 15 minutes or more, Please follow steps below to remediate violation for : Set 'Account lockout threshold' to 1-10 invalid login attempts, Please follow steps below to remediate violation for : Set account lockout threshold to 5 or lower in macOS
* Microsoft Outlook Tenant - Please follow steps below to remediate violation for : Number of sign in failures before device is wiped

Salesforce:

* Salesforce Organization - Please follow steps below to remediate violation for : Maximum invalid login attempts

ServiceNow:

* Servicenow Instance - Please follow steps below to remediate violation for : Login access policy

ShareFile:

* Sharefile Account - Please follow steps below to remediate violation for : Account locked out after failed log in attempts

Snowflake:

* Snowflake Account - Please follow steps below to remediate violation for : Maximum Attempts To Enter A Password - Account Level, Please follow steps below to remediate violation for : Maximum Attempts To Enter A Password - User Level

Splunk:

* Splunk Instance - Please follow steps below to remediate violation for : Failed Login Attempts

Workday:

* Workday Tenant - Please follow steps below to remediate violation for : Maximum Grace Signin Count


---

# 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/maximum-invalid-login-attempt-settings-are-enforced-to-prevent-brute-force-attacks.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.
