The scheduled Trivy job on the master branch is failing, it looks like a permission issue. This PR adds in job specific permissions. Oddly though the global permissions should have worked, I'm making an assumption that the action has an issue or that the permissions are overrided.
Modifications
Add permissions to scheduled Trivy specific job.
Verifying this change
[x] Make sure that the change passes the CI checks.
Motivation
The scheduled Trivy job on the master branch is failing, it looks like a permission issue. This PR adds in job specific permissions. Oddly though the global permissions should have worked, I'm making an assumption that the action has an issue or that the permissions are overrided.
Modifications
Add permissions to scheduled Trivy specific job.
Verifying this change
Documentation
Check the box below.
Need to update docs?
no-need-doc
CI change.