TMAegis
Thêm quy tắc cho github

TMA-GITHUB-4.2.5

Ensure anonymous access to artifacts is revoked

CaoCấp 1Xem xét thủ cônggithub

Mô tả

For GitHub Private or Internal repositories anonymous access is not available. Verify that all repos that require access controls are Private or Internal. Disable the option to view artifacts as an anonymous user in order to protect private artifacts from being exposed. 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

Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --include-manual.

To Audit the existing settings: 1. On your GitHub Enterprise Server instance, navigate to the main page of the repository. 2. Under your repository name, click Settings 3. Under "Danger Zone", to the right of to "Change repository visibility", click Change visibility. Review the current selection.

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

Changing a repository's visibility 1. On your GitHub Enterprise Server instance, navigate to the main page of the repository. 2. Under your repository name, click Settings 3. Under "Danger Zone", to the right of to "Change repository visibility", click Change visibility. 4. Select a visibility. 5. Choose Mark private Make Internal 6. To verify that you're changing the correct repository's visibility, type the name of the repository you want to change the visibility of.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
githubartifacts
Tham chiếu
CIS GitHub Benchmark v1.2.0 - 4.2.5 Ensure anonymous access to artifacts is revoked