[JIRA] (JENKINS-59979) Script Security: JCasC ScriptApproval does not apply until Jenkins reboot

6 views
Skip to first unread message

me@cwiggs.com (JIRA)

unread,
Oct 29, 2019, 4:40:03 PM10/29/19
to jenkinsc...@googlegroups.com
Chris Wiggins created an issue
 
Jenkins / Bug JENKINS-59979
Script Security: JCasC ScriptApproval does not apply until Jenkins reboot
Issue Type: Bug Bug
Assignee: Andrew Bayer
Components: script-security-plugin
Created: 2019-10-29 20:39
Environment: Jenkins ver. 2.164.2
java.version 1.8.0_212
configuration-as-code:1.32
script-security:1.66
Priority: Minor Minor
Reporter: Chris Wiggins

When using the JCasC `ScriptApproval` argument the approvedSignatures don't seem to actually get applied until after Jenkins is restarted.  More info here

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

akostadinov@java.net (JIRA)

unread,
Apr 12, 2020, 6:00:04 AM4/12/20
to jenkinsc...@googlegroups.com
akostadinov commented on Bug JENKINS-59979
 
Re: Script Security: JCasC ScriptApproval does not apply until Jenkins reboot

For me it worked properly on Jenkins 2.190, casc plugin 1.36 and Script Security plugin 1.68.

security:
  scriptApproval:
    approvedSignatures:
    - method java.net.URI getHost
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages