Skip to content

Commit

Permalink
Put back "severity" and "riskScore" in the form schema
Browse files Browse the repository at this point in the history
The way the information about a rule is shown depends on keys defined on the form schema. This is a potential future bug as there is only 1 field declared in the JSX (e.g. "riskScore") so what is inside the object is expected to be FieldConfig properties.
  • Loading branch information
sebelga committed Aug 26, 2020
1 parent 20e723d commit c529e80
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,16 @@ export const schema: FormSchema = {
),
labelAppend: OptionalFieldLabel,
},
severity: {
value: {},
mapping: {},
isMappingChecked: {},
},
riskScore: {
value: {},
mapping: {},
isMappingChecked: {},
},
references: {
label: i18n.translate(
'xpack.securitySolution.detectionEngine.createRule.stepAboutRule.fieldReferenceUrlsLabel',
Expand Down

0 comments on commit c529e80

Please sign in to comment.