-
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
[Security Solution] - Bug fixes #92294
Conversation
43ca64e
to
3969b3b
Compare
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
const expandedDetail = useDeepEqualSelector((state) => { | ||
return (getTimeline(state, timelineId) ?? timelineDefaults).expandedDetail; | ||
}); | ||
export const DetailsPanel = ({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only change in this file was removing React.memo
. It may be causing an issue where the event_details
view isn't switching properly. The props to this component do not change when the expanded_detail
changes, and as this is just a wrapper of memoized components, it's unnecessary.
flex: 1 0 auto; | ||
`; | ||
|
||
const StyledPanelContent = styled.div` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes (same in network_details): #92004 (comment)
@@ -51,7 +51,7 @@ interface ExpandableEventTitleProps { | |||
} | |||
|
|||
const StyledEuiFlexGroup = styled(EuiFlexGroup)` | |||
flex: 0; | |||
flex: 0 1 auto; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes: #92004 (comment)
@@ -49,7 +49,7 @@ export const ResolverNoProcessEvents = () => ( | |||
</EuiText> | |||
<EuiSpacer size="m" /> | |||
<StyledEuiCodeBlock language="html" paddingSize="s" isCopyable> | |||
{"event.category: 'process'"} | |||
{'event.category: "process"'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There wasn't a bug filed for this yet, but when copying the text into the search bar it doesn't work unless you use double quotes.
@@ -20,79 +20,73 @@ import * as i18n from './translations'; | |||
interface Props { | |||
contextID?: string; | |||
data: EndpointFields | null; | |||
isInDetailsSidePanel?: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes were just about removing isInDetailsSidePanel
. It isn't necessary for these components to be aware of this
72f463f
to
23bc30b
Compare
23bc30b
to
b5ea5e5
Compare
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pulled this down and tested that the different panel titles didn't overlap and that the indices were populated 👍
@@ -54,10 +56,25 @@ export const ExpandableHostDetails = ({ | |||
hostName, | |||
}: ExpandableHostProps & { contextID: string }) => { | |||
const { to, from, isInitializing } = useGlobalTime(); | |||
const { docValueFields, selectedPatterns } = useSourcererScope(); | |||
const { docValueFields } = useSourcererScope(); | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great comment 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
visually verified locally lgtm 👍
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…bana into task-manager/docs-monitoring * 'task-manager/docs-monitoring' of github.com:gmmorris/kibana: [ILM] Allow multiple searchable snapshot actions (elastic#92789) Improve consistency for display of management items (elastic#92694) skip flaky suite (elastic#93152) skip flaky suite (elastic#93152) [ILM] Refactor edit_policy client integration tests into separate feature files (elastic#92826) Add developer documentation about the building blocks we offer plugin developers (elastic#92743) [Security Solution] Case ui enhancement (elastic#91863) [Security Solution] [Detections] Updates warning message when no indices match provided index patterns (elastic#93094) Collect agent telemetry even when fleet server is disabled. (elastic#93198) [Lens] Fix runtime validation error message (elastic#93195) [Lens] Remove warning about ordinal x-domain (elastic#93049) [Security Solution] Fixes the Customize Event Renderers modal by removing the EuiOverlayMask (elastic#93150) Cleanup Security plugin imports (elastic#93056) [Security Solution] - Bug fixes (elastic#92294) Updated doc links (elastic#92968) [ML] Transforms: Fixes chart histograms for runtime fields. (elastic#93028) [chore] Enable core's eslint rule: `@ts-expect-error` (elastic#93086)
Summary
This PR fixes the following bugs:
Also, did some cleanup and updated the quotation for the empty resolver message as it was incorrect before since the search bar doesn't accept single quotes for values.