On the "New policy" page, update default policy (#3192)

- Update default policy from "Gatekeeper enabled" to "Is osquery running?"
This commit is contained in:
Noah Talerman 2021-12-03 17:08:10 -05:00 committed by GitHub
parent b9a408704e
commit 9e095abddb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,9 +81,9 @@ export const DEFAULT_QUERY = {
export const DEFAULT_POLICY = {
id: 1,
name: "Gatekeeper enabled",
query: "SELECT 1 FROM gatekeeper WHERE assessments_enabled = 1;",
description: "Checks if gatekeeper is enabled on macOS devices",
name: "Is osquery running?",
query: "SELECT 1 FROM osquery_info WHERE start_time > 1;",
description: "Checks if the osquery process has started on the host.",
author_id: 42,
author_name: "John",
author_email: "john@example.com",