fleet/website/api/models
Eric 13eeebe548
Website: Add Microsoft compliance proxy endpoints. (#27403)
Changes:
- Created a new database model: `MicrosoftComplianceTenant`. A model
that stores information about complaince tenants
- Added `/policies/is-cloud-customer`: a policy that blocks requests to
microsoft proxy endpoints if a `MS API KEY` header is missing or does
not match a new config variable
(`sails.custom.config.cloudCustomerCompliancePartnerSharedSecret`)
- Added `microsoft-proxy/create-compliance-partner-tenant`: an action
that creates a database record for a new compliance tenant and generates
an API key that is used to authenticate future requests to microsoft
proxy endpoints for an entra tenant.
- Added `microsoft-proxy/get-compliance-partner-settings`: an action
that returns information about Fleet's complaince partner entra
application and the entra tenant's admin consent status (whether or not
a tenant's entra admin has granted permissions to Fleet's compliance
partner application)
- Added `microsoft-proxy/get-tenants-admin-consent-status`: an action
that updates the admin consent status of a compliance tenant record.
- Added `microsoft-proxy/setup-compliance-partner-tenant`: an action
that provisions a compliance tenant, creates a complaince policy for
macOS devices assigns the created policy to the built-in "All users"
user group on the tenants entra instance.
- Added `microsoft-proxy/update-one-devices-compliance-status`: an
action that receives information about a device on a compliance tenant's
Fleet instance, sends that information to their Entra instance, and
returns the messsage ID returned by the asynchronus Entra API.
- Added `microsoft-proxy/get-one-compliance-status-result`: an action
that returns the result of a compliance status update from the Entra
API.
- Added `sails.helpers.microsoft-proxy.get-access-token-and-api-urls` A
helper that gets an access token for a tenant's entra instance and the
URLs of the API endpoints the microsoft proxy actions use for a tenant.
- Added `scripts/send-entra-heartbeat-requests` A script that will run
daily to keep all microsoft compliance integrations provisioned.
-

---------

Co-authored-by: Lucas Rodriguez <lucas@fleetdm.com>
2025-06-11 13:01:36 -05:00
..
AdCampaign.js Website: Add Zapier webhook (#26372) 2025-02-26 11:18:20 -06:00
CertificateSigningRequest.js Update CertificateSigningRequest model (#9585) 2023-01-31 13:47:57 -06:00
HistoricalUsageSnapshot.js Website: Add support for new usage statistic (#28384) 2025-04-24 00:34:21 -05:00
MicrosoftComplianceTenant.js Website: Add Microsoft compliance proxy endpoints. (#27403) 2025-06-11 13:01:36 -05:00
NewsletterSubscription.js Website: Add Newsletter banner and NewsletterSubscription model (#7370) 2022-09-02 17:38:34 -05:00
Platform.js Website: Create Platform model and use platform record to track mergefreeze status. (#13681) 2023-09-05 16:31:40 -05:00
Quote.js Add customer portal and license dispenser to fleetdm.com (#3546) 2022-01-04 20:02:42 -06:00
Subscription.js Add customer portal and license dispenser to fleetdm.com (#3546) 2022-01-04 20:02:42 -06:00
User.js Website: Move query generator out of Admin section (#25301) 2025-01-14 18:09:17 -06:00
VantaConnection.js Website: Add Vanta integration (#9072) 2022-12-21 23:39:39 -06:00