ossf / scorecard

OpenSSF Scorecard - Security health metrics for Open Source
https://scorecard.dev
Apache License 2.0
4.6k stars 500 forks source link

Feature: Checks should support powershell scripts #4253

Open balteravishay opened 3 months ago

balteravishay commented 3 months ago

Is your feature request related to a problem? Please describe. powershell isn't supported by mvdan.cc/sh/v3/syntax and so the Pinned dependency and others such as SAST check ignores .ps1 files AND powershell based tasks/jobs in GitHub Actions AND fails on windows containers dockerfiles that use powershell. Supporting powershell based scripts will increase the number of repositories that can leverage the Pinned Dependency checks.

Describe the solution you'd like Pinned Dependency should be able to analyze the following and treat them the same as POSIX Shell, Bash, and mksh and leverage the existing checks that are implemented for those scripts:

examples: