Skip to content

Exclude uninitialized macOS hosts in Vanta sync script#12478

Merged
eashaw merged 2 commits intomainfrom
website-exclude-uninitialized-macs-from-vanta-script
Jun 23, 2023
Merged

Exclude uninitialized macOS hosts in Vanta sync script#12478
eashaw merged 2 commits intomainfrom
website-exclude-uninitialized-macs-from-vanta-script

Conversation

@eashaw
Copy link
Copy Markdown
Contributor

@eashaw eashaw commented Jun 23, 2023

Closes: #12450

Changes:

  • Updated the send-data-to-vanta script to exclude hosts that have an mdm.enrollment_status set to Pending

zwass
zwass previously approved these changes Jun 23, 2023
Copy link
Copy Markdown
Member

@zwass zwass left a comment

Choose a reason for hiding this comment

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

lgtm, thanks Eric!

macOsHostToSyncWithVanta.isManaged = true;
}
// If the host is pending MDM enrollment, then it has not yet been initialized/enrolled in the Fleet instance and we'll exclude it from the hosts we sync with Vanta.
// More info about pending hosts: https://github.com/fleetdm/fleet/blob/3cc7c971c2c24e28d06323c329475ae32e9a8198/docs/Using-Fleet/MDM-setup.md#pending-hosts
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

// If this host's MDM status is pending (MDM is not yet fully turned on for this host), then it doesn't have comprehensive vitals nor a complete host details page thus we'll exclude it from the hosts we sync with Vanta.
// More info about pending hosts: https://github.com/fleetdm/fleet/blob/3cc7c971c2c24e28d06323c329475ae32e9a8198/docs/Using-Fleet/MDM-setup.md#pending-hosts

@eashaw eashaw merged commit 22b8b2c into main Jun 23, 2023
@eashaw eashaw deleted the website-exclude-uninitialized-macs-from-vanta-script branch June 23, 2023 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not yet initialized ADE mac devices are sent to Vanta integration, triggering failures

4 participants