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

web-interface.assets.b6fe2bb5-3821.044f924cd03fbcfbcd72.js.map Maven / Gradle / Ivy

{"version":3,"file":"b6fe2bb5-3821.044f924cd03fbcfbcd72.js","mappings":"8XAsBaA,GAAuCC,EAAAA,EAAAA,IAClD,sCACA,kBAAMC,IAAAA,cAAqB,CACzBC,IAAK,CAAEC,aAAa,QAIXC,GAAqCC,EAAAA,EAAAA,IAChD,sCACA,kBAAMJ,IAAAA,YAAmB,CACvBK,YAAa,CAACP,GACdQ,UAAW,uBACXC,iBAAaC,EAEbC,KALuB,WAMrBC,KAAKT,OAGPU,gBATuB,WAUrB,OAAOD,KAAKH,aAGdN,IAbuB,WAajB,YACYW,EAAAA,EAAAA,IAAM,MAAOC,EAAAA,GAAoBH,KAAKJ,YAE9CQ,MAAK,SAACC,GACZ,EAAKR,YAAcQ,EACnB,EAAKC,QAAQ,EAAKT,sB,opDCtB1B,IAAMU,EAAkBC,IAAAA,IAAWC,EAAAA,EAAAA,YAAwC,SAACC,EAAOC,GAAR,MAAiB,CAAED,MAAOC,EAAKC,MAAOJ,IAAAA,WAAkBE,EAAMG,UAEnIC,EAAAA,SAAAA,I,gdAOW,SAACC,GACd,IAAQF,EAASE,EAAMC,OAAfH,MAGRI,EAFqB,EAAKC,MAAlBD,UAECJ,EAAMM,EAAAA,GAA6BJ,EAAMC,Y,+BAG7B,SAACI,IAGtBH,EAFqB,EAAKC,MAAlBD,UAEC,WAAYT,IAAAA,SAAgBY,O,qCAGvC,WACE,MAAwCpB,KAAKkB,MAArCG,EAAR,EAAQA,gBAAiBC,EAAzB,EAAyBA,WAEzB,OACE,gBAAC,KAAD,KACE,gBAAC,KAAD,CAAKC,GAAI,EAAGC,GAAI,GACd,sBAAIC,UAAWC,EAAAA,EAAAA,OAAf,iBACA,gCACE,gBAAC,KAAD,CAAOC,GAAG,yBACHd,KAAK,QACLD,MAAM,QACNgB,KAAK,OACLC,QAASP,EAAWQ,OAAOC,MAA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C,0HAA0H,WAAa,MAEjfoU,EAAwBE,OAAS,CAChC,QAAW,uBACX,gBAAmB,wBAEpB,W,iFCRIF,E,MAA0B,GAA4B,KAE1DA,EAAwBvD,KAAK,CAACwD,EAAOrU,GAAI,8HAA+H,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,4FAA4F,MAAQ,GAAG,SAAW,2DAA2D,eAAiB,CAAC,8IAA8I,WAAa,MAE7hBoU,EAAwBE,OAAS,CAChC,oBAAuB,uBACvB,qBAAwB,wBAEzB,W,mFCRIF,E,MAA0B,GAA4B,KAE1DA,EAAwBvD,KAAK,CAACwD,EAAOrU,GAAI,iHAAkH,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,gIAAgI,MAAQ,GAAG,SAAW,iDAAiD,eAAiB,CAAC,yGAAyG,WAAa,MAErgBoU,EAAwBE,OAAS,CAChC,MAAS,uBACT,WAAc,wBAEf,W,mFCRIF,E,MAA0B,GAA4B,KAE1DA,EAAwBvD,KAAK,CAACwD,EAAOrU,GAAI,6HAA8H,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,kIAAkI,MAAQ,GAAG,SAAW,iDAAiD,eAAiB,CAAC,oIAAoI,WAAa,MAE9iBoU,EAAwBE,OAAS,CAChC,gBAAmB,wBAEpB","sources":["webpack://graylog-web-interface/./src/stores/event-definitions/AvailableEventDefinitionTypesStore.js","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/EventDetailsForm.jsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/EventConditionForm.css?986b","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/EventConditionForm.jsx","webpack://graylog-web-interface/./src/components/event-definitions/common/EventKeyHelpPopover.jsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/FieldForm.jsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/FieldsList.css?8361","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/FieldsList.jsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/field-value-providers/TemplateFieldValueProviderPreview.css?ab2e","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/field-value-providers/TemplateFieldValueProviderPreview.jsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/field-value-providers/TemplateFieldValueProviderForm.jsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/field-value-providers/CommonFieldValueProviderSummary.css?05d6","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/field-value-providers/CommonFieldValueProviderSummary.jsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/field-value-providers/TemplateFieldValueProviderSummary.jsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/field-value-providers/LookupTableFieldValueProviderForm.jsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/field-value-providers/LookupTableFieldValueProviderFormContainer.tsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/field-value-providers/LookupTableFieldValueProviderSummary.jsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/field-value-providers/index.js","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/FieldsForm.jsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/AddNotificationForm.jsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/NotificationSettingsForm.jsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/NotificationList.jsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/NotificationsForm.css?9041","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/NotificationsForm.jsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/EventDefinitionForm.jsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/EventDefinitionFormContainer.jsx","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/EventConditionForm.css","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/FieldsList.css","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/NotificationsForm.css","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/field-value-providers/CommonFieldValueProviderSummary.css","webpack://graylog-web-interface/./src/components/event-definitions/event-definition-form/field-value-providers/TemplateFieldValueProviderPreview.css"],"sourcesContent":["/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport Reflux from 'reflux';\n\nimport * as URLUtils from 'util/URLUtils';\nimport fetch from 'logic/rest/FetchProvider';\nimport { singletonStore, singletonActions } from 'logic/singleton';\n\nexport const AvailableEventDefinitionTypesActions = singletonActions(\n  'core.AvailableEventDefinitionTypes',\n  () => Reflux.createActions({\n    get: { asyncResult: true },\n  }),\n);\n\nexport const AvailableEventDefinitionTypesStore = singletonStore(\n  'core.AvailableEventDefinitionTypes',\n  () => Reflux.createStore({\n    listenables: [AvailableEventDefinitionTypesActions],\n    sourceUrl: '/events/entity_types',\n    entityTypes: undefined,\n\n    init() {\n      this.get();\n    },\n\n    getInitialState() {\n      return this.entityTypes;\n    },\n\n    get() {\n      const promise = fetch('GET', URLUtils.qualifyUrl(this.sourceUrl));\n\n      promise.then((response) => {\n        this.entityTypes = response;\n        this.trigger(this.entityTypes);\n      });\n    },\n  }),\n);\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport lodash from 'lodash';\n\nimport { Select } from 'components/common';\nimport { Col, ControlLabel, FormGroup, HelpBlock, Row, Input } from 'components/bootstrap';\nimport EventDefinitionPriorityEnum from 'logic/alerts/EventDefinitionPriorityEnum';\nimport * as FormsUtils from 'util/FormsUtils';\n\nimport commonStyles from '../common/commonStyles.css';\n\nconst priorityOptions = lodash.map(EventDefinitionPriorityEnum.properties, (value, key) => ({ value: key, label: lodash.upperFirst(value.name) }));\n\nclass EventDetailsForm extends React.Component {\n  static propTypes = {\n    eventDefinition: PropTypes.object.isRequired,\n    validation: PropTypes.object.isRequired,\n    onChange: PropTypes.func.isRequired,\n  };\n\n  handleChange = (event) => {\n    const { name } = event.target;\n    const { onChange } = this.props;\n\n    onChange(name, FormsUtils.getValueFromInput(event.target));\n  };\n\n  handlePriorityChange = (nextPriority) => {\n    const { onChange } = this.props;\n\n    onChange('priority', lodash.toNumber(nextPriority));\n  };\n\n  render() {\n    const { eventDefinition, validation } = this.props;\n\n    return (\n      \n        \n          

Event Details

\n
\n \n\n Description (Optional)}\n type=\"textarea\"\n help=\"Longer description for this Event Definition.\"\n value={eventDefinition.description}\n onChange={this.handleChange}\n rows={2} />\n\n \n Priority\n \n \n {lodash.get(validation, 'errors.config[0]', 'Choose the type of Condition for this Event.')}\n \n \n \n\n \n \n {this.renderConditionTypeDescriptions()}\n \n \n \n\n {eventDefinitionTypeComponent && (\n <>\n
\n \n {eventDefinitionTypeComponent}\n \n \n )}\n \n );\n }\n}\n\nexport default EventConditionForm;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Popover } from 'components/bootstrap';\n\nclass EventKeyHelpPopover extends React.Component {\n static propTypes = {\n id: PropTypes.string.isRequired,\n };\n\n render() {\n const { id, ...otherProps } = this.props;\n\n return (\n \n

\n Event Keys are Fields used to arrange Events into groups. A group is created for each unique Key, so\n Graylog will generate as many Events as unique Keys are found. Example:\n

\n

\n No Event Keys: One Event for each Login failure message.
\n Event Key username: One Event for each username with a Login failure message.\n

\n
\n );\n }\n}\n\nexport default EventKeyHelpPopover;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\nimport lodash from 'lodash';\n\nimport {\n OverlayTrigger,\n Icon,\n Select,\n} from 'components/common';\nimport {\n Button,\n ButtonToolbar,\n Col,\n ControlLabel,\n FormControl,\n FormGroup,\n HelpBlock,\n InputGroup,\n Input,\n Row,\n} from 'components/bootstrap';\nimport EventKeyHelpPopover from 'components/event-definitions/common/EventKeyHelpPopover';\nimport * as FormsUtils from 'util/FormsUtils';\n\nimport commonStyles from '../common/commonStyles.css';\n\nconst requiredFields = [\n 'fieldName',\n 'config.providers[0].type',\n];\n\nclass FieldForm extends React.Component {\n static propTypes = {\n fieldName: PropTypes.string,\n config: PropTypes.object,\n currentUser: PropTypes.object.isRequired,\n keys: PropTypes.array.isRequired,\n onChange: PropTypes.func.isRequired,\n onCancel: PropTypes.func.isRequired,\n };\n\n static defaultProps = {\n fieldName: '',\n config: {},\n };\n\n constructor(props) {\n super(props);\n const keyIndex = props.keys.indexOf(props.fieldName);\n\n this.state = {\n fieldName: props.fieldName,\n config: { data_type: 'string', providers: [], ...props.config },\n isKey: keyIndex >= 0,\n keyPosition: keyIndex >= 0 ? keyIndex + 1 : props.keys.length + 1,\n validation: { errors: {} },\n };\n }\n\n getProviderPlugin = (type) => {\n if (type === undefined) {\n return {};\n }\n\n return PluginStore.exports('fieldValueProviders').find((edt) => edt.type === type) || {};\n };\n\n getConfigProviderType = (config, defaultValue) => {\n return lodash.get(config, 'providers[0].type', defaultValue);\n };\n\n validate = () => {\n const { isKey, keyPosition, config } = this.state;\n const errors = {};\n\n const providerType = this.getConfigProviderType(config);\n let pluginRequiredFields = [];\n\n if (providerType) {\n const providerPlugin = this.getProviderPlugin(providerType);\n\n pluginRequiredFields = providerPlugin.requiredFields;\n }\n\n requiredFields.forEach((requiredField) => {\n if (!lodash.get(this.state, requiredField)) {\n errors[requiredField] = 'Field cannot be empty.';\n }\n });\n\n if (isKey && (!lodash.isNumber(keyPosition) || Number(keyPosition) < 1)) {\n errors.key_position = 'Field must be a positive number.';\n }\n\n pluginRequiredFields.forEach((requiredField) => {\n if (!lodash.get(config, `providers[0].${requiredField}`)) {\n errors[requiredField] = 'Field cannot be empty.';\n }\n });\n\n const errorNumber = Object.keys(errors).length;\n\n if (errorNumber > 0) {\n this.setState({ validation: { errors: errors } });\n }\n\n return errorNumber === 0;\n };\n\n handleSubmit = () => {\n if (this.validate()) {\n const { fieldName: prevFieldName, onChange } = this.props;\n const { fieldName, config, isKey, keyPosition } = this.state;\n\n onChange(prevFieldName, fieldName, config, isKey, keyPosition - 1);\n }\n };\n\n handleFieldNameChange = (event) => {\n const nextFieldName = FormsUtils.getValueFromInput(event.target);\n\n this.setState({ fieldName: nextFieldName });\n };\n\n handleConfigChange = (nextConfig) => {\n this.setState({ config: nextConfig });\n };\n\n handleProviderTypeChange = (nextProvider) => {\n const { config } = this.state;\n const providerPlugin = this.getProviderPlugin(nextProvider);\n const defaultProviderConfig = providerPlugin.defaultConfig || {};\n const nextConfig = {\n ...config,\n providers: [{\n ...defaultProviderConfig,\n type: nextProvider,\n }],\n };\n\n this.handleConfigChange(nextConfig);\n };\n\n handleKeySortChange = (event) => {\n const nextPosition = event.target.value === '' ? '' : FormsUtils.getValueFromInput(event.target);\n\n this.setState({ keyPosition: nextPosition });\n };\n\n toggleKey = (event) => {\n const checked = FormsUtils.getValueFromInput(event.target);\n\n this.setState({ isKey: checked });\n };\n\n renderFieldValueProviderForm = () => {\n const { fieldName, config, validation } = this.state;\n const { currentUser } = this.props;\n\n const providerType = this.getConfigProviderType(config);\n\n if (!providerType) {\n return null;\n }\n\n const providerPlugin = this.getProviderPlugin(providerType);\n\n return (providerPlugin.formComponent\n ? React.createElement(providerPlugin.formComponent, {\n fieldName: fieldName,\n config: config,\n onChange: this.handleConfigChange,\n validation: validation,\n currentUser: currentUser,\n })\n :
Selected provider is not available.
\n );\n };\n\n formatFieldValueProviders = () => {\n return PluginStore.exports('fieldValueProviders')\n .map((type) => ({ label: type.displayName, value: type.type }));\n };\n\n render() {\n const { fieldName: prevFieldName, onCancel } = this.props;\n const { fieldName, isKey, keyPosition, config, validation } = this.state;\n\n return (\n \n \n

\n {prevFieldName ? `Custom Field \"${fieldName}\"` : 'New Custom Field'}\n

\n\n \n\n \n \n Use Field as Event Key \n }>\n \n \n \n \n \n \n \n \n \n \n {validation.errors.key_position || 'Indicates if this Field should be a Key and its order.'}\n \n \n\n \n Field Data Type\n String\n \n\n \n Set Value From\n \n\n \n \n Require all template values to be set\n \n Check this option to validate that all variables used in the Template have values.\n \n \n \n \n \n
\n );\n }\n}\n\nexport default TemplateFieldValueProviderForm;\n","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!./CommonFieldValueProviderSummary.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!./CommonFieldValueProviderSummary.css\";\n export default content && content.locals ? content.locals : undefined;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Table, Button } from 'components/bootstrap';\nimport { Icon } from 'components/common';\n\nimport styles from './CommonFieldValueProviderSummary.css';\n\nclass CommonFieldValueProviderSummary extends React.Component {\n static propTypes = {\n fieldName: PropTypes.string.isRequired,\n config: PropTypes.object.isRequired,\n keys: PropTypes.array.isRequired,\n children: PropTypes.element.isRequired,\n };\n\n state = {\n displayDetails: false,\n };\n\n toggleDisplayDetails = () => {\n const { displayDetails } = this.state;\n\n this.setState({ displayDetails: !displayDetails });\n };\n\n render() {\n const { fieldName, config, keys, children } = this.props;\n const { displayDetails } = this.state;\n\n return (\n
\n
{fieldName}
\n
\n \n {displayDetails && (\n \n \n \n \n \n \n \n \n \n \n {children}\n \n
Is Key?{keys.includes(fieldName) ? 'Yes' : 'No'}
Data Type{config.data_type}
\n )}\n
\n
\n );\n }\n}\n\nexport default CommonFieldValueProviderSummary;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nimport CommonFieldValueProviderSummary from './CommonFieldValueProviderSummary';\n\nclass TemplateFieldValueProviderSummary extends React.Component {\n static propTypes = {\n fieldName: PropTypes.string.isRequired,\n config: PropTypes.object.isRequired,\n keys: PropTypes.array.isRequired,\n };\n\n render() {\n const { config } = this.props;\n\n return (\n \n <>\n \n Value source\n Template\n \n \n Template\n {config.providers[0].template}\n \n \n Validate that all Template values are set\n {config.providers[0].require_values ? 'Yes' : 'No'}\n \n \n \n );\n }\n}\n\nexport default TemplateFieldValueProviderSummary;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport lodash from 'lodash';\n\nimport { Col, ControlLabel, FormGroup, HelpBlock, Row } from 'components/bootstrap';\nimport { Select } from 'components/common';\nimport * as FormsUtils from 'util/FormsUtils';\nimport { naturalSortIgnoreCase } from 'util/SortUtils';\n\nclass LookupTableFieldValueProviderForm extends React.Component {\n static propTypes = {\n allFieldTypes: PropTypes.array.isRequired,\n config: PropTypes.object.isRequired,\n validation: PropTypes.object.isRequired,\n lookupTables: PropTypes.array.isRequired,\n onChange: PropTypes.func.isRequired,\n };\n\n static type = 'lookup-v1';\n\n static defaultConfig = {\n table_name: '',\n key_field: '',\n };\n\n static requiredFields = [\n 'table_name',\n 'key_field',\n ];\n\n formatMessageFields = lodash.memoize(\n (fieldTypes) => {\n return fieldTypes\n .sort((ftA, ftB) => naturalSortIgnoreCase(ftA.name, ftB.name))\n .map((fieldType) => {\n return {\n label: `${fieldType.name} – ${fieldType.value.type.type}`,\n value: fieldType.name,\n };\n });\n },\n (fieldTypes) => fieldTypes.map((ft) => ft.name).join('-'),\n );\n\n propagateChanges = (key, value) => {\n const { config, onChange } = this.props;\n const nextProviders = lodash.cloneDeep(config.providers);\n const lookupProvider = nextProviders.find((provider) => provider.type === LookupTableFieldValueProviderForm.type);\n\n lookupProvider[key] = value;\n onChange({ ...config, providers: nextProviders });\n };\n\n handleChange = (event) => {\n const { name } = event.target;\n const value = FormsUtils.getValueFromInput(event.target);\n\n this.propagateChanges(name, value);\n };\n\n handleSelectChange = (key) => {\n return (nextLookupTable) => {\n this.propagateChanges(key, nextLookupTable);\n };\n };\n\n formatLookupTables = (lookupTables) => {\n return lookupTables\n .sort((lt1, lt2) => naturalSortIgnoreCase(lt1.title, lt2.title))\n .map((table) => ({ label: table.title, value: table.name }));\n };\n\n render() {\n const { allFieldTypes, config, lookupTables, validation } = this.props;\n const provider = config.providers.find((p) => p.type === LookupTableFieldValueProviderForm.type);\n\n return (\n \n \n \n Select Lookup Table\n \n \n {validation.errors.key_field || 'Message Field name whose value will be used as Lookup Table Key.'}\n \n \n \n \n );\n }\n}\n\nexport default LookupTableFieldValueProviderForm;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useEffect } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Col, Row } from 'components/bootstrap';\nimport { Spinner } from 'components/common';\nimport { useStore } from 'stores/connect';\nimport { isPermitted } from 'util/PermissionsMixin';\nimport { LookupTablesActions, LookupTablesStore } from 'stores/lookup-tables/LookupTablesStore';\nimport useFieldTypes from 'views/logic/fieldtypes/useFieldTypes';\nimport { ALL_MESSAGES_TIMERANGE } from 'views/Constants';\n\nimport LookupTableFieldValueProviderForm from './LookupTableFieldValueProviderForm';\n\nconst LOOKUP_PERMISSIONS = [\n 'lookuptables:read',\n];\n\ntype Props = {\n config: {},\n validation: {},\n currentUser: {\n permissions: Array,\n },\n onChange: () => void,\n}\n\nconst LookupTableFieldValueProviderFormContainer = ({ currentUser, ...otherProps }: Props) => {\n const { data: fieldTypes } = useFieldTypes([], ALL_MESSAGES_TIMERANGE);\n const lookupTables = useStore(LookupTablesStore);\n\n useEffect(() => {\n if (!isPermitted(currentUser.permissions, LOOKUP_PERMISSIONS)) {\n return;\n }\n\n LookupTablesActions.searchPaginated(1, 0, undefined, false);\n }, [currentUser.permissions]);\n\n if (!isPermitted(currentUser.permissions, LOOKUP_PERMISSIONS)) {\n return (\n \n \n

No Lookup Tables found.

\n \n
\n );\n }\n\n const isLoading = !fieldTypes || !lookupTables.tables;\n\n if (isLoading) {\n return ;\n }\n\n return (\n \n );\n};\n\nLookupTableFieldValueProviderFormContainer.propTypes = {\n config: PropTypes.object.isRequired,\n validation: PropTypes.object.isRequired,\n currentUser: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n};\n\nexport default LookupTableFieldValueProviderFormContainer;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { IfPermitted } from 'components/common';\n\nimport CommonFieldValueProviderSummary from './CommonFieldValueProviderSummary';\n\nclass LookupTableFieldValueProviderSummary extends React.Component {\n static propTypes = {\n fieldName: PropTypes.string.isRequired,\n config: PropTypes.object.isRequired,\n keys: PropTypes.array.isRequired,\n };\n\n render() {\n const { config } = this.props;\n const provider = config.providers[0];\n\n return (\n \n \n <>\n \n Value source\n Lookup Table\n \n \n Lookup Table\n {provider.table_name}\n \n \n Lookup Table Key Field\n {provider.key_field}\n \n \n \n \n );\n }\n}\n\nexport default LookupTableFieldValueProviderSummary;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { PluginManifest, PluginStore } from 'graylog-web-plugin/plugin';\n\nimport TemplateFieldValueProviderForm from './TemplateFieldValueProviderForm';\nimport TemplateFieldValueProviderSummary from './TemplateFieldValueProviderSummary';\nimport LookupTableFieldValueProviderForm from './LookupTableFieldValueProviderForm';\nimport LookupTableFieldValueProviderFormContainer from './LookupTableFieldValueProviderFormContainer';\nimport LookupTableFieldValueProviderSummary from './LookupTableFieldValueProviderSummary';\n\nPluginStore.register(new PluginManifest({}, {\n fieldValueProviders: [\n {\n type: TemplateFieldValueProviderForm.type,\n displayName: 'Template',\n formComponent: TemplateFieldValueProviderForm,\n summaryComponent: TemplateFieldValueProviderSummary,\n defaultConfig: TemplateFieldValueProviderForm.defaultConfig,\n requiredFields: TemplateFieldValueProviderForm.requiredFields,\n },\n {\n type: LookupTableFieldValueProviderForm.type,\n displayName: 'Lookup Table',\n formComponent: LookupTableFieldValueProviderFormContainer,\n summaryComponent: LookupTableFieldValueProviderSummary,\n defaultConfig: LookupTableFieldValueProviderForm.defaultConfig,\n requiredFields: LookupTableFieldValueProviderForm.requiredFields,\n },\n ],\n}));\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport lodash from 'lodash';\n\nimport { OverlayTrigger, Icon } from 'components/common';\nimport { Alert, Col, Row, Button } from 'components/bootstrap';\nimport EventKeyHelpPopover from 'components/event-definitions/common/EventKeyHelpPopover';\n\nimport FieldForm from './FieldForm';\nimport FieldsList from './FieldsList';\n\n// Import built-in Field Value Providers\nimport {} from './field-value-providers';\n\nimport commonStyles from '../common/commonStyles.css';\n\nclass FieldsForm extends React.Component {\n static propTypes = {\n eventDefinition: PropTypes.object.isRequired,\n currentUser: PropTypes.object.isRequired,\n validation: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n };\n\n state = {\n editField: undefined,\n showFieldForm: false,\n };\n\n removeCustomField = (fieldName) => {\n const { eventDefinition, onChange } = this.props;\n const nextFieldSpec = lodash.omit(eventDefinition.field_spec, fieldName);\n\n onChange('field_spec', nextFieldSpec);\n\n // Filter out all non-existing field names from key_spec\n const fieldNames = Object.keys(nextFieldSpec);\n const nextKeySpec = eventDefinition.key_spec.filter((key) => fieldNames.includes(key));\n\n onChange('key_spec', nextKeySpec);\n };\n\n addCustomField = (prevFieldName, fieldName, config, isKey, keyPosition) => {\n const { eventDefinition, onChange } = this.props;\n const nextFieldSpec = (prevFieldName === fieldName\n ? lodash.cloneDeep(eventDefinition.field_spec)\n : lodash.omit(eventDefinition.field_spec, prevFieldName));\n\n nextFieldSpec[fieldName] = config;\n onChange('field_spec', nextFieldSpec);\n\n // Filter out all non-existing field names from key_spec and the current field name\n const fieldNames = Object.keys(nextFieldSpec);\n let nextKeySpec = eventDefinition.key_spec.filter((key) => fieldNames.includes(key) && key !== fieldName);\n\n if (isKey) {\n // Add key to its new position\n nextKeySpec = [...nextKeySpec.slice(0, keyPosition), fieldName, ...nextKeySpec.slice(keyPosition)];\n }\n\n onChange('key_spec', nextKeySpec);\n\n this.toggleFieldForm();\n };\n\n toggleFieldForm = (fieldName) => {\n const { showFieldForm } = this.state;\n\n this.setState({ showFieldForm: !showFieldForm, editField: showFieldForm ? undefined : fieldName });\n };\n\n render() {\n const { eventDefinition, validation, currentUser } = this.props;\n const { editField, showFieldForm } = this.state;\n\n if (showFieldForm) {\n return (\n \n );\n }\n\n const fieldErrors = lodash.get(validation, 'errors.field_spec', []);\n const keyErrors = lodash.get(validation, 'errors.key_spec', []);\n const errors = [...fieldErrors, ...keyErrors];\n\n return (\n \n \n

Event Fields (optional)

\n

\n Include additional information in Events generated from this Event Definition by adding custom Fields. That\n can help you search Events or having more context when receiving Notifications.\n

\n\n {errors.length > 0 && (\n \n

Fields with errors

\n

Please correct the following errors before saving this Event Definition:

\n
    \n {errors.map((error) => {\n return
  • {error}
  • ;\n })}\n
\n
\n )}\n\n {Object.keys(eventDefinition.field_spec).length > 0 && (\n
\n
\n Keys\n }>\n \n \n
\n
{eventDefinition.key_spec.length > 0 ? eventDefinition.key_spec.join(', ') : 'No Keys configured yet.'}
\n
\n )}\n \n \n
\n );\n }\n}\n\nexport default FieldsForm;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Select } from 'components/common';\nimport { Button, ButtonToolbar, Col, ControlLabel, FormGroup, HelpBlock, Row } from 'components/bootstrap';\nimport EventNotificationFormContainer\n from 'components/event-notifications/event-notification-form/EventNotificationFormContainer';\n\nimport commonStyles from '../common/commonStyles.css';\n\nclass AddNotificationForm extends React.Component {\n static propTypes = {\n notifications: PropTypes.array.isRequired,\n onChange: PropTypes.func.isRequired,\n onCancel: PropTypes.func.isRequired,\n hasCreationPermissions: PropTypes.bool,\n };\n\n static defaultProps = {\n hasCreationPermissions: false,\n };\n\n state = {\n selectedNotification: undefined,\n displayNewNotificationForm: false,\n };\n\n handleNewNotificationSubmit = (promise) => {\n const { onChange } = this.props;\n\n promise.then((notification) => onChange(notification.id));\n };\n\n handleSubmit = () => {\n const { onChange } = this.props;\n const { selectedNotification } = this.state;\n\n onChange(selectedNotification);\n };\n\n handleSelectNotificationChange = (nextNotificationId) => {\n if (nextNotificationId === 'create') {\n this.setState({ displayNewNotificationForm: true });\n\n return;\n }\n\n this.setState({ selectedNotification: nextNotificationId, displayNewNotificationForm: false });\n };\n\n formatNotifications = (notifications) => {\n const { hasCreationPermissions } = this.props;\n const formattedNotifications = notifications.map((n) => ({ label: n.title, value: n.id }));\n\n if (hasCreationPermissions) {\n formattedNotifications.unshift({\n label: 'Create New Notification...',\n value: 'create',\n });\n }\n\n return formattedNotifications;\n };\n\n render() {\n const { notifications, onCancel } = this.props;\n const { displayNewNotificationForm, selectedNotification } = this.state;\n const doneButton = displayNewNotificationForm\n ? \n : ;\n\n return (\n \n \n

Add Notification

\n\n
\n \n Choose Notification\n \n \n \n \n Number of messages to be included in Notifications.\n \n
\n \n );\n }\n}\n\nexport default NotificationSettingsForm;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\n\nimport { Button } from 'components/bootstrap';\nimport { DataTable } from 'components/common';\n\nclass NotificationList extends React.Component {\n static propTypes = {\n eventDefinition: PropTypes.object.isRequired,\n notifications: PropTypes.array.isRequired,\n onAddNotificationClick: PropTypes.func.isRequired,\n onRemoveNotificationClick: PropTypes.func.isRequired,\n };\n\n getNotificationPlugin = (type) => {\n if (type === undefined) {\n return {};\n }\n\n return PluginStore.exports('eventNotificationTypes').find((n) => n.type === type) || {};\n };\n\n handleRemoveClick = (notificationId) => {\n return () => {\n const { onRemoveNotificationClick } = this.props;\n\n onRemoveNotificationClick(notificationId);\n };\n };\n\n notificationFormatter = (notification) => {\n // Guard in case it is a new Notification or the Notification was deleted\n if (notification.missing) {\n return (\n \n Could not find information for Notification {notification.title}\n \n \n \n \n );\n }\n\n const plugin = this.getNotificationPlugin(notification.config.type);\n\n return (\n \n {notification.title}\n {plugin.displayName || notification.config.type}\n \n \n \n \n );\n };\n\n render() {\n const { eventDefinition, notifications, onAddNotificationClick } = this.props;\n\n const definitionNotifications = eventDefinition.notifications\n .map((edn) => {\n return notifications.find((n) => n.id === edn.notification_id) || {\n title: edn.notification_id,\n missing: true,\n };\n });\n const addNotificationButton = (\n \n );\n\n if (definitionNotifications.length === 0) {\n return (\n <>\n

\n This Event is not configured to trigger any Notifications yet.\n

\n {addNotificationButton}\n \n );\n }\n\n return (\n <>\n \n {addNotificationButton}\n \n );\n }\n}\n\nexport default NotificationList;\n","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!./NotificationsForm.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!./NotificationsForm.css\";\n export default content && content.locals ? content.locals : undefined;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport lodash from 'lodash';\n\nimport { LinkContainer } from 'components/common/router';\nimport { Alert, Col, Row, Button } from 'components/bootstrap';\nimport { Icon } from 'components/common';\nimport Routes from 'routing/Routes';\nimport { isPermitted } from 'util/PermissionsMixin';\n\nimport AddNotificationForm from './AddNotificationForm';\nimport NotificationSettingsForm from './NotificationSettingsForm';\nimport NotificationList from './NotificationList';\nimport styles from './NotificationsForm.css';\n\nimport commonStyles from '../common/commonStyles.css';\n\nclass NotificationsForm extends React.Component {\n static propTypes = {\n eventDefinition: PropTypes.object.isRequired,\n notifications: PropTypes.array.isRequired,\n defaults: PropTypes.object.isRequired,\n currentUser: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n };\n\n state = {\n showAddNotificationForm: false,\n };\n\n toggleAddNotificationForm = () => {\n const { showAddNotificationForm } = this.state;\n\n this.setState({ showAddNotificationForm: !showAddNotificationForm });\n };\n\n handleAssignNotification = (nextNotification) => {\n const { onChange, eventDefinition } = this.props;\n const nextNotifications = lodash.cloneDeep(eventDefinition.notifications);\n\n nextNotifications.push({\n notification_id: nextNotification,\n });\n\n onChange('notifications', nextNotifications);\n this.toggleAddNotificationForm();\n };\n\n handleRemoveNotification = (notificationId) => {\n const { onChange, eventDefinition } = this.props;\n const notification = eventDefinition.notifications.find((n) => n.notification_id === notificationId);\n const nextNotifications = lodash.without(eventDefinition.notifications, notification);\n\n onChange('notifications', nextNotifications);\n };\n\n render() {\n const { eventDefinition, notifications, defaults, currentUser, onChange } = this.props;\n const { showAddNotificationForm } = this.state;\n\n const notificationIds = eventDefinition.notifications.map((n) => n.notification_id);\n const missingPermissions = notificationIds.filter((id) => !isPermitted(currentUser.permissions, `eventnotifications:read:${id}`));\n\n if (missingPermissions.length > 0) {\n return (\n \n \n \n Missing Notifications Permissions for:
{missingPermissions.join(', ')}\n
\n \n
\n );\n }\n\n if (notifications.length < 1) {\n return (\n \n \n

No Notifications found.

\n \n
\n );\n }\n\n if (showAddNotificationForm) {\n return (\n \n );\n }\n\n return (\n \n \n \n \n \n \n \n

Notifications (optional)

\n

\n Is this Event important enough that requires your attention? Make it an Alert by adding Notifications to it.\n

\n\n \n \n \n \n \n
\n );\n }\n}\n\nexport default NotificationsForm;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport lodash from 'lodash';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\n\nimport { Button, ButtonToolbar, Col, Row } from 'components/bootstrap';\nimport { Wizard } from 'components/common';\n\nimport EventDetailsForm from './EventDetailsForm';\nimport EventConditionForm from './EventConditionForm';\nimport FieldsForm from './FieldsForm';\nimport NotificationsForm from './NotificationsForm';\nimport EventDefinitionSummary from './EventDefinitionSummary';\n\nconst STEP_KEYS = ['event-details', 'condition', 'fields', 'notifications', 'summary'];\n\nclass EventDefinitionForm extends React.Component {\n static propTypes = {\n action: PropTypes.oneOf(['create', 'edit']),\n eventDefinition: PropTypes.object.isRequired,\n currentUser: PropTypes.object.isRequired,\n validation: PropTypes.object.isRequired,\n entityTypes: PropTypes.object.isRequired,\n notifications: PropTypes.array.isRequired,\n defaults: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n onCancel: PropTypes.func.isRequired,\n onSubmit: PropTypes.func.isRequired,\n };\n\n static defaultProps = {\n action: 'edit',\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n activeStep: STEP_KEYS[0],\n };\n }\n\n // TODO: Add validation when step changes\n handleStepChange = (nextStep) => {\n this.setState({ activeStep: nextStep });\n };\n\n handleSubmit = (event) => {\n const { activeStep } = this.state;\n\n if (event) {\n event.preventDefault();\n }\n\n if (activeStep === lodash.last(STEP_KEYS)) {\n const { onSubmit } = this.props;\n\n onSubmit();\n }\n };\n\n getConditionPlugin = (type) => {\n if (type === undefined) {\n return {};\n }\n\n return PluginStore.exports('eventDefinitionTypes').find((edt) => edt.type === type) || {};\n };\n\n renderButtons = (activeStep) => {\n if (activeStep === lodash.last(STEP_KEYS)) {\n const { onCancel } = this.props;\n\n return (\n
\n \n \n \n \n
\n );\n }\n\n const activeStepIndex = STEP_KEYS.indexOf(activeStep);\n const previousStep = activeStepIndex > 0 ? STEP_KEYS[activeStepIndex - 1] : undefined;\n const nextStep = STEP_KEYS[activeStepIndex + 1];\n\n return (\n
\n \n
\n \n
\n
\n );\n };\n\n render() {\n const {\n action,\n entityTypes,\n eventDefinition,\n notifications,\n onChange,\n validation,\n defaults,\n currentUser,\n } = this.props;\n const { activeStep } = this.state;\n\n const defaultStepProps = {\n key: eventDefinition.id, // Recreate components if ID changed\n action,\n entityTypes,\n eventDefinition,\n onChange,\n validation,\n currentUser,\n };\n\n const eventDefinitionType = this.getConditionPlugin(eventDefinition.config.type);\n\n const steps = [\n {\n key: STEP_KEYS[0],\n title: 'Event Details',\n component: ,\n },\n {\n key: STEP_KEYS[1],\n title: lodash.defaultTo(eventDefinitionType.displayName, 'Condition'),\n component: ,\n },\n {\n key: STEP_KEYS[2],\n title: 'Fields',\n component: ,\n },\n {\n key: STEP_KEYS[3],\n title: 'Notifications',\n component: ,\n },\n {\n key: STEP_KEYS[4],\n title: 'Summary',\n component: (\n \n ),\n },\n ];\n\n return (\n \n \n \n {this.renderButtons(activeStep)}\n \n \n );\n }\n}\n\nexport default EventDefinitionForm;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport lodash from 'lodash';\n\nimport history from 'util/History';\nimport Routes from 'routing/Routes';\nimport connect from 'stores/connect';\nimport EventDefinitionPriorityEnum from 'logic/alerts/EventDefinitionPriorityEnum';\nimport { ConfirmLeaveDialog, Spinner } from 'components/common';\nimport { AvailableEventDefinitionTypesStore } from 'stores/event-definitions/AvailableEventDefinitionTypesStore';\nimport { ConfigurationsActions } from 'stores/configurations/ConfigurationsStore';\nimport { CurrentUserStore } from 'stores/users/CurrentUserStore';\nimport { EventDefinitionsActions } from 'stores/event-definitions/EventDefinitionsStore';\nimport { EventNotificationsActions, EventNotificationsStore } from 'stores/event-notifications/EventNotificationsStore';\n\nimport EventDefinitionForm from './EventDefinitionForm';\n\n// Import built-in plugins\nimport {} from 'components/event-definitions/event-definition-types';\n\nimport {} from 'components/event-notifications/event-notification-types';\n\nclass EventDefinitionFormContainer extends React.Component {\n static propTypes = {\n action: PropTypes.oneOf(['create', 'edit']),\n eventDefinition: PropTypes.object,\n currentUser: PropTypes.object.isRequired,\n entityTypes: PropTypes.object,\n notifications: PropTypes.object.isRequired,\n onEventDefinitionChange: PropTypes.func,\n };\n\n static defaultProps = {\n action: 'edit',\n eventDefinition: {\n title: '',\n description: '',\n priority: EventDefinitionPriorityEnum.NORMAL,\n config: {},\n field_spec: {},\n key_spec: [],\n notification_settings: {\n grace_period_ms: 0,\n // Defaults to system setting for notification backlog size\n backlog_size: null,\n },\n notifications: [],\n alert: false,\n },\n entityTypes: undefined,\n onEventDefinitionChange: () => {},\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n eventDefinition: props.eventDefinition,\n validation: {\n errors: {},\n },\n eventsClusterConfig: undefined,\n isDirty: false,\n };\n }\n\n componentDidMount() {\n this.fetchClusterConfig();\n this.fetchNotifications();\n }\n\n fetchNotifications = () => {\n EventNotificationsActions.listAll();\n };\n\n fetchClusterConfig = () => {\n ConfigurationsActions.listEventsClusterConfig().then((config) => this.setState({ eventsClusterConfig: config }));\n };\n\n handleChange = (key, value) => {\n this.setState((state) => {\n const nextEventDefinition = lodash.cloneDeep(state.eventDefinition);\n\n nextEventDefinition[key] = value;\n const { onEventDefinitionChange } = this.props;\n\n onEventDefinitionChange(nextEventDefinition);\n\n return { eventDefinition: nextEventDefinition, isDirty: true };\n });\n };\n\n handleCancel = () => {\n history.push(Routes.ALERTS.DEFINITIONS.LIST);\n };\n\n handleSubmitSuccessResponse = () => {\n this.setState({ isDirty: false }, () => history.push(Routes.ALERTS.DEFINITIONS.LIST));\n };\n\n handleSubmitFailureResponse = (errorResponse) => {\n const { body } = errorResponse.additional;\n\n if (errorResponse.status === 400) {\n if (body && body.failed) {\n this.setState({ validation: body });\n\n return;\n }\n\n if (body.type && body.type === 'ApiError') {\n if (body.message.includes('org.graylog.events.conditions.Expression')\n || body.message.includes('org.graylog.events.conditions.Expr')\n || body.message.includes('org.graylog.events.processor.aggregation.AggregationSeries')) {\n this.setState({\n validation: {\n errors: { conditions: ['Aggregation condition is not valid'] },\n },\n });\n\n return;\n }\n\n if (body.message.includes('embryonic')) {\n this.setState({\n validation: {\n errors: { query_parameters: ['Query parameters must be declared'] },\n },\n });\n }\n }\n }\n };\n\n handleSubmit = () => {\n const { action } = this.props;\n const { eventDefinition } = this.state;\n\n if (action === 'create') {\n EventDefinitionsActions.create(eventDefinition)\n .then(this.handleSubmitSuccessResponse, this.handleSubmitFailureResponse);\n } else {\n EventDefinitionsActions.update(eventDefinition.id, eventDefinition)\n .then(this.handleSubmitSuccessResponse, this.handleSubmitFailureResponse);\n }\n };\n\n render() {\n const { action, entityTypes, notifications, currentUser } = this.props;\n const { isDirty, eventDefinition, eventsClusterConfig, validation } = this.state;\n const isLoading = !entityTypes || !notifications.all || !eventsClusterConfig;\n\n if (isLoading) {\n return ;\n }\n\n const defaults = { default_backlog_size: eventsClusterConfig.events_notification_default_backlog };\n\n return (\n <>\n {isDirty && (\n \n )}\n \n \n );\n }\n}\n\nexport default connect(EventDefinitionFormContainer, {\n entityTypes: AvailableEventDefinitionTypesStore,\n notifications: EventNotificationsStore,\n currentUser: CurrentUserStore,\n}, ({ currentUser, ...otherProps }) => ({\n ...otherProps,\n currentUser: currentUser.currentUser,\n}));\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".bK_1OgMCpxX5cNvo_KNH {\\n margin-top: 35px;\\n}\\n\\n.r3CTNJIqazOh7HmXypag {\\n margin-left: 15px;\\n margin-right: 15px;\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/event-definitions/event-definition-form/EventConditionForm.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,gBAAgB;AACpB;;AAEA;IACI,iBAAiB;IACjB,kBAAkB;AACtB\",\"sourcesContent\":[\":local(.conditionTypesInfo) {\\n margin-top: 35px;\\n}\\n\\n:local(.hr) {\\n margin-left: 15px;\\n margin-right: 15px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"conditionTypesInfo\": \"bK_1OgMCpxX5cNvo_KNH\",\n\t\"hr\": \"r3CTNJIqazOh7HmXypag\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".ZziANjUKFVuuqMSwLmtB {\\n width: 150px;\\n}\\n\\n.Xylx_0ZpoJHGYL_KE6gZ:not(:last-child):after {\\n content: ', ';\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/event-definitions/event-definition-form/FieldsList.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,YAAY;AAChB;;AAEA;IACI,aAAa;AACjB\",\"sourcesContent\":[\":local(.actions) {\\n width: 150px;\\n}\\n\\n:local(.providerOptions):not(:last-child):after {\\n content: ', ';\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"actions\": \"ZziANjUKFVuuqMSwLmtB\",\n\t\"providerOptions\": \"Xylx_0ZpoJHGYL_KE6gZ\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".NLt8T3UO0KICJTv1bzhC {\\n float: right;\\n margin-top: 10px;\\n}\\n\\n.cWTw12YX10UuN5KAKoIX {\\n margin-top: 35px;\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/event-definitions/event-definition-form/NotificationsForm.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,YAAY;IACZ,gBAAgB;AACpB;;AAEA;IACI,gBAAgB;AACpB\",\"sourcesContent\":[\":local(.manageNotifications) {\\n float: right;\\n margin-top: 10px;\\n}\\n\\n:local(.notificationSettings) {\\n margin-top: 35px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"manageNotifications\": \"NLt8T3UO0KICJTv1bzhC\",\n\t\"notificationSettings\": \"cWTw12YX10UuN5KAKoIX\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".m1bai3Kt45u9j3MtW7hT {\\n margin-bottom: 20px;\\n}\\n\\n.EJT6DlEKjyYuxyouwsaR {\\n table-layout: fixed;\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/event-definitions/event-definition-form/field-value-providers/CommonFieldValueProviderSummary.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,mBAAmB;AACvB;;AAEA;IACI,mBAAmB;AACvB\",\"sourcesContent\":[\":local(.field) {\\n margin-bottom: 20px;\\n}\\n\\n:local(.fixedTable) {\\n table-layout: fixed;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"field\": \"m1bai3Kt45u9j3MtW7hT\",\n\t\"fixedTable\": \"EJT6DlEKjyYuxyouwsaR\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".DqBObyDjYFhBwILgUW_Q .panel-body {\\n padding: 20px 10px;\\n}\\n\\n.DqBObyDjYFhBwILgUW_Q ul {\\n padding-left: 1em;\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/event-definitions/event-definition-form/field-value-providers/TemplateFieldValueProviderPreview.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,kBAAkB;AACtB;;AAEA;IACI,iBAAiB;AACrB\",\"sourcesContent\":[\":local(.templatePreview) .panel-body {\\n padding: 20px 10px;\\n}\\n\\n:local(.templatePreview) ul {\\n padding-left: 1em;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"templatePreview\": \"DqBObyDjYFhBwILgUW_Q\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n"],"names":["AvailableEventDefinitionTypesActions","singletonActions","Reflux","get","asyncResult","AvailableEventDefinitionTypesStore","singletonStore","listenables","sourceUrl","entityTypes","undefined","init","this","getInitialState","fetch","URLUtils","then","response","trigger","priorityOptions","lodash","EventDefinitionPriorityEnum","value","key","label","name","EventDetailsForm","event","target","onChange","props","FormsUtils","nextPriority","eventDefinition","validation","md","lg","className","commonStyles","id","type","bsStyle","errors","title","help","handleChange","required","description","rows","controlId","options","priority","handlePriorityChange","clearable","React","PropTypes","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","EventConditionForm","PluginStore","find","edt","sort","edt1","edt2","edt1Order","sortOrder","edt2Order","Number","MAX_SAFE_INTEGER","naturalSort","displayName","sortedEventDefinitionTypes","map","nextType","getConditionPlugin","defaultConfig","typeDescriptions","eventDefinitionType","config","eventDefinitionTypeComponent","formComponent","validationState","placeholder","formattedEventDefinitionTypes","handleEventDefinitionTypeChange","lgOffset","HelpPanel","styles","renderConditionTypeDescriptions","currentUser","EventKeyHelpPopover","otherProps","requiredFields","FieldForm","defaultValue","state","isKey","keyPosition","providerType","getConfigProviderType","pluginRequiredFields","getProviderPlugin","forEach","requiredField","key_position","errorNumber","Object","keys","length","setState","validate","prevFieldName","fieldName","nextFieldName","nextConfig","nextProvider","defaultProviderConfig","providers","handleConfigChange","nextPosition","checked","providerPlugin","keyIndex","indexOf","data_type","onCancel","handleFieldNameChange","placement","overlay","bsSize","toggleKey","handleKeySortChange","disabled","ignoreAccents","handleProviderTypeChange","formatFieldValueProviders","matchProp","renderFieldValueProviderForm","onClick","handleSubmit","HEADERS","FieldsList","p","onAddFieldClick","onEditFieldClick","onRemoveFieldClick","configKeys","filter","JSON","stringify","fields","fieldProviderPlugin","getFieldValueProviderPlugin","providerFormatter","handleRemoveClick","handleEditClick","fieldNames","addCustomFieldButton","handleAddFieldClick","headers","dataRowFormatter","fieldFormatter","filterKeys","TemplateFieldValueProviderPreview","header","TemplateFieldValueProviderForm","nextProviders","provider","helpText","href","template","require_values","CommonFieldValueProviderSummary","displayDetails","children","toggleDisplayDetails","condensed","hover","includes","TemplateFieldValueProviderSummary","LookupTableFieldValueProviderForm","fieldTypes","ftA","ftB","naturalSortIgnoreCase","fieldType","ft","join","propagateChanges","nextLookupTable","lookupTables","lt1","lt2","table","allFieldTypes","table_name","handleSelectChange","formatLookupTables","key_field","formatMessageFields","allowCreate","LOOKUP_PERMISSIONS","LookupTableFieldValueProviderFormContainer","useFieldTypes","ALL_MESSAGES_TIMERANGE","data","useStore","LookupTablesStore","useEffect","isPermitted","permissions","LookupTablesActions","tables","text","propTypes","LookupTableFieldValueProviderSummary","PluginManifest","fieldValueProviders","summaryComponent","FieldsForm","editField","showFieldForm","nextFieldSpec","field_spec","nextKeySpec","key_spec","slice","toggleFieldForm","addCustomField","fieldErrors","keyErrors","error","removeCustomField","AddNotificationForm","selectedNotification","displayNewNotificationForm","promise","notification","nextNotificationId","notifications","hasCreationPermissions","formattedNotifications","n","unshift","doneButton","form","handleSelectNotificationChange","formatNotifications","EventNotificationFormContainer","action","formId","onSubmit","handleNewNotificationSubmit","embedded","TIME_UNITS","NotificationSettingsForm","onSettingsChange","nextNotificationSettings","notification_settings","nextValue","nextUnit","enabled","durationInMs","moment","asMilliseconds","gracePeriodDuration","gracePeriodUnit","isBacklogSizeEnabled","backlogSize","backlog_size","gracePeriodMs","grace_period_ms","gracePeriod","extractDurationAndUnit","defaultBacklogSize","defaults","default_backlog_size","effectiveBacklogSize","duration","unit","update","handleGracePeriodChange","defaultEnabled","units","toggleBacklogSize","handleBacklogSizeChange","NotificationList","notificationId","onRemoveNotificationClick","missing","colSpan","plugin","getNotificationPlugin","onAddNotificationClick","definitionNotifications","edn","notification_id","addNotificationButton","sortByKey","notificationFormatter","NotificationsForm","showAddNotificationForm","nextNotification","nextNotifications","push","toggleAddNotificationForm","missingPermissions","handleAssignNotification","to","Routes","handleRemoveNotification","mdOffset","STEP_KEYS","EventDefinitionForm","nextStep","activeStep","preventDefault","activeStepIndex","previousStep","handleStepChange","defaultStepProps","steps","component","EventDefinitionSummary","onStepChange","horizontal","justified","containerClassName","hidePreviousNextButtons","renderButtons","EventDefinitionFormContainer","EventNotificationsActions","ConfigurationsActions","eventsClusterConfig","nextEventDefinition","onEventDefinitionChange","isDirty","history","errorResponse","body","additional","status","failed","message","conditions","query_parameters","EventDefinitionsActions","handleSubmitSuccessResponse","handleSubmitFailureResponse","fetchClusterConfig","fetchNotifications","all","events_notification_default_backlog","question","handleCancel","alert","connect","EventNotificationsStore","CurrentUserStore","___CSS_LOADER_EXPORT___","module","locals"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy