Title: Feature Request: Add support for allowPrivilegeEscalation check in init/ephemeral containers · Issue #13133 · stackrox/stackrox · GitHub
Open Graph Title: Feature Request: Add support for allowPrivilegeEscalation check in init/ephemeral containers · Issue #13133 · stackrox/stackrox
X Title: Feature Request: Add support for allowPrivilegeEscalation check in init/ephemeral containers · Issue #13133 · stackrox/stackrox
Description: Hi! Currently, StackRox policies do not apply allowPrivilegeEscalation checks to init/ephemeral containers. We request support for this setting to ensure privilege escalation restrictions are enforced consistently across all container ty...
Open Graph Description: Hi! Currently, StackRox policies do not apply allowPrivilegeEscalation checks to init/ephemeral containers. We request support for this setting to ensure privilege escalation restrictions are enfor...
X Description: Hi! Currently, StackRox policies do not apply allowPrivilegeEscalation checks to init/ephemeral containers. We request support for this setting to ensure privilege escalation restrictions are enfor...
Opengraph URL: https://github.com/stackrox/stackrox/issues/13133
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature Request: Add support for allowPrivilegeEscalation check in init/ephemeral containers","articleBody":"Hi!\r\n\r\nCurrently, StackRox policies do not apply `allowPrivilegeEscalation` checks to init/ephemeral containers. \r\n\r\nWe request support for this setting to ensure privilege escalation restrictions are enforced consistently across all container types.\r\n\r\nUse Case:\r\nI'm testing default policy `Container with privilege escalation allowed` using manifest below and there is no violation: \r\n```\r\napiVersion: v1\r\nkind: Pod\r\nmetadata:\r\n name: init-container-privilege-test\r\nspec:\r\n initContainers:\r\n - name: init-test-container\r\n image: busybox\r\n command: [\"sh\", \"-c\", \"echo Init container\"]\r\n securityContext:\r\n allowPrivilegeEscalation: true\r\n containers:\r\n - name: main-container\r\n image: nginx\r\n securityContext:\r\n allowPrivilegeEscalation: false\r\n```","author":{"url":"https://github.com/GurbanV","@type":"Person","name":"GurbanV"},"datePublished":"2024-10-28T19:33:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/13133/stackrox/issues/13133"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:da1c5cab-c10d-c3c3-d14e-f2f737d29e2f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8580:3DAC2C:760377:A36535:6980E338 |
| html-safe-nonce | c74b9ccb6f29c065a4624d9bcb45b56a7ecfde998e1057d4fd7b26aca857a448 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTgwOjNEQUMyQzo3NjAzNzc6QTM2NTM1OjY5ODBFMzM4IiwidmlzaXRvcl9pZCI6IjE5MDQ3MTczMTQ5MjI3MDE2MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 055119283fd76f82dd8ea1e2845003878dd5822d6c8ce5e1ae28a0415a73871a |
| hovercard-subject-tag | issue:2619360470 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stackrox/stackrox/13133/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eccfc79780bffa88c3bfe887beeb492f99eec1c6474a58c0c351e0ae310ee119/stackrox/stackrox/issues/13133 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eccfc79780bffa88c3bfe887beeb492f99eec1c6474a58c0c351e0ae310ee119/stackrox/stackrox/issues/13133 |
| og:image:alt | Hi! Currently, StackRox policies do not apply allowPrivilegeEscalation checks to init/ephemeral containers. We request support for this setting to ensure privilege escalation restrictions are enfor... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GurbanV |
| hostname | github.com |
| expected-hostname | github.com |
| None | b864989388d67f9bb4a2fb1dfeb2688346a5dd326651e2e650691e71c007c0dc |
| turbo-cache-control | no-preview |
| go-import | github.com/stackrox/stackrox git https://github.com/stackrox/stackrox.git |
| octolytics-dimension-user_id | 40638982 |
| octolytics-dimension-user_login | stackrox |
| octolytics-dimension-repository_id | 434017296 |
| octolytics-dimension-repository_nwo | stackrox/stackrox |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 434017296 |
| octolytics-dimension-repository_network_root_nwo | stackrox/stackrox |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6e7fa5832324cc3e9b6caeffeb9a35c96eb93ab5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width