Skip to content

Conversation

@kqualters-elastic
Copy link
Contributor

Summary

Fixes a bug where all processes are shown as terminated, because of an improper selector. Adds a new one that checks if a given entity id is in the set of terminated processes, and this is used in the appropriate components.

terminated_working

Checklist

For maintainers

@kqualters-elastic kqualters-elastic added release_note:skip Skip the PR/issue when compiling release notes Feature:Resolver Security Solution Resolver feature Feature:Endpoint Elastic Endpoint feature v7.9.0 labels Jul 27, 2020
@kqualters-elastic kqualters-elastic requested review from a team as code owners July 27, 2020 07:15
@elasticmachine
Copy link
Contributor

Pinging @elastic/endpoint-app-team (Feature:Resolver)

@elasticmachine
Copy link
Contributor

Pinging @elastic/endpoint-app-team (Feature:Endpoint)

@kqualters-elastic kqualters-elastic changed the title Show proper icon for termination status of all processes [Security Solution] Show proper icon for termination status of all processes Jul 27, 2020
Copy link
Contributor

@oatkiller oatkiller left a comment

Choose a reason for hiding this comment

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

appreciate it

}) {
const processName = event.eventName(processEvent);
const entityId = event.entityId(processEvent);
const isProcessTerminated = useSelector(selectors.isProcessTerminated)(entityId);
Copy link
Contributor

Choose a reason for hiding this comment

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

❔ Does this have to run the .has every time it renders? Could it avoid that if it were memoized?

* During user testing, one user indicated they wanted to see stronger visual relationships between
* Nodes on the graph and what's in the table. Using the same symbol in both places (as below) could help with that.
*/
export const CubeForProcess = memo(function CubeForProcess({
Copy link
Contributor

Choose a reason for hiding this comment

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

❔ Not related to this PR, but I'm having trouble understanding why this file isn't part of assets

Copy link
Contributor

@bkimmel bkimmel left a comment

Choose a reason for hiding this comment

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

👍

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

async chunks size

id value diff baseline
securitySolution 7.3MB -85.0B 7.3MB

History

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

@kqualters-elastic kqualters-elastic merged commit 8c52d39 into elastic:master Jul 28, 2020
@kqualters-elastic kqualters-elastic deleted the resolver-show-process-status branch July 28, 2020 00:34
kqualters-elastic added a commit to kqualters-elastic/kibana that referenced this pull request Jul 28, 2020
…ocesses (elastic#73235)

* Show proper icon for termination status of all processes

* Add basic test for isProcessTerminated selector
kqualters-elastic added a commit to kqualters-elastic/kibana that referenced this pull request Jul 28, 2020
…ocesses (elastic#73235)

* Show proper icon for termination status of all processes

* Add basic test for isProcessTerminated selector
kqualters-elastic added a commit that referenced this pull request Jul 28, 2020
…all processes (#73235) (#73385)

* Show proper icon for termination status of all processes

* Add basic test for isProcessTerminated selector
kqualters-elastic added a commit that referenced this pull request Jul 28, 2020
…all processes (#73235) (#73386)

* Show proper icon for termination status of all processes

* Add basic test for isProcessTerminated selector
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jul 28, 2020
* master: (44 commits)
  [Search] add server logs (elastic#72454)
  [SIEM][Timelines] Updates timeline template callout text (elastic#73334)
  Fix App status  flaky test (elastic#72853)
  [Functional Tests] Increase the timeout when locating the tableview] (elastic#73243)
  Use "Apply_filter_trigger" in dashboard drilldown (elastic#71468)
  fix dashboard index pattern race condition (elastic#72899)
  [Functional Tests] Increase waitTime for timelion to fetch the results (elastic#73255)
  [Functional Tests] Fix flakiness on TSVB chart on switching index patterns test (elastic#73238)
  updates cypress to v4.11.0 (elastic#73327)
  [Metrics UI] Saved views bugs (elastic#72518)
  [Ingest Manager] Convert select agent config step to use combo box (elastic#73172)
  Exclude `version` from package config attributes that are copied, add safeguard to package config bulk create (elastic#73128)
  [Security Solution][ML] Updates siem group name to security (elastic#73218)
  [Security Solution] Show proper icon for termination status of all processes (elastic#73235)
  [Security Solution][Resolver] Show origin node details in panel on load (elastic#73313)
  [Security solution] Threat hunting test coverage improvements (elastic#73276)
  [Security Solution][Exceptions] - Update exception item comments to include id (elastic#73129)
  [Enterprise Search] Error state UI tweaks to account for current Cloud SSO behavior (elastic#73324)
  [dev/build/docker_generator] convert to typescript (elastic#73339)
  [APM] Fix focus map link on service map (elastic#73338)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Endpoint Elastic Endpoint feature Feature:Resolver Security Solution Resolver feature release_note:skip Skip the PR/issue when compiling release notes v7.9.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants