-
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
[Security Solution] Add csp-rule-template to the Security Default Saved Objects #194224
[Security Solution] Add csp-rule-template to the Security Default Saved Objects #194224
Conversation
/ci |
/ci |
/ci |
Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Pinging @elastic/security-solution (Team: SecuritySolution) |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
Starting backport for target branches: 8.x |
💚 Build Succeeded
Metrics [docs]
|
…ed Objects (elastic#194224) ## Summary This PR fixes elastic#189538, by adding `csp-rule-template` to the Security Default Saved Objects. This allows users with the [viewer role](https://www.elastic.co/docs/current/serverless/general/assign-user-roles) to Security projects in Serverless to see the [Cloud Security Posture Benchmark rules](https://github.com/elastic/integrations/tree/main/packages/cloud_security_posture/kibana/csp_rule_template) that are stored as saved objects installed with the Cloud Security Posture integration. ### Snapshots     (cherry picked from commit 3862012)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…lt Saved Objects (#194224) (#195338) # Backport This will backport the following commits from `main` to `8.x`: - [[Security Solution] Add csp-rule-template to the Security Default Saved Objects (#194224)](#194224) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Paulo Silva","email":"paulo.henrique@elastic.co"},"sourceCommit":{"committedDate":"2024-10-08T01:43:49Z","message":"[Security Solution] Add csp-rule-template to the Security Default Saved Objects (#194224)\n\n## Summary\r\n\r\nThis PR fixes #189538, by adding `csp-rule-template` to the Security\r\nDefault Saved Objects.\r\n\r\nThis allows users with the [viewer\r\nrole](https://www.elastic.co/docs/current/serverless/general/assign-user-roles)\r\nto Security projects in Serverless to see the [Cloud Security Posture\r\nBenchmark\r\nrules](https://github.com/elastic/integrations/tree/main/packages/cloud_security_posture/kibana/csp_rule_template)\r\nthat are stored as saved objects installed with the Cloud Security\r\nPosture integration.\r\n\r\n\r\n### Snapshots\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","sha":"3862012a31d333a75955ea5de3bc76bdcdbc656a","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team: SecuritySolution","Team:Cloud Security","v8.16.0","backport:version"],"title":"[Security Solution] Add csp-rule-template to the Security Default Saved Objects","number":194224,"url":"https://github.com/elastic/kibana/pull/194224","mergeCommit":{"message":"[Security Solution] Add csp-rule-template to the Security Default Saved Objects (#194224)\n\n## Summary\r\n\r\nThis PR fixes #189538, by adding `csp-rule-template` to the Security\r\nDefault Saved Objects.\r\n\r\nThis allows users with the [viewer\r\nrole](https://www.elastic.co/docs/current/serverless/general/assign-user-roles)\r\nto Security projects in Serverless to see the [Cloud Security Posture\r\nBenchmark\r\nrules](https://github.com/elastic/integrations/tree/main/packages/cloud_security_posture/kibana/csp_rule_template)\r\nthat are stored as saved objects installed with the Cloud Security\r\nPosture integration.\r\n\r\n\r\n### Snapshots\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","sha":"3862012a31d333a75955ea5de3bc76bdcdbc656a"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194224","number":194224,"mergeCommit":{"message":"[Security Solution] Add csp-rule-template to the Security Default Saved Objects (#194224)\n\n## Summary\r\n\r\nThis PR fixes #189538, by adding `csp-rule-template` to the Security\r\nDefault Saved Objects.\r\n\r\nThis allows users with the [viewer\r\nrole](https://www.elastic.co/docs/current/serverless/general/assign-user-roles)\r\nto Security projects in Serverless to see the [Cloud Security Posture\r\nBenchmark\r\nrules](https://github.com/elastic/integrations/tree/main/packages/cloud_security_posture/kibana/csp_rule_template)\r\nthat are stored as saved objects installed with the Cloud Security\r\nPosture integration.\r\n\r\n\r\n### Snapshots\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","sha":"3862012a31d333a75955ea5de3bc76bdcdbc656a"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Paulo Silva <paulo.henrique@elastic.co>
Summary
This PR fixes #189538, by adding
csp-rule-template
to the Security Default Saved Objects.This allows users with the viewer role to Security projects in Serverless to see the Cloud Security Posture Benchmark rules that are stored as saved objects installed with the Cloud Security Posture integration.
Snapshots