GitHub
TMA-GITHUB-1.4.3
Ensure the access granted to each installed application is limited to the least privilege needed
Mô tả
Ensure installed application permissions are limited to the lowest privilege level required. Applications are typically automated integrations that can improve the workflow of an organization. They are written by third-party developers, and therefore should be reviewed carefully before use. Reported as a manual review item: no reliable read-only gh api check exists for this control.
Cách kiểm tra
Phương pháp kiểm tra: Xem xét thủ công
Verify that each installed application has the least privilege needed: a. For GitHub Apps, perform the following: 1. In the top right corner of GitHub.com, click your profile photo, then click Your organizations. 2. Next to the organization, click Settings. 3. In the "Integrations" section of the sidebar, click GitHub Apps. 4. Next to every GitHub App, click Configure. 5. Review the GitHub App's permissions and repository access. Verify that the App permissions are the least possible and that it can access only necessary repositories.
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
Grant permissions to applications by the "least privilege" principle, meaning the lowest possible permission necessary: a. For GitHub Apps, perform the following: 1. In the top right corner of GitHub.com, click your profile photo, then click Your organizations. 2. Next to the organization, click Settings. 3. In the "Integrations" section of the sidebar, click GitHub Apps. 4. Next to every GitHub App, click Configure. 5. Review the GitHub App's permissions and repository access. Edit the permissions granted to the least possible. For example, restrict the number of repositories the App can access. 6. Click Save.
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- githubsource-code
- Tham chiếu
- CIS GitHub Benchmark v1.2.0 - 1.4.3 Ensure the access granted to each installed application is limited to the least privilege needed