elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.68k stars 8.23k forks source link

Query data using dataview that includes also 3rd party indices for dashboard #187227

Open JordanSh opened 4 months ago

JordanSh commented 4 months ago

Summary

Currently, our dashboard page pulls data exclusively from the latest findings index. With the introduction of third-party (3P) integrations, starting with Wiz, we need to enhance our data query capabilities to include a generic index pattern that fetches data from all 3P integrations, specifically logs-*_latest_misconfigurations_cdr.

Please refer to the detailed guide in the RFC Combining 3rd party data with native Cloud Security Posture data for comprehensive instructions.

Additionally, the dashboard retrieves data from the scores index to create trend lines. We need to modify this index to incorporate data from 3P latest findings indices as well.

Lastly, all modifications should support a filter parameter passed from the API. This parameter should allow us to selectively fetch data from all latest findings indices (when no filter is passed) or from a specific one based on the passed value.

Definition of Done

Related Links

elasticmachine commented 4 months ago

Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security)

JordanSh commented 4 months ago

moving to blocked for now, no point to start working on data pulling until Investigate options to query findings to combine native and 3rd party data is done

kfirpeled commented 4 months ago

I believe this ticket can be split into all different APIs The scope here to handle all APIs is pretty big wdyt? @JordanSh , @CohenIdo

CohenIdo commented 4 months ago

The scope here to handle all APIs is pretty big

I agree, I will split it to different tasks.

JordanSh commented 4 months ago

I think the main focus here is the dashboard apis which are scores and latest findings, they need to be merged together for serverless.

@CohenIdo i saw that you added benchmark api in one of the edits, do you think its big enough on its own to separate to a different ticket?

CohenIdo commented 3 months ago

@CohenIdo i saw that you added benchmark api in one of the edits, do you think its big enough on its own to separate to a different ticket?

I need to estimate it before I start working on this ticket.