aquasecurity / trivy-action

Runs Trivy as GitHub action to scan your Docker container image for vulnerabilities
Apache License 2.0
729 stars 216 forks source link

Uploading GitHub Dependency Snapshot: data cannot be null #332

Open LMSSonos opened 2 months ago

LMSSonos commented 2 months ago

When I enable the format github I get the following error

Uploading GitHub Dependency Snapshot{
  "message": "Invalid request.\n\nInvalid input: data cannot be null.",
  "documentation_url": "https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository"
}

I have added the contents: write permission. Is anything else required? Using a private repo with the Teams subscription