advanced-security / component-detection-dependency-submission-action

MIT License
8 stars 4 forks source link

Add GitHub Enterprise Server support #42

Open aegilops opened 2 months ago

aegilops commented 2 months ago

The Action uses Octokit to download microsoft/component-detection but does not specify that it should be from github.com. This means use on GitHub Enterprise Server leads to trying to resolve that org/repo on the local server, which fails with a 404.

You can work around this by manually downloading the appropriate release binary in the Actions workflow before running this Action, e.g. with wget.

It then attempts to submit using the Dependency Submission Toolkit. I haven't worked out precisely why, but this fails with a Cannot read properties of null (reading 'toString') error in the toolkit.

jhutchings1 commented 1 month ago

@advanced-security/advanced-security-dependency-graph Can you have a look?

jonjanego commented 1 month ago

@jhutchings1 afaict the dependency graph team has never contributed to this project but i've asked FR to take a look