open-amt-cloud-toolkit / rpc-go

The Remote Provisioning Client (RPC) communicates with the Manageability Engine Interface (MEI) and Remote Provisioning Service (RPS) interfaces.
https://open-amt-cloud-toolkit.github.io/docs/
Apache License 2.0
13 stars 15 forks source link

ci: Apply security best practices #538

Closed step-security-bot closed 5 months ago

step-security-bot commented 5 months ago

Summary

This pull request is created by StepSecurity at the request of @rsdmike. Please merge the Pull Request to incorporate the requested changes. Please tag @rsdmike on your message if you have any questions related to the PR.

Security Fixes

Least Privileged GitHub Actions Token Permissions

The GITHUB_TOKEN is an automatically generated secret to make authenticated calls to the GitHub API. GitHub recommends setting minimum token permissions for the GITHUB_TOKEN.

The Dependency Review Workflow enforces dependency reviews on your pull requests. The action scans for vulnerable versions of dependencies introduced by package version changes in pull requests, and warns you about the associated security vulnerabilities. This gives you better visibility of what's changing in a pull request, and helps prevent vulnerabilities being added to your repository.

Feedback

For bug reports, feature requests, and general feedback; please email support@stepsecurity.io. To create such PRs, please visit https://app.stepsecurity.io/securerepo.

Signed-off-by: StepSecurity Bot bot@stepsecurity.io

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 71.65%. Comparing base (650935d) to head (c47ce43). Report is 210 commits behind head on main.

:exclamation: Current head c47ce43 differs from pull request most recent head 5c1050c

Please upload reports for the commit 5c1050c to get more accurate results.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #538 +/- ## =========================================== - Coverage 83.21% 71.65% -11.56% =========================================== Files 32 41 +9 Lines 4265 4061 -204 =========================================== - Hits 3549 2910 -639 - Misses 576 888 +312 - Partials 140 263 +123 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.