github / ossar-action

Run multiple open source security static analysis tools without the added complexity with OSSAR (Open Source Static Analysis Runner).
MIT License
94 stars 27 forks source link

ubuntu-latest support #1

Open davidknise opened 4 years ago

davidknise commented 4 years ago

Tracking item for ubuntu-latest queue support.

As of the beta release, the Microsoft Security Code Analysis (MSCA) CLI that powers this action has difficulties running on unix systems do to pathing issues of case sensitivity and backslashes.

The work to fix those components within the MSCA CLI is in progress with an ETA of end of July.

Once pushed to nuget.org, the action will automatically pick up the new version of the MSCA CLI, fixing the ubuntu-latest workflow and badge on the main README page, when rerun.

The Limitations portion will be updated to remove this limitation.

interDist commented 3 years ago

Any news regarding the support for Ubuntu that was planned to come by the end of July 2020?

davidkarlsen commented 3 years ago

Running this on a javascript build on ubuntu-latest and it seems windows is expected?

  Calling chmod on the output folder for rwx permissions:
    ------------------------------------------------------------------------------
    chmod 755 -R /home/runner/work/tac-jfr-js-client/tac-jfr-js-client/.gdn/i/node_modules
    ------------------------------------------------------------------------------
  Clear:
    Clearing folder: /home/runner/work/tac-jfr-js-client/tac-jfr-js-client/.gdn/.r
    Clearing folder: /home/runner/work/tac-jfr-js-client/tac-jfr-js-client/.gdn/rc
  Analyze:
    Running ESLint 7.28.0.1
    ------------------------------------------------------------------------------
    /home/runner/work/tac-jfr-js-client/tac-jfr-js-client/.gdn/i/node_modules/eslint/eslint.cmd --no-eslintrc --config /home/runner/work/tac-jfr-js-client/tac-jfr-js-client/.gdn/i/node_modules/eslint/node_modules/@microsoft/eslint-plugin-sdl/config/required.js --ext .js --ext .ts --ignore-pattern *.d.ts --format /home/runner/work/tac-jfr-js-client/tac-jfr-js-client/.gdn/i/node_modules/eslint\node_modules\@microsoft\eslint-formatter-sarif\sarif.js --output-file /home/runner/work/tac-jfr-js-client/tac-jfr-js-client/.gdn/.r/eslint/001/eslint.sarif **/*.{js,ts}
    ------------------------------------------------------------------------------
Error:      Error running eslint job: 1 of 1
Error:      ToolLauncherNotFoundException: Could not successfully find the /home/runner/work/tac-jfr-js-client/tac-jfr-js-client/.gdn/i/node_modules/eslint/eslint.cmd tool launcher. Please ensure any dependent frameworks are installed.
Error:      Win32Exception: No such file or directory
    ------------------------------------------------------------------------------

Error:      Error running tool 1 of 1: eslint
Error:      Error running eslint job: 1 of 1
Error:      ToolLauncherNotFoundException: Could not successfully find the /home/runner/work/tac-jfr-js-client/tac-jfr-js-client/.gdn/i/node_modules/eslint/eslint.cmd tool launcher. Please ensure any dependent frameworks are installed.
Error:      Win32Exception: No such file or directory
Error: TypeError: error is not a function