-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compliance dashboard UI and API (#171312)
## Summary Summarize your PR. If it involves visual changes include a screenshot or gif. - Add benchmarks to Compliance Dashboard API. - Add `score_by_benchmark_id` to the Benchmark Scores Index this will show posture stats for each benchmark id - Add benchmark aggregation query using benchmark id and version - Add BWC API versioning - STATS API V1 should show clusters - STATS API V2 should show benchmarks - Add unit tests - Added integration tests with API versioning test cases. To test PR with API versioning, in Kibana client - `x-pack/plugins/cloud_security_posture/public/common/api/use_stats_api.ts` - Change version value to 1 to see clusters ``` http.get<ComplianceDashboardData>(getStatsRoute(CSPM_POLICY_TEMPLATE), { version: '1' }), ``` - Change version value to 2 to see versions ``` http.get<ComplianceDashboardData>(getStatsRoute(CSPM_POLICY_TEMPLATE), { version: '2' }) ``` <img width="1721" alt="image" src="https://github.com/elastic/kibana/assets/17135495/7fb53dec-c405-49e5-aa22-7788b4d1d5c0"> Uploading Untitled 2.mov…
- Loading branch information
1 parent
ab5ff9c
commit af28af8
Showing
34 changed files
with
1,779 additions
and
462 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.