-
Notifications
You must be signed in to change notification settings - Fork 1
Revert all security patches #104
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
bfda35d
Revert "fix: remove duplicate JCasC crumbIssuer config"
vvalderrv 862bd41
Revert "fix: security issues"
vvalderrv ded1b52
Revert "feat: add SAML and security improvements"
vvalderrv 5957d53
Revert "fix: fix templpate"
vvalderrv 539cc5b
Revert "fix: Jenkis staging JCasC configs"
vvalderrv 98fad41
Revert "fix: missing JCasC configs in staging"
vvalderrv 9482f6a
Revert "fix: add matrix-auth plugin for security startup"
vvalderrv f53c1db
Revert "feat: implement security hardending"
vvalderrv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,47 +1,12 @@ | ||
| # jcasc/02-security.yaml | ||
| # CSRF Protection: Prevents cross-site request forgery attacks | ||
| # NOTE: If automated scripts/API calls start failing with 403 errors, | ||
| # they may need to be updated to include CSRF tokens (crumbs) | ||
| --- | ||
| jenkins: | ||
| # Enable CSRF protection | ||
| crumbIssuer: | ||
| standard: | ||
| excludeClientIPFromCrumb: false | ||
| # Disable "Remember me" functionality for better security | ||
| # Users will need to re-authenticate after session expires | ||
| disableRememberMe: true | ||
| # SAML SSO Authentication via Linux Foundation SSO | ||
| # Emergency Access: Use 02-security-emergency.yaml if LF SSO is down | ||
| securityRealm: | ||
| saml: | ||
| binding: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" | ||
| displayNameAttributeName: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" | ||
| emailAttributeName: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress" | ||
| groupsAttributeName: "http://schemas.xmlsoap.org/claims/Group" | ||
| idpMetadataConfiguration: | ||
| period: 60 | ||
| url: "${SAML_METADATA_URL}" | ||
| logoutUrl: "${SAML_LOGOUT_URL}" | ||
| maximumAuthenticationLifetime: 86400 | ||
| usernameCaseConversion: "none" | ||
| usernameAttributeName: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier" | ||
| local: | ||
| allowsSignup: false | ||
| users: | ||
| - id: "admin" | ||
| password: '${JCASC_JENKINSSECURITY_ADMINPASSWORD}' | ||
| authorizationStrategy: | ||
| projectMatrix: | ||
| permissions: | ||
| # SAML Group-based Admin Access (Linux Foundation Staff) | ||
| # Security Review: Replaced hardcoded individual usernames with SAML groups | ||
| # for better maintainability and security | ||
| # 'staff': Members of the Linux Foundation staff who require full administrative access to Jenkins | ||
| - "Overall/Administer:staff" | ||
| # 'lf-releng': Members of the Linux Foundation Release Engineering team responsible for CI/CD infrastructure management | ||
| - "Overall/Administer:lf-releng" | ||
| # Emergency fallback admin account (local authentication) | ||
| - "Overall/Administer:lf-jenkins" | ||
| # Standard authenticated users - limited permissions | ||
| - "Overall/Read:authenticated" | ||
| - "Job/Build:authenticated" | ||
| - "Job/Cancel:authenticated" | ||
| - "Job/Read:authenticated" | ||
| - "Job/Workspace:authenticated" | ||
| - "View/Read:authenticated" | ||
| loggedInUsersCanDoAnything: | ||
| allowAnonymousRead: false | ||
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
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.