Skip to content

[Security AI Assistant] Use dictionary for replacement in APIs and convert to object in storage.#179722

Merged
YulNaumenko merged 10 commits intoelastic:mainfrom
YulNaumenko:security-assistant-dictionary-as-replacements
Apr 1, 2024
Merged

[Security AI Assistant] Use dictionary for replacement in APIs and convert to object in storage.#179722
YulNaumenko merged 10 commits intoelastic:mainfrom
YulNaumenko:security-assistant-dictionary-as-replacements

Conversation

@YulNaumenko
Copy link
Copy Markdown
Contributor

Summary

Summarize your PR. If it involves visual changes include a screenshot or gif.

Checklist

Delete any items that are not applicable to this PR.

Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to identify risks that should be tested prior to the change/feature release.

When forming the risk matrix, consider some of the following examples and how they may potentially impact the change:

Risk Probability Severity Mitigation/Notes
Multiple Spaces—unexpected behavior in non-default Kibana Space. Low High Integration tests will verify that all features are still supported in non-default Kibana Space and when user switches between spaces.
Multiple nodes—Elasticsearch polling might have race conditions when multiple Kibana nodes are polling for the same tasks. High Low Tasks are idempotent, so executing them multiple times will not result in logical error, but will degrade performance. To test for this case we add plenty of unit tests around this logic and document manual testing procedure.
Code should gracefully handle cases when feature X or plugin Y are disabled. Medium High Unit tests will verify that any feature flag or plugin combination still results in our service operational.
See more potential risk examples

For maintainers

@YulNaumenko YulNaumenko added enhancement New value added to drive a business result release_note:skip Skip the PR/issue when compiling release notes v8.14.0 labels Mar 29, 2024
@YulNaumenko YulNaumenko self-assigned this Mar 29, 2024
@YulNaumenko YulNaumenko requested a review from a team as a code owner March 29, 2024 21:56
…dictionary-as-replacements

# Conflicts:
#	x-pack/plugins/elastic_assistant/server/ai_assistant_data_clients/conversations/types.ts
@YulNaumenko YulNaumenko requested a review from a team as a code owner March 30, 2024 02:13
@YulNaumenko YulNaumenko requested a review from a team as a code owner March 30, 2024 02:15
Copy link
Copy Markdown
Contributor

@pmuellr pmuellr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the only ResponseOps changes were to a function test - same changes made to a Security function test - so LGTM!

@kibana-ci
Copy link
Copy Markdown

💛 Build succeeded, but was flaky

Failed CI Steps

The CI Stats report is too large to be displayed here, check out the CI build annotation for this information.

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @YulNaumenko

Copy link
Copy Markdown
Contributor

@andrew-goldstein andrew-goldstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this API update @YulNaumenko! 🙏
✅ Desk tested locally
LGTM

@YulNaumenko YulNaumenko merged commit 9c7aeac into elastic:main Apr 1, 2024
@kibanamachine kibanamachine added the backport:skip This PR does not require backporting label Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting enhancement New value added to drive a business result release_note:skip Skip the PR/issue when compiling release notes v8.14.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants