remove unused fields from the sourcerer hook result#206030
Merged
lgestc merged 4 commits intoelastic:mainfrom Jan 15, 2025
Merged
remove unused fields from the sourcerer hook result#206030lgestc merged 4 commits intoelastic:mainfrom
lgestc merged 4 commits intoelastic:mainfrom
Conversation
Contributor
|
Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations) |
janmonschke
approved these changes
Jan 13, 2025
Contributor
|
I am just curious why there was no type error even though these fields do not exist in type. I tried to check and i am not sure what am i missing. |
acf5623 to
789284d
Compare
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Async chunks
|
PhilippeOberti
approved these changes
Jan 14, 2025
Contributor
PhilippeOberti
left a comment
There was a problem hiding this comment.
nice cleanup! Code LGTM and I desk tested the Intelligence page.
I left one comment, feel free to ignore it as it is purely subjective!
...solutions/security/plugins/threat_intelligence/public/modules/indicators/hooks/use_fields.ts
Outdated
Show resolved
Hide resolved
viduni94
pushed a commit
to viduni94/kibana
that referenced
this pull request
Jan 23, 2025
## Summary Some properties returned from this hook are no longer in the sourcerer model (and the declared result type). This PR removes them.
christineweng
pushed a commit
to christineweng/kibana
that referenced
this pull request
Jun 5, 2025
Some properties returned from this hook are no longer in the sourcerer model (and the declared result type). This PR removes them.
christineweng
added a commit
to christineweng/kibana
that referenced
this pull request
Jun 5, 2025
Some properties returned from this hook are no longer in the sourcerer model (and the declared result type). This PR removes them.
christineweng
pushed a commit
to christineweng/kibana
that referenced
this pull request
Jun 5, 2025
Some properties returned from this hook are no longer in the sourcerer model (and the declared result type). This PR removes them.
christineweng
pushed a commit
to christineweng/kibana
that referenced
this pull request
Jun 5, 2025
Some properties returned from this hook are no longer in the sourcerer model (and the declared result type). This PR removes them.
christineweng
added a commit
that referenced
this pull request
Jun 6, 2025
…190113) And other sourcerer clean ups (#222889) # Backport This will backport the following commits from `main` to `8.19`: - [[Security Solution] Remove index pattern field from Sourcerer (#190113)](#190113) - [remove unused fields from the sourcerer hook result #206030](#206030) - [[Security Solution][Sourcerer] Rename index pattern props to data view #216542](#216542) <!--- Backport version: 10.0.0 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Luke Gmys","email":"11671118+lgestc@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-28T11:11:00Z","message":"[Security Solution] Remove index pattern field from Sourcerer (#190113)\n\n## Summary\r\n\r\nThis PR removes index pattern field from the sourcerer model, replacing\r\nit with direct access to data view spec.\r\n\r\nThe end goal for the sourcerer is to just utilize platform wide Data\r\nView Types, instead of some custom abstractions / containers such as\r\nindexPattern field which is effectively a DataViewSpec, just packed up\r\ndifferently.","sha":"a8048ddf6b3f6623c87236c875a0ef1506a39fe2","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","v9.0.0","Team:Threat Hunting:Investigations","Team:Threat Hunting:Explore"],"title":"[Security Solution] Remove index pattern field from Sourcerer","number":190113,"url":"https://github.com/elastic/kibana/pull/190113","mergeCommit":{"message":"[Security Solution] Remove index pattern field from Sourcerer (#190113)\n\n## Summary\r\n\r\nThis PR removes index pattern field from the sourcerer model, replacing\r\nit with direct access to data view spec.\r\n\r\nThe end goal for the sourcerer is to just utilize platform wide Data\r\nView Types, instead of some custom abstractions / containers such as\r\nindexPattern field which is effectively a DataViewSpec, just packed up\r\ndifferently.","sha":"a8048ddf6b3f6623c87236c875a0ef1506a39fe2"}},"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/190113","number":190113,"mergeCommit":{"message":"[Security Solution] Remove index pattern field from Sourcerer (#190113)\n\n## Summary\r\n\r\nThis PR removes index pattern field from the sourcerer model, replacing\r\nit with direct access to data view spec.\r\n\r\nThe end goal for the sourcerer is to just utilize platform wide Data\r\nView Types, instead of some custom abstractions / containers such as\r\nindexPattern field which is effectively a DataViewSpec, just packed up\r\ndifferently.","sha":"a8048ddf6b3f6623c87236c875a0ef1506a39fe2"}}]}] BACKPORT--> --------- Co-authored-by: Luke Gmys <11671118+lgestc@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Some properties returned from this hook are no longer in the sourcerer model (and the declared result type).
This PR removes them.