projectDetails.js 698 B

123456789101112131415161718192021222324
  1. import {Project} from './project';
  2. export function ProjectDetails(params = {}) {
  3. return Project({
  4. subjectTemplate: '[$project] ${tag:level}: $title',
  5. subjectPrefix: '[my-org]',
  6. digestsMinDelay: 5,
  7. digestsMaxDelay: 60,
  8. dataScrubber: false,
  9. dataScrubberDefaults: false,
  10. scrubIPAddresses: false,
  11. resolveAge: 48,
  12. sensitiveFields: ['creditcard', 'ssn'],
  13. safeFields: ['business-email', 'company'],
  14. storeCrashReports: false,
  15. allowedDomains: ['example.com', 'https://example.com'],
  16. scrapeJavaScript: true,
  17. securityToken: 'security-token',
  18. securityTokenHeader: 'x-security-header',
  19. verifySSL: true,
  20. features: [],
  21. ...params,
  22. });
  23. }