[Security Solution] Update TLS fields used in drag-and-drop (#78815)

This commit is contained in:
Patryk Kopyciński 2020-10-06 22:06:49 +02:00 committed by GitHub
parent c2409365de
commit 6f9f061e8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,7 @@ export const getTlsColumns = (tableId: string): TlsColumns => [
render: (sha1) =>
getRowItemDraggable({
rowItem: sha1,
attrName: 'tls.server_certificate.fingerprint.sha1',
attrName: 'tls.server.hash.sha1',
idPrefix: `${tableId}-${sha1}-table-sha1`,
}),
},
@ -77,7 +77,7 @@ export const getTlsColumns = (tableId: string): TlsColumns => [
render: ({ _id, ja3 }) =>
getRowItemDraggables({
rowItems: ja3,
attrName: 'tls.fingerprints.ja3.hash',
attrName: 'tls.server.ja3s',
idPrefix: `${tableId}-${_id}-table-ja3`,
}),
},
@ -90,7 +90,7 @@ export const getTlsColumns = (tableId: string): TlsColumns => [
render: ({ _id, notAfter }) =>
getRowItemDraggables({
rowItems: notAfter,
attrName: 'tls.server_certificate.not_after',
attrName: 'tls.server.not_after',
idPrefix: `${tableId}-${_id}-table-notAfter`,
render: (validUntil) => (
<LocalizedDateTooltip date={moment(new Date(validUntil)).toDate()}>