Giter Site home page Giter Site logo

Comments (9)

jfrabaute avatar jfrabaute commented on August 20, 2024 1

Hi,

Here is a PR which might be related to this: #105

from helm-charts.

ofir-elementor avatar ofir-elementor commented on August 20, 2024 1

please open this there is no option to add approvedScriptHashes

from helm-charts.

davidreis97 avatar davidreis97 commented on August 20, 2024 1

@torstenwalter #105 does not close this issue, as this issue relates to the approvedScriptHashes field and #105 only enables the scriptApproval field.

from helm-charts.

torstenwalter avatar torstenwalter commented on August 20, 2024

Do you know if we could configure script approvals via JCasC.
If so then I would prefer to configure it with that as we plan to remove all xml configuration (#10).

You can test that already if you configure it via configScripts like the example below:

master:
  JCasC:
    enabled: true
    defaultConfig: true
    configScripts:
      welcome-message: |
        jenkins:
          systemMessage: Welcome to our CI\CD server.

from helm-charts.

ricardojdsilva87 avatar ricardojdsilva87 commented on August 20, 2024

@torstenwalter, not sure if you can create the xml file using the CASC feature, since the scriptApproval.xml file is built during the deployment, I'm not sure if it would be overwritten

from helm-charts.

torstenwalter avatar torstenwalter commented on August 20, 2024

I haven't tried it, but it looks quite promising.

jenkinsci/script-security-plugin#233 (comment)

For anybody searching current working configuration is under security. See here.

security:
scriptApproval:
approvedSignatures:
- method java.net.URI getHost
And it works for me on Jenkins 2.190, casc plugin 1.36 and Script Security plugin 1.68.

@ricardoespsanto Could you verify if that works? If so then it would be useful to document it.

from helm-charts.

torstenwalter avatar torstenwalter commented on August 20, 2024

#105 actually closes this ;-)

from helm-charts.

pete-leese avatar pete-leese commented on August 20, 2024

Did you ever find a solution? I still see that this support for approvedScriptHashes has not been implemented.

from helm-charts.

chenshap avatar chenshap commented on August 20, 2024

did you find a resolution for approvedScriptHashes?

from helm-charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.