Add 'Get Crowdstrike Falcon network content filter status' to query library (#9931)

This commit is contained in:
Zach Wasserman 2023-02-17 22:16:28 -06:00 committed by GitHub
parent 13e821d059
commit 7fa739889d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1034,3 +1034,14 @@ spec:
purpose: inventory
tags: inventory
contributors: zwass
---
apiVersion: v1
kind: query
spec:
name: Get Crowdstrike Falcon network content filter status
platform: darwin
description: Get the status of the Crowdstrike Falcon network content filter (as in "System Settings" > "Network > "Filters").
query: /* Load up the plist */ WITH extensions_plist AS (SELECT *, rowid FROM plist WHERE path = '/Library/Preferences/com.apple.networkextension.plist') /* Find the first "Enabled" key after the key indicating the crowdstrike app */ SELECT value AS enabled FROM extensions_plist WHERE subkey = 'Enabled' AND rowid > (SELECT rowid FROM extensions_plist WHERE value = 'com.crowdstrike.falcon.App') LIMIT 1;
purpose: Informational
tags: crowdstrike, plist, network, content filter
contributors: zwass