Top-level groups should restrict who can create new projects to Maintainer or Owner role. Setting project_creation_level = maintainer prevents arbitrary developers from creating ungoverned projects (which then escape policy assignment, default-branch protection, and CI/CD scanning baselines). Allowed values: noone | maintainer | developer.
1. Go to your top-level Group Settings > General. 2. Expand the Permissions and group features section. 3. Under Allowed to create projects, choose Maintainers or No one. 4. Save changes.
{
"target": "GLGroup",
"if": {
"allOf": [
{
"resource": "GLGroup",
"property": "ProjectCreationLevel",
"operator": "equals",
"value": "maintainer"
}
]
},
"then": {
"effect": "Audit"
}
}
Copyright © DevOps Shield. All Rights Reserved. Privacy Policy | Cookie Policy | Terms and Conditions | v1.0.2