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][Endpoint][Trusted Apps] Trusted Apps post port cleanup #130959

Conversation

ashokaditya
Copy link
Member

@ashokaditya ashokaditya commented Apr 26, 2022

refs /pull/129208

Summary

  • Removes redundant empty state component
  • updates translation vars to be consistent with the rest of the trusted apps translation vars
  • updates ExceptionListTypeEnum for ENDPOINT_TRUSTED_APPS

@ashokaditya ashokaditya added technical debt Improvement of the software architecture and operational architecture release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v8.3.0 labels Apr 26, 2022
@ashokaditya ashokaditya self-assigned this Apr 26, 2022
@ashokaditya ashokaditya changed the title [] Trusted Apps post port cleanup [Security Solution][Endpoint][Trusted Apps] Trusted Apps post port cleanup Apr 26, 2022
@ashokaditya ashokaditya force-pushed the task/olm-3092-trusted-app-post-port-cleanup branch from f47c78c to 3c2c73e Compare April 26, 2022 10:12
@ashokaditya ashokaditya marked this pull request as ready for review April 26, 2022 10:13
@ashokaditya ashokaditya requested review from a team as code owners April 26, 2022 10:13
@ashokaditya ashokaditya requested review from pzl and joeypoon April 26, 2022 10:13
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-onboarding-and-lifecycle-mgt (Team:Onboarding and Lifecycle Mgt)

@@ -22,7 +22,7 @@ export type ExceptionListTypeOrUndefined = t.TypeOf<typeof exceptionListTypeOrUn
export enum ExceptionListTypeEnum {
DETECTION = 'detection',
ENDPOINT = 'endpoint',
ENDPOINT_TRUSTED_APPS = 'endpoint',
ENDPOINT_TRUSTED_APPS = 'endpoint_trusted_apps',
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't remember exactly if we filter by the list type somewhere. I know we use most of the times the list_id but just want to make sure we don't break the existing exception list container for trusted apps when upgrading.
Also wondering if we should include a migration script to update the existing trusted apps container.

Copy link
Member Author

Choose a reason for hiding this comment

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

@yctercero @marshallmain What else needs to be changed in order for this to work for older TA containers? This change is for the sake of consistency with other artifact names. I think when TAs was the first and only artifact just endpoint made sense but not so much now with more artifacts. Actually endpoint_events should also be renamed to endpoint_event_filters, but we can do that in a new PR if you all agree. Thanks for your help on this.

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

@ashokaditya we'd chatted about updating migrations in that file you linked. How's that going?

Copy link
Member Author

Choose a reason for hiding this comment

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

@yctercero I've not had a chance to get to it. I'll get to it this week. Thanks for following up.

Copy link
Member

@pzl pzl left a comment

Choose a reason for hiding this comment

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

good, assuming @dasansol92 's comment on that list type enum gets addressed

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #21 / ObservabilityApp Observability Rule Details page Page components maps correctly the rule type with the human readable rule type

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
lists 147.6KB 147.6KB +13.0B
securitySolution 5.2MB 5.2MB -20.0B
total -7.0B

History

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

cc @ashokaditya

@marshallmain marshallmain removed their request for review September 15, 2022 17:21
@dhurley14
Copy link
Contributor

Hi @ashokaditya is this work still in progress? If not can we close the PR? We are still receiving reminders from slack's github bot for this PR.

@ashokaditya
Copy link
Member Author

ashokaditya commented Oct 28, 2022

Hi @ashokaditya is this work still in progress? If not can we close the PR? We are still receiving reminders from slack's github bot for this PR.

Sorry I've not gotten around to work on it layely. I'll close this for now and reopen it when it's ready for review again.

@ashokaditya ashokaditya deleted the task/olm-3092-trusted-app-post-port-cleanup branch November 29, 2022 13:45
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 OLM Sprint release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution technical debt Improvement of the software architecture and operational architecture v8.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants