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] [Exceptions] Adds a new react route for viewing details about an individual exception list #144754

Merged
merged 18 commits into from
Nov 14, 2022

Conversation

dhurley14
Copy link
Contributor

@dhurley14 dhurley14 commented Nov 7, 2022

Summary

Clicking on the link for an individual exception list will route users to the detail view. Currently only displays the list id on the detail view.

@dhurley14 dhurley14 changed the title WIP - trying to get the list id to load but getting page not found in… [Security Solution] [Exceptions] Adds a new react route for viewing details about an individual exception list Nov 8, 2022
@dhurley14 dhurley14 self-assigned this Nov 8, 2022
@dhurley14 dhurley14 added review release_note:skip Skip the PR/issue when compiling release notes Feature:Rule Exceptions Security Solution Detection Rule Exceptions area Team:Security Solution Platform Security Solution Platform Team v8.6.0 labels Nov 8, 2022
@dhurley14 dhurley14 marked this pull request as ready for review November 8, 2022 15:43
@dhurley14 dhurley14 requested review from a team as code owners November 8, 2022 15:43
@dhurley14 dhurley14 requested review from pzl and ashokaditya November 8, 2022 15:43
@pzl pzl requested review from paul-tavares and removed request for pzl November 8, 2022 15:45
Copy link
Contributor

@WafaaNasr WafaaNasr left a comment

Choose a reason for hiding this comment

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

🥳

@kibanamachine kibanamachine requested a review from a team as a code owner November 8, 2022 18:16
@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Nov 8, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

Copy link
Contributor

@juliaElastic juliaElastic left a comment

Choose a reason for hiding this comment

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

only whitespace change

… shared lists and the endpoint exception list on the manage shared exception lists page
Comment on lines +18 to +25
return ALL_ENDPOINT_ARTIFACT_LIST_IDS.includes(listId) ? (
<NotFoundPage />
) : (
<EuiTitle>
<h2>{listId}</h2>
</EuiTitle>
);
});
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@paul-tavares How does this look for a start?

Comment on lines +88 to +89
types: [ExceptionListTypeEnum.DETECTION, ExceptionListTypeEnum.ENDPOINT],
});
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@WafaaNasr @peluja1012 This PR adds a filter to only display shared lists and the endpoint list.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks Devin 🥳

onClick={goToExceptionDetail}
>
{listName}
</EuiLink>{' '}
Copy link
Contributor

Choose a reason for hiding this comment

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

{' '} I think this space is unwanted :D

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah interesting - not sure how that got in there. Thanks!

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Security Solution Tests #1 / Alert Flyout Opens a new timeline investigation with alert ids from the process ancestry

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
securitySolution 3284 3285 +1

Async chunks

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

id before after diff
securitySolution 9.6MB 9.6MB +848.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
securitySolution 50.7KB 51.0KB +227.0B
Unknown metric groups

ESLint disabled in files

id before after diff
osquery 1 2 +1

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
fleet 59 65 +6
osquery 108 113 +5
securitySolution 441 447 +6
total +19

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
fleet 67 73 +6
osquery 109 115 +6
securitySolution 518 524 +6
total +20

History

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

cc @dhurley14

@dhurley14 dhurley14 merged commit ec849e5 into elastic:main Nov 14, 2022
@dhurley14 dhurley14 deleted the list-details-route branch November 14, 2022 12:32
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:Rule Exceptions Security Solution Detection Rule Exceptions area release_note:skip Skip the PR/issue when compiling release notes review Team:Fleet Team label for Observability Data Collection Fleet team Team:Security Solution Platform Security Solution Platform Team v8.6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants