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] [Bug] Updating Knowledge Base Index entries shows Error updating Knowledge Base Entries #198891

Closed
arvindersingh-qasource opened this issue Nov 5, 2024 · 6 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience fixed impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. QA:Validated Issue has been validated by QA Team:Security Generative AI Security Generative AI Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.16.1 v8.17.0 v9.0.0

Comments

@arvindersingh-qasource
Copy link

arvindersingh-qasource commented Nov 5, 2024

Describe the bug
Editing KB index entries results in an error. For example, on switching Knowledge Base Index Sharing from Private to Global shows Error updating Knowledge Base Entries

Kibana/Elasticsearch Stack version

VERSION: 8.16.0 BC3
BUILD: 79556
COMMIT: f02d1303b5230c357ac7e4c49c8adadd5f66af38

Pre Conditions

  1. Kibana v8.16.0 build be must be available
  2. AI Connector must be configured.
  3. Custom Knowledge Base Index with Sharing as Private should be created.
  4. Below mentioned xpack must be enabled in Kibana
xpack.securitySolution.enableExperimental:
  - 'assistantKnowledgeBaseByDefault'

Steps

  1. Navigate to Management -> AI Assistant - Knowledge Base
  2. For pre requisite Custom Knowledge Base Index with Sharing as Private , click on ✏ icon to edit Index.
  3. Switch Sharing from Private to Global.
  4. Click on Save button.
  5. Observe that there will be an error as Error updating Knowledge Base Entries

Expected Result
User should be able to switch Knowledge Base Index Sharing from Private to Global without any error.

Screen recording

Security.AI.settings.-.Elastic.-.Google.Chrome.2024-11-05.13-11-28.mp4
@arvindersingh-qasource arvindersingh-qasource added bug Fixes for quality problems that affect the customer experience impact:critical This issue should be addressed immediately due to a critical level of impact on the product. Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. triage_needed v8.16.0 labels Nov 5, 2024
@elasticmachine
Copy link
Contributor

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

@arvindersingh-qasource
Copy link
Author

@muskangulati-qasource Please review this ticket.

Thanks.

@muskangulati-qasource
Copy link

Reviewed and assigned to @MadameSheema

@MadameSheema MadameSheema added the Team:Security Generative AI Security Generative AI label Nov 5, 2024
e40pud added a commit to e40pud/kibana that referenced this issue Nov 5, 2024
…om Private to Global shows Error updating Knowledge Base Entries (elastic#198891)
e40pud added a commit to e40pud/kibana that referenced this issue Nov 5, 2024
…om Private to Global shows Error updating Knowledge Base Entries (elastic#198891)
@muskangulati-qasource
Copy link

Hi Team,

The same issue is occurring even when we do not update anything in the index entry form.

Hence, the issue is reproducible on editing all the index entries from the Knowledge base tab.

Thanks!

@peluja1012 peluja1012 changed the title [Security Solution] [Bug] On switching Knowledge Base Index Sharing from Private to Global shows Error updating Knowledge Base Entries [Security Solution] [Bug] Updating Knowledge Base Index entries shows Error updating Knowledge Base Entries Nov 6, 2024
@peluja1012 peluja1012 added impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. and removed triage_needed impact:critical This issue should be addressed immediately due to a critical level of impact on the product. labels Nov 6, 2024
@e40pud
Copy link
Contributor

e40pud commented Nov 13, 2024

The issue was fixed on Elasticsearch side here elastic/elasticsearch#116478. I verified and did not see the issue anymore with the latest ES snapshot.

cc @MadameSheema

@muskangulati-qasource
Copy link

Hi @MadameSheema,

We have tested this ticket on the latest 8.16.1 BC2 and found the issue is now fixed.

Please find below the testing details:

Build details

VERSION: 8.16.1
BUILD: 79724
COMMIT: c8b46e87c4d61de4fe046ce5ea0a0b68aad5acf9

Screen Recording

1.mp4

Hence, we are closing this issue and marking it as 'QA validated'.

Thanks!!

@muskangulati-qasource muskangulati-qasource added the QA:Validated Issue has been validated by QA label Nov 20, 2024
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:high Addressing this issue will have a high level of impact on the quality/strength of our product. QA:Validated Issue has been validated by QA Team:Security Generative AI Security Generative AI Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.16.1 v8.17.0 v9.0.0
Projects
None yet
Development

No branches or pull requests

7 participants