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

2020-04-12 Thread [email protected] (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 akostadinov commented on  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
 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202784.1572381545000.9445.1586685600278%40Atlassian.JIRA.


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

2019-10-29 Thread [email protected] (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Chris Wiggins created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-59979  
 
 
  Script Security: JCasC ScriptApproval does not apply until Jenkins reboot   
 

  
 
 
 
 

 
Issue Type: 
  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  
 
 
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