Skip to content

Commit b6f72a6

Browse files
authored
Update README.md
1 parent f58e260 commit b6f72a6

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,23 @@ The following variables are set in the `.env` file created by the pipeline:
7474
- If you encounter issues with database migrations, verify your database settings in `settings.py`.
7575
- Review the logs in the GitHub Actions tab for detailed error messages.
7676

77+
# Security Improvements in GitHub Actions Workflows
78+
79+
## Overview
80+
We have updated the GitHub Actions workflows to ensure minimal permissions are used, addressing the issue `CKV2_GHA_1: Ensure top-level permissions are not set to write-all`.
81+
82+
### Changes Made
83+
- Replaced `write-all` permissions with specific permissions such as:
84+
- `contents: read`
85+
- `pull-requests: write`
86+
- `packages: write`
87+
- Added detailed comments to explain the purpose of each permission.
88+
89+
### Debugging Tips
90+
- Ensure that all required permissions are explicitly defined in the workflow files.
91+
- Review the logs in the GitHub Actions tab for detailed error messages.
92+
- Use tools like Checkov or CodeQL to scan your workflows for security issues and generate SARIF reports for further analysis.
93+
7794
# Security Gateway Pipeline
7895

7996
## Overview

0 commit comments

Comments
 (0)