Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security Solution] Incorrect timestamp shown for the "description" comment in Timeline's Notes tab #112497

Open
andrew-goldstein opened this issue Sep 17, 2021 · 2 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting Security Solution Threat Hunting Team

Comments

@andrew-goldstein
Copy link
Contributor

Describe the bug:

When a saved timeline is re-opened, an incorrect timestamp is shown for the "description" comment in Timeline's Notes tab.

Kibana/Elasticsearch Stack version:

7.15

Steps to reproduce:

  1. Navigate to the Security Solution

  2. Click Untitled timeline to open Timeline

  3. Enter the following query: host.name: *

  4. Give the Timeline a Title (name) to save it

  5. Click the Add notes for this event button on any row, and enter the following note:

This note was added before the timeline had a description
  1. Add a description to the Timeline

  2. Once again, click the Add notes for this event button on a different row, and enter the following note:

This note was added after the timeline had a description
  1. Visit the Notes tab

Expected result

  • The note containing the description appears as the top comment
  • All notes are displayed with the expected relative times, as shown in the following screenshot:

expected

  1. Click the + icon and choose Create new timeline to clear the current timeline

Expected result

A new, untitled timeline is created

  1. Click the + icon, and then click Open Timeline...

  2. Open the timeline you previously created

  3. Click the Notes tab

Expected results

  • The note containing the description appears as the top comment
  • All notes are displayed with the expected relative times

Actual results

  • The note containing the description appears as the top comment
  • An incorrect timestamp is shown for the "description" comment in Timeline's Notes tab, per the following screenshot:

actual

Above: The top "description" comment shows 18 seconds ago instead of the correct relative time

@andrew-goldstein andrew-goldstein added bug Fixes for quality problems that affect the customer experience triage_needed Team:Threat Hunting Security Solution Threat Hunting Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. labels Sep 17, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting Security Solution Threat Hunting Team
Projects
None yet
Development

No branches or pull requests

5 participants