GitLab protected branch
gitlab.project.protectedBranch MQL resource for querying GitLab infrastructure with cnquery and cnspec.
GitLabPrivate Resource
GitLab protected branch
Min version: 9.0.0Defaults:
name allowForcePushRelationships
2 resources · 2 relationships·Click to select, expand fields to see properties.
Fields (4)
| Field | Type | Description |
|---|---|---|
allowForcePushrequired | int | Whether force push is allowed |
codeOwnerApprovalrequired | int | Whether code owner approval required |
defaultBranchrequired | int | Whether this is the default branch |
namerequired | string | Branch name |