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

[EDR Workflows][Staged rollout] Add artifact channel to Alert flyout's highlighted fields #208346

Conversation

gergoabraham
Copy link
Contributor

@gergoabraham gergoabraham commented Jan 27, 2025

Summary

This PR adds Endpoint.policy.applied.artifacts.global.channel to the highlighted fields of an alert. This field shows the users, which artifact channel was used to update the rules on an Endpoint using Elastic Defend integration.

Based on the structure of the highlighted fields, I think it makes sense to add it to the 'always displayed fields', but not 100% sure on it, so I'm happy to take suggestions.

image

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

@gergoabraham gergoabraham added release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) labels Jan 27, 2025
@gergoabraham gergoabraham self-assigned this Jan 27, 2025
@gergoabraham gergoabraham requested review from a team as code owners January 27, 2025 11:34
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-defend-workflows (Team:Defend Workflows)

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #4 / Policy Advanced Settings section should expand and collapse section when button is clicked

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 21.3MB 21.3MB +280.0B

cc @gergoabraham

@gergoabraham gergoabraham requested a review from ferullo January 27, 2025 16:00
@gergoabraham gergoabraham merged commit 82d94f1 into elastic:main Jan 28, 2025
15 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/13014652771

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jan 28, 2025
…s highlighted fields (elastic#208346)

## Summary

This PR adds `Endpoint.policy.applied.artifacts.global.channel` to the
highlighted fields of an alert. This field shows the users, which
artifact channel was used to update the rules on an Endpoint using
Elastic Defend integration.

Based on the structure of the highlighted fields, I think it makes sense
to add it to the 'always displayed fields', but not 100% sure on it, so
I'm happy to take suggestions.

<img width="731" alt="image"
src="https://github.com/user-attachments/assets/952dfc92-e9c4-4b38-8fba-8fc6a5e07ed8"
/>

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

(cherry picked from commit 82d94f1)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

@gergoabraham gergoabraham deleted the highlight-artifact-channel-in-alert-flyout branch January 28, 2025 16:27
kibanamachine added a commit that referenced this pull request Jan 28, 2025
…lyout&#x27;s highlighted fields (#208346) (#208567)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[EDR Workflows][Staged rollout] Add artifact channel to Alert
flyout&#x27;s highlighted fields
(#208346)](#208346)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Gergő
Ábrahám","email":"gergo.abraham@elastic.co"},"sourceCommit":{"committedDate":"2025-01-28T16:10:10Z","message":"[EDR
Workflows][Staged rollout] Add artifact channel to Alert flyout's
highlighted fields (#208346)\n\n## Summary\r\n\r\nThis PR adds
`Endpoint.policy.applied.artifacts.global.channel` to the\r\nhighlighted
fields of an alert. This field shows the users, which\r\nartifact
channel was used to update the rules on an Endpoint using\r\nElastic
Defend integration.\r\n\r\nBased on the structure of the highlighted
fields, I think it makes sense\r\nto add it to the 'always displayed
fields', but not 100% sure on it, so\r\nI'm happy to take
suggestions.\r\n\r\n<img width=\"731\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/952dfc92-e9c4-4b38-8fba-8fc6a5e07ed8\"\r\n/>\r\n\r\n\r\n###
Checklist\r\n\r\nCheck the PR satisfies following conditions.
\r\n\r\nReviewers should verify this PR satisfies this list as
well.\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"82d94f17c91f8dcd93563dbbb47fba9f13c56d3a","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Defend
Workflows","backport:prev-minor"],"title":"[EDR Workflows][Staged
rollout] Add artifact channel to Alert flyout's highlighted
fields","number":208346,"url":"https://github.com/elastic/kibana/pull/208346","mergeCommit":{"message":"[EDR
Workflows][Staged rollout] Add artifact channel to Alert flyout's
highlighted fields (#208346)\n\n## Summary\r\n\r\nThis PR adds
`Endpoint.policy.applied.artifacts.global.channel` to the\r\nhighlighted
fields of an alert. This field shows the users, which\r\nartifact
channel was used to update the rules on an Endpoint using\r\nElastic
Defend integration.\r\n\r\nBased on the structure of the highlighted
fields, I think it makes sense\r\nto add it to the 'always displayed
fields', but not 100% sure on it, so\r\nI'm happy to take
suggestions.\r\n\r\n<img width=\"731\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/952dfc92-e9c4-4b38-8fba-8fc6a5e07ed8\"\r\n/>\r\n\r\n\r\n###
Checklist\r\n\r\nCheck the PR satisfies following conditions.
\r\n\r\nReviewers should verify this PR satisfies this list as
well.\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"82d94f17c91f8dcd93563dbbb47fba9f13c56d3a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/208346","number":208346,"mergeCommit":{"message":"[EDR
Workflows][Staged rollout] Add artifact channel to Alert flyout's
highlighted fields (#208346)\n\n## Summary\r\n\r\nThis PR adds
`Endpoint.policy.applied.artifacts.global.channel` to the\r\nhighlighted
fields of an alert. This field shows the users, which\r\nartifact
channel was used to update the rules on an Endpoint using\r\nElastic
Defend integration.\r\n\r\nBased on the structure of the highlighted
fields, I think it makes sense\r\nto add it to the 'always displayed
fields', but not 100% sure on it, so\r\nI'm happy to take
suggestions.\r\n\r\n<img width=\"731\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/952dfc92-e9c4-4b38-8fba-8fc6a5e07ed8\"\r\n/>\r\n\r\n\r\n###
Checklist\r\n\r\nCheck the PR satisfies following conditions.
\r\n\r\nReviewers should verify this PR satisfies this list as
well.\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"82d94f17c91f8dcd93563dbbb47fba9f13c56d3a"}}]}]
BACKPORT-->

Co-authored-by: Gergő Ábrahám <gergo.abraham@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants