From e54641831108ebb0099faf66915a5c39bc2132cb Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Fri, 1 Dec 2023 11:35:55 -0800 Subject: [PATCH] Update extra/mondoo-asset-count.mql.yaml Co-authored-by: Letha --- extra/mondoo-asset-count.mql.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/mondoo-asset-count.mql.yaml b/extra/mondoo-asset-count.mql.yaml index a27af62..237dc6d 100644 --- a/extra/mondoo-asset-count.mql.yaml +++ b/extra/mondoo-asset-count.mql.yaml @@ -268,7 +268,7 @@ queries: mql: aws.sns.topics.length - uid: mondoo-asset-count-in-windows-domain - title: All computer object from the Windows domain + title: All computer objects in the Windows domain mql: | parse.json(content: powershell('$time = (Get-Date).Adddays(-(180));Get-ADComputer -Filter {LastLogonTimeStamp -ge $time} -properties * | select Name,Enabled,OperatingSystem,OperatingSystemVersion,LastLogonDate | ConvertTo-Json').stdout).params