mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 16:39:01 +00:00
Closes: https://github.com/fleetdm/confidential/issues/4057 Changes: - Added the contents of the fleet-vulnerability-dashboard repo to ee/vulnerability-dashboard - Added a github workflow to deploy the vulnerability dashboard on Heroku - Added a github workflow to test changes to the vulnerability-dashboard - Updated the website's custom configuration to enable auto-approvals/review requests to files in the ee/vulnerability-dashboard folder
31 lines
632 B
JavaScript
31 lines
632 B
JavaScript
module.exports = {
|
|
|
|
|
|
friendlyName: 'View account overview',
|
|
|
|
|
|
description: 'Display "Account Overview" page.',
|
|
|
|
|
|
exits: {
|
|
|
|
success: {
|
|
viewTemplatePath: 'pages/account/account-overview',
|
|
}
|
|
|
|
},
|
|
|
|
|
|
fn: async function () {
|
|
|
|
// If billing features are enabled, include our configured Stripe.js
|
|
// public key in the view locals. Otherwise, leave it as undefined.
|
|
return {
|
|
replaceBuiltInAuthWithOkta: (sails.config.custom.oktaClientSecret !== undefined),
|
|
stripePublishableKey: sails.config.custom.enableBillingFeatures? sails.config.custom.stripePublishableKey : undefined,
|
|
};
|
|
|
|
}
|
|
|
|
|
|
};
|