-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Implement functionality to add observables, procedures and custom fields to alerts for TheHive #207255
base: main
Are you sure you want to change the base?
Conversation
A documentation preview will be available soon. Request a new doc build by commenting
If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here. |
Pinging @elastic/response-ops (Team:ResponseOps) |
Pinging @elastic/response-ops-cases (Feature:Cases) |
💔 Build Failed
Failed CI Steps
Test Failures
Metrics [docs]Async chunks
Page load bundle
History
|
Summary
It includes a template selection drop-down menu with predefined basic templates. These templates provide predefined configurations that include observables and procedures. When you select a template, its corresponding values automatically populate the
Body
field. Additionally, you can use theBuild Your Own
option to create a custom template.This PR also updates the
JsonEditorWithMessageVariables
component to address an issue whereinputTargetValue
andxJson
are not the same. For example, in our scenario, we expect that changing the template selection dropdown should update the content in the body below. To address this, we've added the condition(xJson && inputTargetValue && inputTargetValue !== xJson)
, which ensures that the internal statexJson
is updated accordingly, and the content is displayed as expected.Screenshots
Checklist
release_note:breaking
label should be applied in these situations.release_note:*
label is applied per the guidelines