Giter VIP home page Giter VIP logo

Comments (7)

JarLob avatar JarLob commented on June 7, 2024 1

Odd, so looks like run.tool.driver.rules is undefined. Do you have a link to the failed workflow run?

from security-code-scan-results-action.

paulomorgado avatar paulomorgado commented on June 7, 2024

Solved with https://github.com/paulomorgado/Microsoft.Extensions.AspNet/blob/b759ef0dc402fff2ead50f082f7fecb66c619f86/.github/workflows/securitycodescan-analysis.yml#L150-L249

I can submit a PR.

from security-code-scan-results-action.

JarLob avatar JarLob commented on June 7, 2024

Hi, sorry didn't see all the issues. GitHub didn't add me to the watch list automatically.
PR would be awesome. What was the cause?

from security-code-scan-results-action.

paulomorgado avatar paulomorgado commented on June 7, 2024

I'm not sure why this task was a bash script creating a js script and using node to run it.

I just converted to pwsh and have no errors now.

But I don't know if it does everything it was supposed to do.

from security-code-scan-results-action.

JarLob avatar JarLob commented on June 7, 2024

Fixed in https://github.com/security-code-scan/security-code-scan-add-action/releases/tag/v1.2

from security-code-scan-results-action.

Subtixx avatar Subtixx commented on June 7, 2024

Got the same error now using the latest:

D:\a\xarf-report-generator\xarf-report-generator\convert.js:12
    run.tool.driver.rules = run.tool.driver.rules.filter((e => e.id.startsWith("SCS")));
                                                  ^
TypeError: Cannot read properties of undefined (reading 'filter')
    at Object.<anonymous> (D:\a\xarf-report-generator\xarf-report-generator\convert.js:12:51)
    at Module._compile (node:internal/modules/cjs/loader:1103:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47
Error: Process completed with exit code 1.

from security-code-scan-results-action.

Subtixx avatar Subtixx commented on June 7, 2024

Sure do:
https://github.com/IT-Hock/xarf-report-generator/runs/5993051164?check_suite_focus=true

EDIT:
btw I have since tried alot of things and the workflow file has changed multiple times (still didn't go through though. I have disabled the action for now and deleted all failed workflows. If needed I can create one that is up2date)

from security-code-scan-results-action.

Related Issues (3)

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.