-
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
[Cloud Security][Dashboard Enhancements] Update Compliance Dashboard Data API to include Benchmarks Cloud Assets Data #170795
Comments
Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security) |
I do not think we have to change that much, if we already collect data per account, we can easily add the benchmark details of that account. As later on sum up all the data into a single row. wdyt? would that work? And if so, it could be a much simpler solution. |
Also, please take into account that both the benchmark id and the benchmark version matter here. As we discussed in the kick-off. It is being planned to be able to separate between benchmarks versions once we would support that. |
@kfirpeled Do you mind elaborating? Correct me if I'm wrong but I thought the Benchmark section Compliance scores will focus on collecting scores data per benchmark. If we continue collecting data per account and add benchmark id and rule version, wouldn't still see the same scores? Here is example if i add benchmark id and version to each account.
vs a separate benchmark scores
|
Motivation
To see the Compliance Dashboard View with benchmarks UI, We will need to update the API that returns cloud assets by benchmark data so that I can view an updated and aggregated trend of scores by benchmark ID.
score_by_benchmark_id
aggregationThe
score_by_aggregration
will query for the following fields:rule.benchmark.id
andrule.benchmark.version
score_by_benchmark_id_version
aggregation into findings stats Benchmark score index. Seex-pack/plugins/cloud_security_posture/server/tasks/findings_stats_task.ts
logs-cloud_security_posture.scores-default
Index ResponseSample Output
score_by_benchmark_id
trend aggregation with the benchmark aggregation results.ComplianceDashboardData
API endpoint/Contract to include a list ofbenchmarks
Definition of Done
Epic - https://github.com/elastic/security-team/issues/7621
The text was updated successfully, but these errors were encountered: