jenkinsci / jenkinsci/script-security-plugin
[JENKINS-71827] Jenkins asking for same script approval even after script is approved
- Dominant language
- Java
- Stars
- 76
- Forks
- 181
- Avg merge
- 14h 55m
- Merged PRs (30d)
- 3
Description
Jenkins keeps asking for the same script approval even after script has been approved and showing up in the approved scripts section in In-Process Script approval page.
---
Originally reported by kenpachi012, imported from: Jenkins asking for same script approval even after script is approved
Raw content of original issue
Jenkins keeps asking for the same script approval even after script has been approved and showing up in the approved scripts section in In-Process Script approval page.
3 attachments
- [2023-08-14 13_51_09-Jenkins_Pipeline_Tutorial_1 » main #264 Console [Jenkins] and 8 more pages - Wor.png](https://issues.jenkins.io/secure/attachment/61011/2023-08-14%2013_51_09-Jenkins_Pipeline_Tutorial_1%20%26%23187%3B%20main%20%23264%20Console%20%5BJenkins%5D%20and%208%20more%20pages%20-%20Wor.png)
> ![2023-08-14 13_51_09-Jenkins_Pipeline_Tutorial_1 » main #264 Console [Jenkins] and 8 more pages - Wor.png](https://issues.jenkins.io/secure/attachment/61011/2023-08-14%2013_51_09-Jenkins_Pipeline_Tutorial_1%20%26%23187%3B%20main%20%23264%20Console%20%5BJenkins%5D%20and%208%20more%20pages%20-%20Wor.png)
- [2023-08-14 13_51_26-In-process Script Approval [Jenkins] and 8 more pages - Work - Microsoft Edge.png](https://issues.jenkins.io/secure/attachment/61010/2023-08-14%2013_51_26-In-process%20Script%20Approval%20%5BJenkins%5D%20and%208%20more%20pages%20-%20Work%20-%20Microsoft%26%238203%3B%20Edge.png)
> ![2023-08-14 13_51_26-In-process Script Approval [Jenkins] and 8 more pages - Work - Microsoft Edge.png](https://issues.jenkins.io/secure/attachment/61010/2023-08-14%2013_51_26-In-process%20Script%20Approval%20%5BJenkins%5D%20and%208%20more%20pages%20-%20Work%20-%20Microsoft%26%238203%3B%20Edge.png)
- [scriptApproval.xml](https://issues.jenkins.io/secure/attachment/61242/scriptApproval.xml)
Contributor guide
Research direction
Start with the script-security-plugin and review the attached scriptApproval.xml alongside the original report. Reproduce the approval flow using the reported script, then trace why an already approved script is requested again. Done means the same script runs without another approval request after appearing in the approved scripts section.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100