Closed leonsparrowJM closed 2 months ago
This is a fix for:
SecDevOps---CondaDependabot Dependabot CVEs Count: 0 ForEach-Object: /home/runner/work/_actions/advanced-security/dependabot-epss-action/v0/action.ps1:136 Line | 136 | … = $Dependabot_AlertsCVEs | ForEach-Object { $epssHash[$] } | Where … | ~~~~~~~~ | Index operation failed; the array index evaluated to null. Error: Process completed with exit code 1.
To stop the process from erroring out if no CVEs exist.
addresses #3
Aye, it would be nice to cover all the repos in our org with this safety check, some are very small repos.
This is a fix for:
SecDevOps---CondaDependabot Dependabot CVEs Count: 0 ForEach-Object: /home/runner/work/_actions/advanced-security/dependabot-epss-action/v0/action.ps1:136 Line | 136 | … = $Dependabot_AlertsCVEs | ForEach-Object { $epssHash[$] } | Where … |
~~~~~~~~ | Index operation failed; the array index evaluated to null. Error: Process completed with exit code 1.To stop the process from erroring out if no CVEs exist.