ossf / scorecard-monitor

Simplify OpenSSF Scorecard tracking in your organization with automated markdown and JSON reports, plus optional GitHub issue alerts
https://github.com/marketplace/actions/openssf-scorecard-monitor
Apache License 2.0
32 stars 13 forks source link

Alternative URLs #52

Open UlisesGascon opened 1 year ago

UlisesGascon commented 1 year ago

As proposed by @rajbos in https://github.com/UlisesGascon/openssf-scorecard-monitor/issues/44#issuecomment-1488782192, it will be nice to include custom urls with an argument like custom-api-url=https://myalternativeapi.com.

Do we need to map the org and repo to the new url? I mean.. currently we use https://api.securityscorecards.dev/projects/github.com/nodejs/node but this can be replaced by https://myalternativeapi.com/projects/github.com/nodejs/node, but we might need something more flexible than replace the domain like https://myapi.com/v1/security/{org}/reporting/{repo}/scorecard