fleet/website/api/helpers
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
..
ai Add ai.improvePrompt() (#29660) 2025-05-31 00:30:42 -04:00
fleet-sandbox-cloud-provisioner Website: Add admin page to manage the Fleet Sandbox waitlist (#13111) 2023-08-04 18:32:00 -05:00
github-automations Website: Update Github helper (#19892) 2024-06-20 11:23:50 -05:00
iq Website: update enrichment helper to use new API routes (#28867) 2025-05-06 12:19:25 -05:00
microsoft-proxy Website: Add Microsoft compliance proxy endpoints. (#27403) 2025-06-11 13:01:36 -05:00
salesforce Website: update CRM helper. (#29811) 2025-06-06 18:52:56 -05:00
strings Website: Allow double curly brace templates in Markdown code blocks. (#25179) 2025-01-06 14:07:31 -06:00
create-license-key.js Website: Update license key generator (#22138) 2024-09-16 16:58:09 -05:00
get-extended-osquery-schema.js Website: Use GitHub API to get lastmodifiedAt timestamps (#20859) 2024-08-02 17:10:56 -05:00
redact-user.js Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
send-template-email.js Website: requested changes from website backend code review (#21934) 2024-09-10 14:36:01 -05:00