2020-12-02 20:48:03 +00:00
/ * *
* Custom configuration
* ( sails . config . custom )
*
* One - off settings specific to your application .
*
* For more information on custom configuration , visit :
* https : //sailsjs.com/config/custom
* /
module . exports . custom = {
/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* The base URL to use during development . *
* *
2022-05-06 05:12:50 +00:00
* • No trailing slash at the end *
2020-12-02 20:48:03 +00:00
* • ` http:// ` or ` https:// ` at the beginning . *
* *
* > This is for use in custom logic that builds URLs . *
* > It is particularly handy for building dynamic links in emails , *
* > but it can also be used for user - uploaded images , webhooks , etc . *
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2021-05-26 08:24:38 +00:00
baseUrl : 'http://localhost:2024' ,
2020-12-02 20:48:03 +00:00
/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* The TTL ( time - to - live ) for various sorts of tokens before they expire . *
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
passwordResetTokenTTL : 24 * 60 * 60 * 1000 , // 24 hours
emailProofTokenTTL : 24 * 60 * 60 * 1000 , // 24 hours
/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* The extended length that browsers should retain the session cookie *
* if "Remember Me" was checked while logging in . *
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
rememberMeCookieMaxAge : 30 * 24 * 60 * 60 * 1000 , // 30 days
/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Automated email configuration *
* *
* Sandbox Sendgrid credentials for use during development , as well as any *
* other default settings related to "how" and "where" automated emails *
* are sent . *
* *
* ( https : //app.sendgrid.com/settings/api_keys) *
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
// sendgridSecret: 'SG.fake.3e0Bn0qSQVnwb1E4qNPz9JZP5vLZYqjh7sn8S93oSHU',
//--------------------------------------------------------------------------
// /\ Configure this to enable support for automated emails.
// || (Important for password recovery, verification, contact form, etc.)
//--------------------------------------------------------------------------
// The sender that all outgoing emails will appear to come from.
fromEmailAddress : 'noreply@example.com' ,
fromName : 'The NEW_APP_NAME Team' ,
// Email address for receiving support messages & other correspondences.
// > If you're using the default privacy policy, this will be referenced
// > as the contact email of your "data protection officer" for the purpose
// > of compliance with regulations such as GDPR.
internalEmailAddress : 'support+development@example.com' ,
// Whether to require proof of email address ownership any time a new user
// signs up, or when an existing user attempts to change their email address.
verifyEmailAddresses : false ,
/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Billing & payments configuration *
* *
* ( https : //dashboard.stripe.com/account/apikeys) *
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
// stripePublishableKey: 'pk_test_Zzd814nldl91104qor5911gjald',
// stripeSecret: 'sk_test_Zzd814nldl91104qor5911gjald',
//--------------------------------------------------------------------------
// /\ Configure these to enable support for billing features.
// || (Or if you don't need billing, feel free to remove them.)
//--------------------------------------------------------------------------
2022-05-06 05:12:50 +00:00
/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Directly responsible individuals ( DRIs ) whose changes to areas of the *
* code respository ( outside of the core product code ) are auto - approved , *
* even during code freezes . *
* *
* See api / controllers / webhooks / receive - from - github . js for context . *
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2023-02-16 13:38:04 +00:00
githubRepoDRIByPath : { // fleetdm/fleet
2023-01-13 19:42:01 +00:00
'README.md' : [ 'mikermcneil' , 'jarodreyes' , 'mike-j-thomas' , 'zwass' ] , // (github brandfront)
'tools/fleetctl-npm/README.md' : [ 'mikermcneil' , 'mike-j-thomas' , 'jarodreyes' , 'zwass' ] , //« brandfront for fleetctl package on npm
2022-05-06 05:12:50 +00:00
2023-03-18 00:32:34 +00:00
// Directly responsible individual (DRI) automation
'CODEOWNERS' : [ 'zwass' , 'mikermcneil' ] , // (« for changing who reviews is automatically requested from for given paths)
'website/config/custom.js' : [ 'eashaw' , 'mikermcneil' ] , // (« for changing whose changes automatically approve and unfreeze relevant PRs changing given paths)
2023-02-21 08:19:55 +00:00
'.github/workflows' : [ 'zwass' , 'mikermcneil' ] , // (misc GitHub Actions. Note that some are also addressed more specifically below in relevant sections)
2023-03-23 00:21:54 +00:00
'CHANGELOG.md' : [ 'zwass' , 'mikermcneil' ] ,
2023-02-21 08:19:55 +00:00
// GitHub issue templates
'.github/ISSUE_TEMPLATE' : [ 'mikermcneil' , 'lukeheath' , 'hollidayn' ] ,
'.github/ISSUE_TEMPLATE/bug-report.md' : [ 'xpkoala' , 'zhumo' , 'noahtalerman' , 'lukeheath' ] ,
'.github/ISSUE_TEMPLATE/feature-request.md' : [ 'xpkoala' , 'zhumo' , 'noahtalerman' , 'lukeheath' ] ,
'.github/ISSUE_TEMPLATE/smoke-tests.md' : [ 'xpkoala' , 'zhumo' , 'lukeheath' , 'noahtalerman' , 'lukeheath' ] ,
2022-08-11 17:39:53 +00:00
2023-01-13 19:42:01 +00:00
'articles' : [ 'jarodreyes' , 'mike-j-thomas' , 'eashaw' , 'zwass' , 'mikermcneil' ] ,
2022-08-11 17:38:00 +00:00
2023-02-27 22:49:38 +00:00
'handbook' : [ 'mike-j-thomas' , 'eashaw' , 'mikermcneil' , 'zwass' ] , // (default for handbook)
2022-07-25 16:18:58 +00:00
'handbook/company' : 'mikermcneil' ,
2023-02-27 22:49:38 +00:00
'handbook/business-operations' : [ 'hollidayn' , 'mikermcneil' ] ,
2022-07-25 16:18:58 +00:00
'handbook/engineering' : 'zwass' ,
2022-10-18 03:17:16 +00:00
'handbook/product' : [ 'noahtalerman' , 'zhumo' ] ,
2023-01-13 21:28:28 +00:00
'handbook/customers' : [ 'alexmitchelliii' , 'zayhanlon' , 'dherder' ] ,
2023-01-13 19:42:01 +00:00
'handbook/marketing' : [ 'jarodreyes' , 'mike-j-thomas' ] ,
2022-07-27 06:47:16 +00:00
2022-05-06 05:12:50 +00:00
'website' : 'mikermcneil' , // (default for website)
'website/views' : 'eashaw' ,
'website/assets' : 'eashaw' ,
2022-09-02 02:31:15 +00:00
'website/package.json' : 'eashaw' ,
2023-01-11 19:25:55 +00:00
'.github/workflows/deploy-fleet-website.yml' : [ 'eashaw' , 'mikermcneil' ] , // (website deploy script)
'.github/workflows/test-website.yml' : [ 'eashaw' , 'mikermcneil' ] , // (website CI test script)
2023-02-18 01:38:25 +00:00
'website/config/routes.js' : [ 'eashaw' , 'mike-j-thomas' , 'jarodreyes' ] , // (for managing website URLs)
2023-02-27 22:49:38 +00:00
'website/config/policies.js' : [ 'eashaw' , 'mikermcneil' ] , // (for adding new pages and managing permissions)
2023-02-18 01:38:25 +00:00
'website/api/controllers/imagine' : [ 'eashaw' , 'jarodreyes' ] , // landing pages
2023-01-13 19:42:01 +00:00
'docs' : [ 'zwass' , 'mikermcneil' , 'zhumo' , 'jarodreyes' , 'ksatter' ] , // (default for docs)
'docs/images' : [ 'noahtalerman' , 'eashaw' , 'mike-j-thomas' ] ,
2022-12-14 04:30:53 +00:00
'docs/Using-Fleet/REST-API.md' : [ 'ksatter' , 'lukeheath' ] ,
'docs/Contributing/API-for-contributors.md' : [ 'ksatter' , 'lukeheath' ] ,
2022-09-20 03:22:14 +00:00
'docs/Deploying/FAQ.md' : [ 'ksatter' ] ,
'docs/Contributing/FAQ.md' : [ 'ksatter' ] ,
'docs/Using-Fleet/FAQ.md' : [ 'ksatter' ] ,
2022-05-06 05:12:50 +00:00
2023-02-18 01:38:25 +00:00
'docs/01-Using-Fleet/standard-query-library/standard-query-library.yml' : [ 'mikermcneil' , 'zhumo' , 'eashaw' , 'lucasmrod' , 'sharon-fdm' , 'artemist-work' , 'marcosd4h' ] , // (standard query library)
'schema' : [ 'zhumo' , 'eashaw' , 'zwass' , 'mikermcneil' , 'lucasmrod' , 'sharon-fdm' , 'artemist-work' , 'marcosd4h' ] , // (Osquery table schema)
2022-05-06 05:12:50 +00:00
} ,
2023-02-16 13:38:04 +00:00
confidentialGithubRepoDRIByPath : { // fleetdm/confidential
// Folders of configuration files
'mdm_profiles' : [ 'lukeheath' , 'zwass' ] ,
'vpn' : [ 'rfairburn' , 'zwass' ] ,
2023-03-23 03:57:31 +00:00
// Folder that any fleetie (core team member, not consultants) can push to, willy-nilly
2023-02-16 13:38:04 +00:00
'free-for-all' : '*' ,
2023-03-23 03:57:31 +00:00
// Cold outbound strategy (see fleetdm.com/handbook/company/why-this-way for our vision of a better way to sell)
'cold-outbound-strategy.md' : [ 'mikermcneil' ] ,
2023-02-16 13:38:04 +00:00
// Boilerplate
2023-03-23 03:57:31 +00:00
'README.md' : [ 'mikermcneil' ] ,
'CODEOWNERS' : [ 'mikermcneil' ] ,
'.gitignore' : [ 'mikermcneil' , 'zwass' , 'hollidayn' , 'dherder' , 'zayhanlon' , 'lukeheath' , 'zwinnerman-fleetdm' , 'rfairburn' ] ,
2023-02-16 13:38:04 +00:00
// CI/CD workflows
2023-03-23 03:57:31 +00:00
'.github/workflows' : [ 'mikermcneil' , 'zwass' , 'hollidayn' , 'lukeheath' ] ,
2023-02-16 12:01:06 +00:00
2022-12-05 19:58:21 +00:00
// GitHub issue templates
2023-03-22 01:35:44 +00:00
'.github/ISSUE_TEMPLATE' : [ 'mikermcneil' ] ,
2023-02-16 12:01:06 +00:00
2022-12-05 19:58:21 +00:00
} ,
2022-05-06 05:12:50 +00:00
2023-03-18 00:32:34 +00:00
// The version of osquery to use when generating schema docs
// (both in Fleet's query console and on fleetdm.com)
versionOfOsquerySchemaToUseWhenGeneratingDocumentation : '5.8.1' ,
2022-05-06 05:12:50 +00:00
2020-12-02 20:48:03 +00:00
/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Any other custom config this Sails app should use during development . *
2021-05-06 18:46:52 +00:00
* ( and possibly in ALL environments , if not overridden in config / env / ) *
2020-12-02 20:48:03 +00:00
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2021-08-06 07:52:02 +00:00
// Contact form:
// slackWebhookUrlForContactForm: '…',
// GitHub bot:
// githubAccessToken: '…',
// githubBotWebhookSecret: '…',
// slackWebhookUrlForGithubBot: '…',
2022-04-16 00:20:13 +00:00
// mergeFreezeAccessToken: '…',
2021-08-06 07:52:02 +00:00
2021-05-06 18:46:52 +00:00
//…
2020-12-02 20:48:03 +00:00
} ;