Skip to content

SECURITY-2401 Fix credentials leakage to Splunk#20

Closed
pyieh wants to merge 3 commits into
jenkinsci:masterfrom
pyieh:bugfix/SECURITY-2401
Closed

SECURITY-2401 Fix credentials leakage to Splunk#20
pyieh wants to merge 3 commits into
jenkinsci:masterfrom
pyieh:bugfix/SECURITY-2401

Conversation

@pyieh

@pyieh pyieh commented May 18, 2022

Copy link
Copy Markdown

Proof-of-concept for fix for SECURITY-2401 using incremental workflow-api version 1137.v36a_8153e5c69 (PR-166).

Overrides new TaskListenerDecorator.Factory.isAppliedBeforeMainDecorator() method to reorder the SplunkTaskListenerFactory to get access to the console output last such that any sensitive data (e.g. via the credentials-binding plugin) will be masked by the time the LabelConsoleLineStream gets access to the data stream.

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@fengxx

fengxx commented May 23, 2022

Copy link
Copy Markdown

Thanks
There are two plugins in the repo, splunk-devops and splunk-devops-extend. splunk-devops doesn't depend on pipeline jobs, so could you please update the PR to only update dependency of splunk-devops-extend?

Comment thread pom.xml Outdated
Comment thread splunk-devops/pom.xml Outdated
Comment thread splunk-devops-extend/pom.xml Outdated
Comment thread splunk-devops/pom.xml Outdated
@pyieh

pyieh commented May 26, 2022

Copy link
Copy Markdown
Author

@fengxx I have updated the pom dependencies to only what's needed

@fengxx

fengxx commented Jul 9, 2022

Copy link
Copy Markdown

this is fixed and released

@fengxx fengxx closed this Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants