mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Improved column descriptions for password_policy (#8611)
This commit is contained in:
parent
0ef72c36ce
commit
511ba09185
1 changed files with 18 additions and 1 deletions
|
|
@ -7,4 +7,21 @@ examples: >-
|
|||
|
||||
SELECT 1 FROM (SELECT cast(lengthtxt as integer(2)) minlength FROM (SELECT SUBSTRING(length, 1, 2) AS lengthtxt FROM (SELECT policy_description, policy_identifier, split(policy_content, '{', 1) AS length FROM password_policy WHERE policy_identifier LIKE '%minLength')) WHERE minlength >= 10);
|
||||
|
||||
```
|
||||
```
|
||||
columns:
|
||||
- name: policy_description
|
||||
description: Policy description, such as `Contain at least 10 characters.`
|
||||
required: false
|
||||
type: text
|
||||
- name: policy_content
|
||||
description: Policy content, such as `policyAttributePassword matches '.{10,}'`.
|
||||
required: false
|
||||
type: text
|
||||
- name: policy_identifier
|
||||
description: Policy identifier, such as `ProfilePayload:1d33ef8c-da1c-4534-8458-95a4d43d849e:minLength`.
|
||||
required: false
|
||||
type: text
|
||||
- name: uid
|
||||
description: User ID for the policy, if available. Otherwise, returns `-1`.
|
||||
required: false
|
||||
type: bigint
|
||||
|
|
|
|||
Loading…
Reference in a new issue