-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.yml
68 lines (58 loc) · 1.37 KB
/
application.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
spring:
application:
name: gitlab-enforcer
main:
banner-mode: "off"
logging:
file:
max-history: 10
level:
org.springframework: info
org.vaulttec: info
proxy:
host:
port: 3128
enforcer:
scheduler:
enabled: true
rate: 300000 # 5 min
auditEventRepositoryCapacity: 1000
systemHookToken:
gitlab:
serverUrl:
personalAccessToken:
perPage: 100
rules:
- rule: org.vaulttec.gitlab.enforcer.rule.GroupSettingsRule
use: once
config:
membership_lock: true
share_with_group_lock: true
auto_devops_enabled: false
project_creation_level: maintainer
subgroup_creation_level: owner
- rule: org.vaulttec.gitlab.enforcer.rule.ProtectedBranchRule
use: always
config:
skipUserProjects: true
keepStricterAccessLevel: true
name: master
push_access_level: 30
merge_access_level: 30
- rule: org.vaulttec.gitlab.enforcer.rule.ProtectedBranchRule
use: always
config:
skipUserProjects: true
keepStricterAccessLevel: true
name: release/*
push_access_level: 40
merge_access_level: 40
- rule: org.vaulttec.gitlab.enforcer.rule.PushRulesRule
use: always
config:
skipUserProjects: true
member_check: true
- rule: org.vaulttec.gitlab.enforcer.rule.UserProjectSettingsRule
use: always
config:
removeSharedGroups: true