We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The getResult API has this path: /projects/{platform}/{org}/{repo}
getResult
/projects/{platform}/{org}/{repo}
As a result, if the repo name looks like a file (for example with a .cmd extension), then the resulting URL will appear to be an executable file
.cmd
For example, take the kids.cmd repository, its getResult URL is this:
kids.cmd
https://api.securityscorecards.dev/projects/github.com/0k/kids.cmd
This looks like an executable file
The problem is that within an organization which has Web Proxies that block download of executable code, this URL becomes blocked
The solution would be simple: modify the openapi.yaml file to add /results.json to the end of the API path:
openapi.yaml
/results.json
/projects/{platform}/{org}/{repo}/results.json
The example above would become
https://api.securityscorecards.dev/projects/github.com/0k/kids.cmd/results.json
This would ensure that the URL looks like a JSON document always (which it is) and work around proxy limitations
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
getResult
API has this path:/projects/{platform}/{org}/{repo}
As a result, if the repo name looks like a file (for example with a
.cmd
extension), then the resulting URL will appear to be an executable fileFor example, take the
kids.cmd
repository, itsgetResult
URL is this:https://api.securityscorecards.dev/projects/github.com/0k/kids.cmd
This looks like an executable file
The problem is that within an organization which has Web Proxies that block download of executable code, this URL becomes blocked
The solution would be simple: modify the
openapi.yaml
file to add/results.json
to the end of the API path:/projects/{platform}/{org}/{repo}/results.json
The example above would become
https://api.securityscorecards.dev/projects/github.com/0k/kids.cmd/results.json
This would ensure that the URL looks like a JSON document always (which it is) and work around proxy limitations
The text was updated successfully, but these errors were encountered: