-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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] Use new package types in kbn-securitysolution-list-utils #105731
Labels
enhancement
New value added to drive a business result
Team:Detections and Resp
Security Detection Response Team
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
triage_needed
v8.0.0
Comments
lizozom
added
triage_needed
enhancement
New value added to drive a business result
v8.0.0
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
labels
Jul 15, 2021
Pinging @elastic/security-solution (Team: SecuritySolution) |
FrankHassanabad
added
the
Team:Detections and Resp
Security Detection Response Team
label
Jul 15, 2021
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
This was referenced Jul 22, 2021
FrankHassanabad
added a commit
that referenced
this issue
Jul 27, 2021
…-* for newer kbn-es-query types (#106801) ## Summary Fixes #105731, by replacing these `any` types: ```json type IFieldType = any; type IIndexPattern = any; type Filter = any; ``` With the types from `es-query` which are: * IndexPatternFieldBase * IndexPatternBase * Filter Note: I had to do a few creative casting to avoid having to use `FieldSpec` since that is not within the package `es-query` and is not planned to be within that package or another package for at least a while if ever. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this issue
Jul 27, 2021
…-* for newer kbn-es-query types (elastic#106801) ## Summary Fixes elastic#105731, by replacing these `any` types: ```json type IFieldType = any; type IIndexPattern = any; type Filter = any; ``` With the types from `es-query` which are: * IndexPatternFieldBase * IndexPatternBase * Filter Note: I had to do a few creative casting to avoid having to use `FieldSpec` since that is not within the package `es-query` and is not planned to be within that package or another package for at least a while if ever. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
kibanamachine
added a commit
that referenced
this issue
Jul 28, 2021
…-* for newer kbn-es-query types (#106801) (#106869) ## Summary Fixes #105731, by replacing these `any` types: ```json type IFieldType = any; type IIndexPattern = any; type Filter = any; ``` With the types from `es-query` which are: * IndexPatternFieldBase * IndexPatternBase * Filter Note: I had to do a few creative casting to avoid having to use `FieldSpec` since that is not within the package `es-query` and is not planned to be within that package or another package for at least a while if ever. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios Co-authored-by: Frank Hassanabad <[email protected]>
streamich
pushed a commit
to vadimkibana/kibana
that referenced
this issue
Aug 8, 2021
…-* for newer kbn-es-query types (elastic#106801) ## Summary Fixes elastic#105731, by replacing these `any` types: ```json type IFieldType = any; type IIndexPattern = any; type Filter = any; ``` With the types from `es-query` which are: * IndexPatternFieldBase * IndexPatternBase * Filter Note: I had to do a few creative casting to avoid having to use `FieldSpec` since that is not within the package `es-query` and is not planned to be within that package or another package for at least a while if ever. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New value added to drive a business result
Team:Detections and Resp
Security Detection Response Team
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
triage_needed
v8.0.0
In #100310 the package
kbn-securitysolution-list-utils
re-defined theIFieldType
andIIndexPattern
types toany
as they couldn't import from thedata
plugin.Once #103530 is merged, the package may use the
IndexPatternBase
andIndexPatternFieldBase
types to remove this override and also simplify their code (those simplified types should be enough for the SIEM code)The text was updated successfully, but these errors were encountered: