-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathACS-RAM-SetPasswordPolicy.json
136 lines (136 loc) · 3.66 KB
/
ACS-RAM-SetPasswordPolicy.json
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"FormatVersion": "OOS-2019-06-01",
"Description": {
"name-en": "ACS-RAM-SetPasswordPolicy",
"name-zh-cn": "调用SetPasswordPolicy设置RAM用户密码强度策略",
"en": "Call SetPasswordPolicy to set the RAM user password strength policy",
"zh-cn": "调用SetPasswordPolicy设置RAM用户密码强度策略",
"categories": [
"security"
]
},
"Parameters": {
"minimumPasswordLength": {
"Label": {
"en": "MinimumPasswordLength",
"zh-cn": "最小密码长度"
},
"Type": "Number",
"Default": 8
},
"requireLowercaseCharacters": {
"Label": {
"en": "RequireLowercaseCharacters",
"zh-cn": "密码中是否必须包含小写字母"
},
"Type": "Boolean",
"Default": false
},
"requireUppercaseCharacters": {
"Label": {
"en": "RequireUppercaseCharacters",
"zh-cn": "密码中是否必须包含大写字母"
},
"Type": "Boolean",
"Default": false
},
"requireNumbers": {
"Label": {
"en": "RequireNumbers",
"zh-cn": "密码中是否必须包含数字"
},
"Type": "Boolean",
"Default": false
},
"requireSymbols": {
"Label": {
"en": "RequireSymbols",
"zh-cn": "密码中是否必须包含符号"
},
"Type": "Boolean",
"Default": false
},
"hardExpire": {
"Label": {
"en": "HardExpire",
"zh-cn": "密码过期后是否限制登录"
},
"Type": "Boolean",
"Default": false
},
"maxLoginAttemps": {
"Label": {
"en": "MaxLoginAttemps",
"zh-cn": "密码重试次数约束"
},
"Type": "Number",
"Default": 0
},
"passwordReusePrevention": {
"Label": {
"en": "PasswordReusePrevention",
"zh-cn": "历史密码检查策略"
},
"Type": "Number",
"Default": 0
},
"maxPasswordAge": {
"Label": {
"en": "MaxPasswordAge",
"zh-cn": "密码有效期"
},
"Type": "Number",
"Default": 0
},
"minimumPasswordDifferentCharacter": {
"Label": {
"en": "MinimumPasswordDifferentCharacter",
"zh-cn": "密码中最少包含的不同字符数量"
},
"Type": "Number",
"Default": 0
},
"passwordNotContainUserName": {
"Label": {
"en": "PasswordNotContainUserName",
"zh-cn": "密码中是否不允许包含用户名"
},
"Type": "Boolean",
"Default": false
},
"OOSAssumeRole": {
"Label": {
"en": "OOSAssumeRole",
"zh-cn": "OOS扮演的RAM角色"
},
"Type": "String",
"Default": ""
}
},
"RamRole": "{{ OOSAssumeRole }}",
"Tasks": [
{
"Name": "SetPasswordPolicy",
"Action": "ACS::ExecuteApi",
"Description": {
"en": "Call SetPasswordPolicy to set the RAM user password strength policy",
"zh-cn": "调用SetPasswordPolicy设置RAM用户密码强度策略"
},
"Properties": {
"Service": "RAM",
"API": "SetPasswordPolicy",
"Parameters": {
"MinimumPasswordLength": "{{ minimumPasswordLength }}",
"RequireLowercaseCharacters": "{{ requireLowercaseCharacters }}",
"RequireUppercaseCharacters": "{{ requireUppercaseCharacters }}",
"RequireNumbers": "{{ requireNumbers }}",
"RequireSymbols": "{{ requireSymbols }}",
"HardExpiry": "{{ hardExpire }}",
"MaxLoginAttemps": "{{ maxLoginAttemps }}",
"PasswordReusePrevention": "{{ passwordReusePrevention }}",
"MaxPasswordAge": "{{ maxPasswordAge }}"
}
}
}
]
}