Vonage / vonage-php-sdk-core

Vonage REST API client for PHP. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
https://developer.vonage.com/
Apache License 2.0
916 stars 180 forks source link

add permissions to take out write-all in CI #439

Closed SecondeJK closed 11 months ago

SecondeJK commented 11 months ago

IaC reports that Github workflow for CI does not have permissions set, resulting in write-all by default.

Description

Adds permissions with some restrictions to contents, deployments and packages.

Motivation and Context

Security audit results

Types of changes

Checklist:

codecov-commenter commented 11 months ago

Codecov Report

Merging #439 (128c323) into main (a7db15d) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #439   +/-   ##
=========================================
  Coverage     78.87%   78.87%           
  Complexity     2323     2323           
=========================================
  Files           218      218           
  Lines          6252     6252           
=========================================
  Hits           4931     4931           
  Misses         1321     1321           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more