Document minimum required permissions #388
Labels
documentation
Improvements or additions to documentation
help wanted
Extra attention is needed
needs-research
I wanted to use
anchore/sbom-action
with thedependency-snapshot
option but since I always usepermissions: read-all
(related docs) this didn't work immediately. Instead, the action failed (silently) with the error:From my testing, the required permissions for the
dependency-snapshot
option are:I haven't tried out all other features, but based on their description I think
anchore/sbom-action/publish-sbom
would need the same permissions to be able to upload the SBOM to a GitHub Release.I think it would be nice to have the minimum required permissions documented to allow users to easily use the minimum required permissions needed and follow the principle of least privilege.
The text was updated successfully, but these errors were encountered: