---
title: AccountSecurity type | Wartiva GraphQL API
description: Account security information for an Endpoint user. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/account-security.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL type

# `AccountSecurity` type

Account security information for an Endpoint user.

## Fields

| Field Name | Description |
|---|---|
| `lastPasswordChange` - [`Time`](https://wartiva.com/api-docs/types/time.html) | Date when the password was last changed. |
| `passwordCanBeChangedAfter` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | Minimum number of days before the password can be changed again. |
| `passwordValidFor` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | Maximum number of days the password remains valid. |
| `warningDaysBeforePasswordExpires` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | Number of days before password expiry when the user is warned. |
| `inactiveDaysAfterPasswordExpiry` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | Number of days after password expiry before the account becomes inactive. |
| `accountExpiryDate` - [`Time`](https://wartiva.com/api-docs/types/time.html) | Date when the account expires. |

## Used by

- [`EndpointUser`](https://wartiva.com/api-docs/types/endpoint-user.html) type: An operating system or domain user account observed on an Endpoint.

## Example

### Example

```json
{
  "lastPasswordChange": "2021-10-07T18:23:25.829Z",
  "passwordCanBeChangedAfter": 123,
  "passwordValidFor": 987,
  "warningDaysBeforePasswordExpires": 123,
  "inactiveDaysAfterPasswordExpiry": 987,
  "accountExpiryDate": "2021-10-07T18:23:25.829Z"
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
