You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I will expect both payloads to include all the checks included in the scorecard, or at least an error code that explains this behaviour, so the API consumers can control the error.
Activity
spencerschrock commentedon Aug 31, 2023
I believe this is a matter of where the result is sourced. The API pulls from the GitHub action published results if available, or the weekly cron if not.
https://github.com/ossf/scorecard-webapp/blob/e7be60069b18df32c7d3b003dd9daca6a622e6c5/app/server/get_results.go#L70-L88
These are the checks disabled in the weekly cron:
scorecard/cron/config/config.yaml
Line 48 in b68ef18
The output is basically tied to the checks requested, so
will only have the Vulnerabilities check in its result. Which is why those 3 are missing.
Your second request comes from before the action was installed, so there's no other data to grab.
I believe this is working as intended.
UlisesGascon commentedon Sep 14, 2023
Thanks @spencerschrock this makes sense! Thanks for the complete response π