All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.b999a7e7-2.9472d5d0a285679cf68d.js.map Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
{"version":3,"sources":["webpack:///./src/components/event-notifications/event-notification-types/CommonNotificationSummary.css?b456","webpack:///./src/components/event-notifications/event-notification-types/CommonNotificationSummary.css","webpack:///./src/components/event-notifications/event-notification-types/EmailNotificationSummary.css","webpack:///./src/components/event-notifications/event-notification-types/LegacyNotificationCommonStyles.css","webpack:///./src/components/event-notifications/event-notification-types/LegacyNotificationCommonStyles.css?22db","webpack:///./src/components/event-notifications/event-notification-types/EmailNotificationSummary.css?4a8c","webpack:///./src/components/event-notifications/event-notification-types/EmailNotificationForm.jsx","webpack:///./src/components/event-notifications/event-notification-types/EmailNotificationFormContainer.jsx","webpack:///./src/components/event-notifications/event-notification-types/CommonNotificationSummary.jsx","webpack:///./src/components/event-notifications/event-notification-types/EmailNotificationSummary.jsx","webpack:///./src/components/event-notifications/event-notification-types/HttpNotificationForm.jsx","webpack:///./src/components/event-notifications/event-notification-types/HttpNotificationSummary.jsx","webpack:///./src/components/event-notifications/event-notification-types/LegacyNotificationForm.jsx","webpack:///./src/components/event-notifications/event-notification-types/LegacyNotificationFormContainer.jsx","webpack:///./src/components/event-notifications/event-notification-types/LegacyNotificationSummary.jsx","webpack:///./src/components/event-notifications/event-notification-types/LegacyNotificationSummaryContainer.jsx","webpack:///./src/components/event-notifications/event-notification-types/index.js"],"names":["content","module","i","options","transform","undefined","locals","exports","push","EmailNotificationForm","key","value","props","config","onChange","nextConfig","lodash","cloneDeep","event","name","target","propagateChange","FormsUtils","getValueFromInput","nextValue","split","users","map","user","label","username","full_name","this","validation","id","type","bsStyle","errors","sender","help","get","handleChange","required","subject","controlId","validationState","recipients","className","Array","isArray","user_recipients","join","placeholder","formatUsers","handleRecipientsChange","email_recipients","addLabelText","allowCreate","body_template","mode","theme","handleBodyTemplateChange","React","Component","PropTypes","object","isRequired","func","array","CurrentUserStore","CombinedProvider","UsersStore","EmailNotificationFormContainer","currentUser","PermissionsMixin","isPermitted","permissions","loadUsers","then","setState","state","text","connect","CommonNotificationSummary","displayDetails","notification","definitionNotification","children","title","notification_id","bsSize","onClick","toggleDisplayDetails","condensed","hover","styles","fixedTable","description","string","element","EmailNotificationSummary","bodyPreview","HttpNotificationForm","url","validationMessage","HttpNotificationSummary","LegacyNotificationForm","newValues","nextConfiguration","configuration","propagateMultiChange","legacyTypes","Object","keys","typeName","legacyNotificationType","defaultConfiguration","forEach","configKey","default_value","nextLegacyNotificationType","callback_type","getDefaultConfiguration","legacyType","configFields","configField","configValue","handleFormFieldChange","callbackType","typeData","renderNotificationForm","commonStyles","legacyNotificationAlert","matchProp","handleSelectNotificationChange","formatLegacyTypes","EventNotificationsStore","EventNotificationsActions","LegacyNotificationFormContainer","notifications","allLegacyTypes","listAllLegacyTypes","LegacyNotificationSummary","configurationValues","typeConfiguration","entries","human_name","LegacyNotificationSummaryContainer","PluginStore","register","PluginManifest","eventNotificationTypes","displayName","formComponent","summaryComponent","defaultConfig"],"mappings":"qGACA,IAAIA,EAAU,EAAQ,YAEA,iBAAZA,IAAsBA,EAAU,CAAC,CAACC,EAAOC,EAAIF,EAAS,MAOhE,IAAIG,EAAU,CAAC,KAAM,EAErB,eAPIC,EAQJ,gBAAqBC,GAER,EAAQ,WAAR,CAAmEL,EAASG,GAEtFH,EAAQM,SAAQL,EAAOM,QAAUP,EAAQM,S,kCCjB5CC,QAAUN,EAAOM,QAAU,EAAQ,WAAR,EAA+D,IAKlFC,KAAK,CAACP,EAAOC,EAAI,wEAAyE,KAGlGK,QAAQD,OAAS,CAChB,WAAc,4B,gCCTfC,QAAUN,EAAOM,QAAU,EAAQ,WAAR,EAA+D,IAKlFC,KAAK,CAACP,EAAOC,EAAI,+GAAgH,KAGzIK,QAAQD,OAAS,CAChB,YAAe,4B,gCCThBC,QAAUN,EAAOM,QAAU,EAAQ,WAAR,EAA+D,IAKlFC,KAAK,CAAC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OACxB0E,cAAe3E,IAAUC,OAAOC,WAChCoB,uBAAwBtB,IAAUC,OAAOC,a,GALvCiF,G,eAQkB,CACpB9D,aAAc,KAkBHH,mBAAQiE,GAAoC,CACzDR,cAAeH,KC7BjBY,cAAYC,SAAS,IAAIC,iBAAe,GAAI,CAC1CC,uBAAwB,CACtB,CACEpH,KAAM,wBACNqH,YAAa,qBACbC,cAAejF,EACfkF,iBAAkBtD,GAClBuD,cAAelJ,EAAsBkJ,eAEvC,CACExH,KAAM,uBACNqH,YAAa,oBACbC,cAAenD,GACfoD,iBAAkBjD,GAClBkD,cAAerD,GAAqBqD,eAEtC,CACExH,KAAM,wCACNqH,YAAa,yBACbC,cAAef,GACfgB,iBAAkBP,GAClBQ,cAAejD,GAAuBiD","file":"b999a7e7-2.9472d5d0a285679cf68d.js","sourcesContent":["\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--10-1!./CommonNotificationSummary.css\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--10-1!./CommonNotificationSummary.css\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--10-1!./CommonNotificationSummary.css\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"._1rcdikuS1k2z55DW2_AURV{table-layout:fixed;overflow-wrap:break-word}\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"fixedTable\": \"_1rcdikuS1k2z55DW2_AURV\"\n};","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"._2RReCI5doWsql2r5ISauB-{font-family:monospace;font-size:12px;overflow-wrap:break-word;white-space:pre-wrap}\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"bodyPreview\": \"_2RReCI5doWsql2r5ISauB-\"\n};","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"._1QKX45vsfYHFmZvJQYO5pI{margin-bottom:15px;overflow-wrap:break-word}\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"legacyNotificationAlert\": \"_1QKX45vsfYHFmZvJQYO5pI\"\n};","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--10-1!./LegacyNotificationCommonStyles.css\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--10-1!./LegacyNotificationCommonStyles.css\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--10-1!./LegacyNotificationCommonStyles.css\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--10-1!./EmailNotificationSummary.css\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--10-1!./EmailNotificationSummary.css\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--10-1!./EmailNotificationSummary.css\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { ControlLabel, FormGroup, HelpBlock } from 'components/graylog';\nimport lodash from 'lodash';\n\nimport { MultiSelect, SourceCodeEditor } from 'components/common';\nimport { Input } from 'components/bootstrap';\nimport FormsUtils from 'util/FormsUtils';\n\n// TODO: Default body template should come from the server\nconst DEFAULT_BODY_TEMPLATE = `--- [Event Definition] ---------------------------\nTitle:       \\${event_definition_title}\nDescription: \\${event_definition_description}\nType:        \\${event_definition_type}\n--- [Event] --------------------------------------\nTimestamp:            \\${event.timestamp}\nMessage:              \\${event.message}\nSource:               \\${event.source}\nKey:                  \\${event.key}\nPriority:             \\${event.priority}\nAlert:                \\${event.alert}\nTimestamp Processing: \\${event.timestamp}\nTimerange Start:      \\${event.timerange_start}\nTimerange End:        \\${event.timerange_end}\nFields:\n\\${foreach event.fields field}  \\${field.key}: \\${field.value}\n\\${end}\n\\${if backlog}\n--- [Backlog] ------------------------------------\nLast messages accounting for this alert:\n\\${foreach backlog message}\n\\${message}\n\\${end}\n\\${end}\n`;\n\nclass EmailNotificationForm extends React.Component {\n  static propTypes = {\n    config: PropTypes.object.isRequired,\n    validation: PropTypes.object.isRequired,\n    onChange: PropTypes.func.isRequired,\n    users: PropTypes.array.isRequired,\n  };\n\n  static defaultConfig = {\n    sender: '', // TODO: Default sender should come from the server. The default should be empty or the address configured in the email server settings\n    // eslint-disable-next-line no-template-curly-in-string\n    subject: 'Graylog event notification: ${event_definition_title}', // TODO: Default subject should come from the server\n    body_template: DEFAULT_BODY_TEMPLATE, // TODO: Default body template should come from the server\n    user_recipients: [],\n    email_recipients: [],\n  };\n\n  propagateChange = (key, value) => {\n    const { config, onChange } = this.props;\n    const nextConfig = lodash.cloneDeep(config);\n    nextConfig[key] = value;\n    onChange(nextConfig);\n  };\n\n  handleChange = (event) => {\n    const { name } = event.target;\n    this.propagateChange(name, FormsUtils.getValueFromInput(event.target));\n  };\n\n  handleBodyTemplateChange = (nextValue) => {\n    this.propagateChange('body_template', nextValue);\n  };\n\n  handleRecipientsChange = (key) => {\n    return (nextValue) => this.propagateChange(key, nextValue === '' ? [] : nextValue.split(','));\n  };\n\n  formatUsers = (users) => {\n    return users.map((user) => ({ label: `${user.username} (${user.full_name})`, value: user.username }));\n  };\n\n  render() {\n    const { config, users, validation } = this.props;\n\n    return (\n      <>\n        \n        \n        \n          User recipient(s) (Optional)\n          \n          \n            {lodash.get(validation, 'errors.recipients[0]', 'Select Graylog users that will receive this Notification.')}\n          \n        \n\n        \n          Email recipient(s) (Optional)\n          \n          \n            {lodash.get(validation, 'errors.recipients[0]', 'Add email addresses that will receive this Notification.')}\n          \n        \n        \n          Body Template\n          \n          \n            {lodash.get(validation, 'errors.body_template[0]', 'The template that will be used to generate the email body.')}\n          \n        \n      \n    );\n  }\n}\n\nexport default EmailNotificationForm;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Spinner } from 'components/common';\n\nimport PermissionsMixin from 'util/PermissionsMixin';\nimport CombinedProvider from 'injection/CombinedProvider';\nimport connect from 'stores/connect';\n\nimport EmailNotificationForm from './EmailNotificationForm';\n\nconst { CurrentUserStore } = CombinedProvider.get('CurrentUser');\nconst { UsersStore } = CombinedProvider.get('Users');\n\nclass EmailNotificationFormContainer extends React.Component {\n  static propTypes = {\n    currentUser: PropTypes.object.isRequired,\n    config: PropTypes.object.isRequired,\n    validation: PropTypes.object.isRequired,\n    onChange: PropTypes.func.isRequired,\n  };\n\n  state = {\n    users: undefined,\n  };\n\n  componentDidMount() {\n    this.loadUsers();\n  }\n\n  loadUsers = () => {\n    const { currentUser } = this.props;\n    if (PermissionsMixin.isPermitted(currentUser.permissions, 'users:list')) {\n      UsersStore.loadUsers()\n        .then((users) => {\n          this.setState({ users: users });\n        });\n    } else {\n      this.setState({ users: [] });\n    }\n  };\n\n  render() {\n    const { users } = this.state;\n\n    if (!users) {\n      return 

;\n }\n return ;\n }\n}\n\nexport default connect(EmailNotificationFormContainer,\n { currentUser: CurrentUserStore },\n ({ currentUser }) => ({ currentUser: currentUser ? currentUser.currentUser : currentUser }));\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Table, Button } from 'components/graylog';\nimport { Icon } from 'components/common';\n\nimport styles from './CommonNotificationSummary.css';\n\nclass CommonNotificationSummary extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n notification: PropTypes.object.isRequired,\n definitionNotification: PropTypes.object.isRequired,\n children: PropTypes.element.isRequired,\n };\n\n state = {\n displayDetails: false,\n };\n\n toggleDisplayDetails = () => {\n const { displayDetails } = this.state;\n this.setState({ displayDetails: !displayDetails });\n };\n\n render() {\n const { type, notification, definitionNotification, children } = this.props;\n const { displayDetails } = this.state;\n return (\n <>\n

{notification.title || definitionNotification.notification_id}

\n
\n
{type}
\n
\n \n {displayDetails && (\n \n \n \n \n \n \n {children}\n \n
Description{notification.description || 'No description given'}
\n )}\n
\n
\n \n );\n }\n}\n\nexport default CommonNotificationSummary;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Well } from 'components/graylog';\n\nimport CommonNotificationSummary from './CommonNotificationSummary';\n\nimport styles from './EmailNotificationSummary.css';\n\nclass EmailNotificationSummary extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n notification: PropTypes.object,\n definitionNotification: PropTypes.object.isRequired,\n };\n\n static defaultProps = {\n notification: {},\n };\n\n render() {\n const { notification } = this.props;\n return (\n \n <>\n \n Sender\n {notification.config.sender}\n \n \n Subject\n {notification.config.subject}\n \n \n User recipients\n {notification.config.user_recipients.join(', ') || 'No users will receive this notification.'}\n \n \n Email recipients\n \n {notification.config.email_recipients.join(', ') || 'No email addresses are configured to receive this notification.'}\n \n \n \n Email Body\n \n \n {notification.config.body_template || Empty body}\n \n \n \n \n \n );\n }\n}\n\nexport default EmailNotificationSummary;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport lodash from 'lodash';\nimport { URLWhiteListInput } from 'components/common';\nimport FormsUtils from 'util/FormsUtils';\n\nclass HttpNotificationForm extends React.Component {\n static propTypes = {\n config: PropTypes.object.isRequired,\n validation: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n };\n\n propagateChange = (key, value) => {\n const { config, onChange } = this.props;\n const nextConfig = lodash.cloneDeep(config);\n nextConfig[key] = value;\n onChange(nextConfig);\n };\n\n handleChange = (event) => {\n const { name } = event.target;\n this.propagateChange(name, FormsUtils.getValueFromInput(event.target));\n };\n\n static defaultConfig = {\n url: '',\n }\n\n render() {\n const { config, validation } = this.props;\n\n return (\n <>\n \n \n );\n }\n}\n\nexport default HttpNotificationForm;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport CommonNotificationSummary from './CommonNotificationSummary';\n\nclass HttpNotificationSummary extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n notification: PropTypes.object,\n definitionNotification: PropTypes.object.isRequired,\n };\n\n static defaultProps = {\n notification: {},\n };\n\n render() {\n const { notification } = this.props;\n\n return (\n \n <>\n \n URL\n {notification.config.url}\n \n \n \n );\n }\n}\n\nexport default HttpNotificationSummary;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Alert, ControlLabel, FormGroup, HelpBlock } from 'components/graylog';\nimport lodash from 'lodash';\n\nimport { Select } from 'components/common';\nimport { ConfigurationFormField } from 'components/configurationforms';\n\nimport commonStyles from './LegacyNotificationCommonStyles.css';\n\nclass LegacyNotificationForm extends React.Component {\n static propTypes = {\n config: PropTypes.object.isRequired,\n validation: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n legacyTypes: PropTypes.object.isRequired,\n };\n\n static defaultConfig = {\n callback_type: '',\n configuration: {},\n };\n\n propagateMultiChange = (newValues) => {\n const { config, onChange } = this.props;\n const nextConfig = { ...config, ...newValues };\n onChange(nextConfig);\n };\n\n propagateChange = (key, value) => {\n const { config } = this.props;\n const nextConfiguration = { ...config.configuration, [key]: value };\n this.propagateMultiChange({ configuration: nextConfiguration });\n };\n\n formatLegacyTypes = (legacyTypes) => {\n return Object.keys(legacyTypes)\n .map((typeName) => ({ label: `Legacy ${legacyTypes[typeName].name}`, value: typeName }));\n };\n\n getDefaultConfiguration = (legacyNotificationType) => {\n const { legacyTypes } = this.props;\n const { configuration } = legacyTypes[legacyNotificationType];\n const defaultConfiguration = {};\n Object.keys(configuration).forEach((configKey) => {\n defaultConfiguration[configKey] = configuration[configKey].default_value;\n });\n\n return defaultConfiguration;\n };\n\n handleSelectNotificationChange = (nextLegacyNotificationType) => {\n this.propagateMultiChange({\n callback_type: nextLegacyNotificationType,\n configuration: this.getDefaultConfiguration(nextLegacyNotificationType),\n });\n };\n\n handleFormFieldChange = (key, value) => {\n this.propagateChange(key, value);\n };\n\n renderNotificationForm(config, legacyType) {\n const { configuration } = legacyType;\n\n const configFields = Object.keys(configuration).map((configKey) => {\n const configField = configuration[configKey];\n const configValue = config.configuration[configKey];\n\n return (\n \n );\n });\n\n return (\n
\n {configFields}\n
\n );\n }\n\n render() {\n const { config, legacyTypes, validation } = this.props;\n const callbackType = config.callback_type;\n const typeData = legacyTypes[callbackType];\n\n let content;\n if (typeData) {\n content = this.renderNotificationForm(config, typeData);\n } else if (callbackType) {\n content = (\n \n Unknown legacy alarm callback type: {callbackType} Please make sure the plugin is installed.\n \n );\n }\n\n return (\n <>\n
\n \n Choose Legacy Notification\n