Skip to content

Commit

Permalink
[Security Solution][DQD] add nested field items for incompatible and …
Browse files Browse the repository at this point in the history
…same family fields

Addresses elastic#184037

- Add `incompatibleFieldItems` and `sameFamilyFieldItems` as nested fields with required attributes.
  • Loading branch information
kapral18 committed Jun 3, 2024
1 parent ee4b8ea commit b43912a
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,19 @@ export const resultsFieldMap: FieldMap = {
totalFieldCount: { type: 'long', required: true },
ecsFieldCount: { type: 'long', required: true },
customFieldCount: { type: 'long', required: true },
incompatibleFieldItems: { type: 'nested', required: true, array: true },
'incompatibleFieldItems.fieldName': { type: 'keyword', required: true },
'incompatibleFieldItems.expectedValue': { type: 'keyword', required: true },
'incompatibleFieldItems.actualValue': { type: 'keyword', required: true },
'incompatibleFieldItems.description': { type: 'keyword', required: true },
'incompatibleFieldItems.reason': { type: 'keyword', required: true },
incompatibleFieldCount: { type: 'long', required: true },
sameFamilyFieldCount: { type: 'long', required: true },
sameFamilyFieldItems: { type: 'nested', required: true, array: true },
'sameFamilyFieldItems.fieldName': { type: 'keyword', required: true },
'sameFamilyFieldItems.expectedValue': { type: 'keyword', required: true },
'sameFamilyFieldItems.actualValue': { type: 'keyword', required: true },
'sameFamilyFieldItems.description': { type: 'keyword', required: true },
sameFamilyFields: { type: 'keyword', required: true, array: true },
unallowedMappingFields: { type: 'keyword', required: true, array: true },
unallowedValueFields: { type: 'keyword', required: true, array: true },
Expand Down

0 comments on commit b43912a

Please sign in to comment.