mirror of
https://github.com/fleetdm/fleet
synced 2026-05-18 06:28:40 +00:00
This pull request relies on the `mdm-gen-cert` command from https://github.com/fleetdm/fleet/pull/8884. Closes: https://github.com/fleetdm/fleet/issues/8223 Changes: - Updated the deploy Fleet website workflow to: - Add Go as a dependency - Build the mdm-gen-cert binary in `/website/.tools/` - add the `/.tools/` folder to the Heroku app - Added `deliver-apple-csr.js` - an API that: - can be called by making a `POST` request to `/api/v1/deliver-apple-csr` - accepts `csr` as an input - runs the `mdm-gen-cert` command with the `csr` set as an environment variable - returns an `invalidEmailDomain` response if the user's email domain is in the array of banned email domains. - saves the users organization and email address to the website's database - Sends an email to the requesting user's email address with the signed CSR attached as a text file named `apple-apns-request.txt` - Posts a message to a channel in the Fleet Slack. - Added a new model: `CertificateSigningRequests` that contains two required attributes: `emailAddress` and `organization` - Added a new email template `email-signed-csr-for-apns` - Updated routes, policies, eslintrc, and rebuilt cloud-sdk Before this can be merged, we will need to: - [x] Add new config variables in Heroku - [x] `sails.config.custom.mdmVendorCertPem` - [x] `sails.config.custom.mdmVendorKeyPem` - [x] `sails.config.custom.mdmVendorKeyPassphrase` - [x] `sails.config.custom.slackWebhookUrlForMDMSignups` - [x] Add the `CertificateSigningRequests` model to the website's database |
||
|---|---|---|
| .. | ||
| account | ||
| admin | ||
| articles | ||
| customers | ||
| dashboard | ||
| docs | ||
| entrance | ||
| handbook | ||
| legal | ||
| reports | ||
| try-fleet | ||
| webhooks | ||
| create-or-update-one-newsletter-subscription.js | ||
| create-vanta-authorization-request.js | ||
| deliver-apple-csr.js | ||
| deliver-contact-form-message.js | ||
| deliver-demo-signup.js | ||
| deliver-mdm-beta-signup.js | ||
| download-sitemap.js | ||
| unsubscribe-from-all-newsletters.js | ||
| view-connect-vanta.js | ||
| view-contact.js | ||
| view-faq.js | ||
| view-fleet-mdm.js | ||
| view-get-started.js | ||
| view-homepage-or-redirect.js | ||
| view-landing.js | ||
| view-osquery-table-details.js | ||
| view-platform.js | ||
| view-press-kit.js | ||
| view-pricing.js | ||
| view-query-detail.js | ||
| view-query-library.js | ||
| view-sales-one-pager.js | ||
| view-transparency.js | ||
| view-vanta-authorization.js | ||