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

OSSAR Action fails with message 'No Applicable tools detected' on .NET Repo #41

Open tsvss opened 2 years ago

tsvss commented 2 years ago

Hello, While I try to run the OSSAR action in my GitHub repository containing the Web API built with .NET6 (C#), the action exits with code 1 and the message 'No applicable tools were detected.'

Error: RunCommandNoOptionsException: No applicable tools were detected. Run requires at least one configuration to run. Provide at least one Guardian config or tool with --config or --tool. Error: Error: The process 'D:\a_msdo\versions\microsoft.security.devops.cli\0.118.2\tools\guardian.cmd' failed with exit code 1

Any suggestions or help to create and run the OSSAR action on the .NET repo would be much appreciated.

xackery commented 2 years ago

Same issue.

https://github.com/xackery/talkeq/blob/e0686df669da9e9a1514f6ca1b2b2c73121238bf/.github/workflows/ossar.yml errors with: https://github.com/xackery/talkeq/runs/8195416359?check_suite_focus=true#step:3:27

From what I can tell, it needs more parameters to run in my environment or some such. Will investigate and post if nobody else replies.