Repository navigation
RFC: JEA on Linux - #420
Draft
soroshsabz wants to merge 1 commit into
Draft
soroshsabz wants to merge 1 commit into
soroshsabz wants to merge 1 commit into
Conversation
Author
|
Seyed Mehran Siadati (@siadatism) Please review this PR and make sure all your requirements are met in this RFC. |
Author
|
Ryan Yates (@kilasuit) As I understand it PRs in this repo must remain in draft until you say otherwise, Am I correct? |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Draft RFC for Just Enough Administration (JEA) on Linux, from the discussion in PowerShell/PowerShell#2198.
The RFC proposes a cross-platform, design-first evolution of JEA that makes role-based constrained PowerShell endpoints possible on Linux (and over SSH on all supported platforms), filling the gap that RFC0064 deliberately left open:
RoleDefinitions/RequiredGroupsin.pssccurrently error withpwsh -ConfigurationFile; the RFC proposes platform-neutral principal resolution (Windows SIDs; Linux/macOS users and groups via NSS) and deny-by-default endpoint access for unmapped principals.sudoallowlists, systemd/polkit, file capabilities, and privileged helper daemons, rather than inventing a new privilege mechanism.*-PSSessionConfigurationcmdlets that managesshd_configsubsystem endpoints, validate.pssc/.psrcfiles, and enforce endpoint resource ownership.VisibleExternalCommandswith argument validation, a threat model for constrained endpoints over SSH, and structured syslog/journald audit events.Process notes
Draft-Acceptedper RFC0000; the RFC number is intentionally left blank and the filename keepsNNNNfor the Committee to assign (maintainer edits are allowed).Related
cc Steve Lee (@SteveL-MSFT) Thomas Lee (@doctordns) Ryan Yates (@kilasuit) (participants in the #2198 discussion)
This change is