Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a query to check if the system is MDM managed #137

Closed
wants to merge 1 commit into from
Closed

Conversation

tas50
Copy link
Member

@tas50 tas50 commented Jan 26, 2024

Useful bit of information for workstations

Useful bit of information for workstations

Signed-off-by: Tim Smith <[email protected]>
- uid: mondoo-macos-mdm-managed
title: MDM managed
mql: |
command('/usr/bin/profiles status -type enrollment | grep "MDM enrollment"').stdout.contains('Yes')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
command('/usr/bin/profiles status -type enrollment | grep "MDM enrollment"').stdout.contains('Yes')
command('/usr/bin/profiles status -type enrollment').stdout

@tas50 create addition. i would prefer to write more in the style to collect the data rather than to write as a check

@tas50 tas50 closed this Apr 22, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 22, 2024
@tas50
Copy link
Member Author

tas50 commented Apr 22, 2024

Closing this in favor of doing this in the asset overview policy

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants