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]Copy to Clipboard not working for the Non-ECS Field #162784

Closed
ghost opened this issue Jul 31, 2023 · 7 comments
Closed

[Security Solution]Copy to Clipboard not working for the Non-ECS Field #162784

ghost opened this issue Jul 31, 2023 · 7 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience fixed impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. QA:Validated Issue has been validated by QA Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Explore Team:Threat Hunting Security Solution Threat Hunting Team v8.9.1 v8.10.0

Comments

@ghost
Copy link

ghost commented Jul 31, 2023

originally found by @aarju

Describe the bug:
Copy to Clipboard not working for the Non-ECS Field

Kibana/Elasticsearch Stack version
Version: 8.9.0

Browser and Browser OS Version:
Firefox for windows OS
Version: 115.0.3 (64-bit)

Elastic Endpoint Version:
8.9.0

Original install method:
BC5 Build summary: https://staging.elastic.co/8.9.0-77186d10/summary-8.9.0.html

Functional Area:
Alert Table

Initial Setup:

  • Alert Data need to be generated on Kibana with non ecs field

Steps to reproduce

  • Navigate to Alert Page
  • Find the non ecs field
  • hover the mouse and click on copy to clipboard icon
  • Observed that copy to clipboard is not working on the non ecs field

Current behavior

  • copy to clipboard is not working on the non ecs field

Expected behavior:

  • copy to clipboard should work for the non ecs field

Screenshots:

20230731-0925-59.3075391.mp4

Errors in browser console:
N/A

Any additional context (logs, chat logs, magical formulas, etc.):

N/A

@ghost ghost added bug Fixes for quality problems that affect the customer experience triage_needed impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. labels Jul 31, 2023
@elasticmachine
Copy link
Contributor

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

@machadoum machadoum self-assigned this Jul 31, 2023
@machadoum machadoum added Team:Threat Hunting Security Solution Threat Hunting Team Team:Threat Hunting:Explore labels Jul 31, 2023
@elasticmachine
Copy link
Contributor

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

@machadoum
Copy link
Member

Hey @karanbirsingh-qasource!
I am struggling to reproduce it on kibana.siem environment. How did you generate the alerts with non ecs field?

Alert Data need to be generated on Kibana with non ecs field

@ghost
Copy link
Author

ghost commented Aug 1, 2023

Hi @machadoum

we have not yet reproduced the issue and locked the issue on the basis of slack conversation.

let me quickly check out the issue occuring at our end or not.

thanks !!

@ghost
Copy link
Author

ghost commented Aug 1, 2023

Issue is not reproducible on the 8.9.0 on the non-ecs fields generate following the steps from here #131625

image

image

@machadoum
Copy link
Member

I managed to reproduce the bug on 8.9.0 when using numeric fields. The bug was already fixed on 8.10 when we increased cell actions supported types.
I intend to merge a quick fix for 8.9.1.

machadoum added a commit that referenced this issue Aug 1, 2023
…S Field (#162883)

issue: #162784

## Summary

This PR is a quick fix for 8.9.1. The bug is [properly
fixed](#160095) on 8.10.

## How to test it?
* Open kibana and generate alerts
* Open dev tools and add a new field to all alerts 
```
POST /.alerts-security.alerts-default/_update_by_query?wait_for_completion=true
{
  "query": {
    "match_all": {}
  },
"script": {   "source":"ctx._source.my_field=123",
"lang": "painless"
  }
}
```
* Create a runtime field of type number with the same name
* Check if copy to clipboard work on the new field
@machadoum machadoum added the fixed label Aug 1, 2023
@ghost
Copy link
Author

ghost commented Aug 11, 2023

Hi @MadameSheema

we have validated this issue on 8.9.1 BC1 following the steps shared here and issue is now fixed. We are able to perform the copy to clipboard operation.

Build Details:

Version: 8.9.1 BC1
Commit: 6c664aeb22673e6eb42348ea50b5a098509f7deb
Build: 64802

Screen-Cast

image

image

image

Alerts.-.Kibana.Mozilla.Firefox.2023-08-11.13-29-58.mp4

Hence we are Closing the issue and adding "QA:Validated" tag to it.

thanks!!

@ghost ghost closed this as completed Aug 11, 2023
@ghost ghost added the QA:Validated Issue has been validated by QA label Aug 11, 2023
This issue was closed.
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 fixed impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. QA:Validated Issue has been validated by QA Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Explore Team:Threat Hunting Security Solution Threat Hunting Team v8.9.1 v8.10.0
Projects
None yet
Development

No branches or pull requests

3 participants