allower downstream plugin to adjust the apply order of TaskListenerDecorator created from TaskListenerDecorator.Factory#166
Conversation
adb5628 to
37ce7ca
Compare
|
@jglick @svanoort @dwnusbaum could you please review the PR
|
|
cc @car-roll |
|
There is a reason the reverse is there. I am not sure I recall it at this point (it has been years), but I suspect this is not right. Check downstream tests in From my perspective, the proper fix for the reported problem (ordering between |
|
(Even if |
|
@jglick When I discussed with Ted Xiao here https://issues.jenkins.io/browse/SECURITY-2401 he cited The splunk secret leakage has been a growing problem on our end, and we'd like to work with your team to see about getting this fixed. |
True, though that seems pretty hypothetical as
If and when this becomes a real problem, there is a simple solution: a plugin offering a multiplexing or “tee” storage implementation that lets you select any number of sinks (including the built-in |
37ce7ca to
a0eb94f
Compare
|
I think log plugins (splunk, logstash, datalog) implemented |
Timing and/or ignorance, I suspect. |
a0eb94f to
59b4e94
Compare
jglick
left a comment
There was a problem hiding this comment.
+0 I guess—the patch looks good and should be compatible, though I still do not advise using this API for the Splunk plugin except perhaps as a hotfix.
| import static org.hamcrest.MatcherAssert.assertThat; | ||
| import static org.hamcrest.Matchers.lessThan; | ||
|
|
||
| @Issue("SECURITY-2128") |
There was a problem hiding this comment.
| @Issue("SECURITY-2128") |
Misleading; this is not correcting a security vulnerability.
There was a problem hiding this comment.
removed and updated PR
59b4e94 to
96bb78b
Compare
|
I am not a maintainer. |
Understood, but you and @fengxx were having discussions around how his implementation broke backwards compatibility and if moving towards the use of |
I think that has been resolved.
A matter of opinion I guess. |
|
I had updated the PR per review comments and there is no breakage of backward compatibility |
|
@dwnusbaum are you the maintainer of the plugin? could you please review the PR |
|
Not sure who claims to maintain this plugin. @bitwiseman? @olamy? |
|
@jenkinsci/workflow-api-plugin-developers |
|
Checking in again to see if there's been any progress made here |
96bb78b to
ff42eba
Compare
…ry so user can adjust apply order
ff42eba to
36a8153
Compare
|
rebased on master branch, request for review |
|
@dwnusbaum @bitwiseman @kshultzCB @car-roll Can someone please review this? |
|
Hi @dwnusbaum @bitwiseman @car-roll @svanoort @joseblas @rsandell @jglick @abayer @olamy, Sorry for the wide casting blast, but we are trying to get the ball moving on this PR so we can hopefully fix a long running issue with sensitive data not being masked properly in the https://plugins.jenkins.io/splunk-devops/ plugin. Please let us know if we should be working with anyone specific on this or if there is anything else needed for this PR. We (Intuit) are very interested in this change. Thanks, |
|
Thanks for jumping in and approving @olamy 👍 . What's the next step in order to get this merged and released? |
let's wait few more days if someone else has comments then I will merge that. |
|
I am sorry, but the effect of using the new mode is not immediately clear to me, and I do not have time to investigate to understand the exact problem and the effects of the new mode, so I have no plans to review this PR. In terms of general advice, I would recommend marking the new API method My personal feeling is that something along the lines of jenkinsci/splunk-devops-plugin#17 that uses |
|
@dwnusbaum @fengxx I'm okay with marking the API as beta. As long as it's exposed in some way that we can use it downstream in the splunk-devops-plugin |
|
We have validated a proof of concept fix in the Splunk devops here plugin using this incremental version of the workflow-api plugin |
That's great @pyieh! @dwnusbaum and @olamy - Can this PR be merged now that we have a linked PR with the Splunk Devops Plugin consuming the change? |
Hi @dwnusbaum @bitwiseman @car-roll @svanoort @joseblas @rsandell @jglick @abayer @olamy - Can this change be merged in now that @pyieh has verified it on the Splunk Devops Plugin here - jenkinsci/splunk-devops-plugin#20? |
|
@dwnusbaum @olamy Wanted to check in again to see if this PR can be merged so we can begin consuming the official version in the |
|
Hi @dwnusbaum @bitwiseman @car-roll @svanoort @joseblas @rsandell @jglick @abayer @olamy @NotMyFault @basil Circling back on this. We are hoping to get this PR merged asap so we can start consuming the changes as part of the Splunk Devops Plugin (jenkinsci/splunk-devops-plugin#20) which will help to close a credentials leaking issue |
Pinging this |
|
Thanks everyone 👍 |

used to fix downstream plugin issues SECURITY-2128