Giter Site home page Giter Site logo

Comments (7)

thc202 avatar thc202 commented on June 8, 2024 2

It would be better to change the common code, since all of the actions will need the same.

from action-baseline.

AlexDCraig avatar AlexDCraig commented on June 8, 2024 2

@thc202 @sshniro @kingthorin

Hi folks, the pull request that resolves this issue is here: #58

It is dependent on the release of zaproxy/actions-common#10 (which was approved and merged).

from action-baseline.

AlexDCraig avatar AlexDCraig commented on June 8, 2024 1

My apologies, I did not see this tucked into the documentation! https://github.com/zaproxy/action-baseline#token

from action-baseline.

AlexDCraig avatar AlexDCraig commented on June 8, 2024

Re-opening because the documentation did not fix this issue. Setting token as follows:

      - name: Run OWASP Action
        id: run_owasp
        uses: zaproxy/[email protected]
        with:
          target: 'https://[url]'
          cmd_options: '-r ${{ env.APP_NAME }}-dev-baseline.html'
          token: ""

or

      - name: Run OWASP Action
        id: run_owasp
        uses: zaproxy/[email protected]
        with:
          target: 'https://[url]'
          cmd_options: '-r ${{ env.APP_NAME }}-dev-baseline.html'
          token: ''

resulted in: Error: Bad credentials

from action-baseline.

AlexDCraig avatar AlexDCraig commented on June 8, 2024

@kingthorin Not sure if you have any advice here?

from action-baseline.

sshniro avatar sshniro commented on June 8, 2024

This will require some minor code modification:

Introduce a new action input to not to create issues

Then call await common.helper.uploadArtifacts(workSpace,'report_md.md', 'report_json.json', 'report_html.html') if the create issue configuration is false, instead of processing the report.

from action-baseline.

AlexDCraig avatar AlexDCraig commented on June 8, 2024

I wrote this quick patch for the common code that would keep things the same for all dependent libraries but allow individual Actions to override/turn off Issue writing as they see fit zaproxy/actions-common#10

from action-baseline.

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.