Restrict public projects
AZDO.1003 is in Maester 3.0.0-preview and not in the stable 2.3.0 release yet. It will be in the next stable release. To use it now, install the preview:
Install-Module Maester -AllowPrerelease -ForceHow to get the preview, and go backUse the preview in GitHub Actions
Part of Maester · Azure DevOps · Security policies · All checks
Invoke-Maester -TestId AZDO.1003Overview
Section titled “Overview”Public projects should be disabled.
Rationale: When you choose public visibility, anyone on the internet can view your project. With private visibility, only users you give access to can view your project.
Remediation action
Section titled “Remediation action”Disable the policy to stop these requests and notifications.
- Sign in to your organization.
- Choose Organization settings.
- Select Policies under the Security section
- Locate the “Allow public projects” policy and toggle it to off.
Results: External users are not able to access your project.
Related links
Section titled “Related links”Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AZDO.1003 |
| Severity | High |
| Suite | Maester |
| Product | Azure DevOps |
| Feature | Security policies |
| Area | External access and sharing |
| Resource type | Tenant |
| User impact | Low |
| Implementation cost | Low |
| MITRE ATT&CK | T1213.003 Code Repositories, T1593.003 Code Repositories |
| Supports controls | nist-800-53-r5:AC-22, nist-800-53-r5:AC-3 |
| PowerShell test | Test-MtCheckAZDO1003 |
| Services | AzureDevOps |
| Learn more | https://aka.ms/vsts-anon-access |
Source
Section titled “Source”About this check
- Severity
- High
- Effort to fix
- Low
- Impact on users
- Low
- Product
- Azure DevOps
- Feature
- Security policies
- Area
- External access and sharing
- Suite
- Maester