Editor Pass - Adding password policy query to the default library (#6768)

* Editor Pass - Adding password policy query to the default library

Editor pass for:
-  https://github.com/fleetdm/fleet/pull/6641

* Update constants.ts

* Update frontend/utilities/constants.ts
This commit is contained in:
Desmi-Dizney 2022-07-21 13:51:17 -05:00 committed by GitHub
parent 126fedfcd3
commit 097f71e76c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -744,7 +744,7 @@ spec:
name: Password requires 10 or more characters (macOS)
query: 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);
description: "Checks that the password policy requires at least 10 characters. Requires osquery 5.4.0 or newer."
resolution: "Contact your IT administrator to ensure your Mac is receiving configuration profiles for password length."
resolution: "Contact your IT administrator to make sure your Mac is receiving configuration profiles for password length."
platforms: macOS
tags: compliance, hardening, built-in
platform: darwin

View file

@ -178,7 +178,7 @@ export const DEFAULT_POLICIES = [
description:
"Checks that the password policy requires at least 10 characters. Requires osquery 5.4.0 or newer.",
resolution:
"Contact your IT administrator to ensure your Mac is receiving configuration profiles for password length.",
"Contact your IT administrator to confirm that your Mac is receiving configuration profiles for password length.",
platform: "darwin",
},
] as IPolicyNew[];