@@ -88,29 +88,23 @@ API call allowed only for administrator.
88
88
},
89
89
"data": [
90
90
{
91
- "hostIdentifier": "default.sys.fqhost",
92
- "rbacEnabled": true,
93
- "logLevel": "error",
94
- "ldapEnabled": true,
95
- "blueHostHorizon": 900,
96
- "sameHostsNumberOfRuns": 3
91
+ "blueHostHorizon": 2400,
92
+ "enforce2FA": false,
93
+ "hostIdentifier": "default.sys.fqhost",
94
+ "hostsCollisionsThreshold": 3,
95
+ "logLevel": "error",
96
+ "minPasswordLength": 8,
97
+ "passwordComplexity": 3,
98
+ "passwordExpirationAfterResetHours": 48,
99
+ "rbacEnabled": true
97
100
}
98
101
]
99
102
}
100
103
```
101
104
102
105
** Output** :
103
106
104
- * ** rbacEnabled** * (boolean)*
105
- Whether RBAC is applied to requests.
106
- * ** hostIdentifier** * (string)*
107
- The identfying string for hosts, such as name or IP.
108
- * ** ldapEnabled** * (boolean)*
109
- Whether external authentication is activated.
110
- * ** logLevel** * ("emergency", "alert", "critical", "error", "warning", "notice", "info", "debug")*
111
- Syslog filter specifying the severity level at which messages produced by the API should be emitted to syslog and apache.log. (default: error).
112
- * ** sameHostsNumberOfRuns** * (integer)*
113
- Number of samples used to identify a duplicate identity. Default value is 3.
107
+ See [ Update settings] [ Status and settings REST API#Update settings ] field section for output descriptions
114
108
115
109
116
110
** Example usage:** ` Example: Viewing settings `
@@ -138,7 +132,21 @@ administrator.
138
132
Threshold in minutes that hosts are unreachable before they are considered a health issue.
139
133
* ** sameHostsNumberOfRuns** * (integer)*
140
134
Number of samples used to identify a duplicate identity. Default value is 3.
141
-
135
+ * ** enforce2FA** * (boolean)*
136
+ Determines if two-factor authentication (2FA) is mandatory for all users.
137
+ If set to ` true ` , users must enable 2FA; otherwise, they will be locked out within 48 hours after the first login.
138
+ Default value: ` false `
139
+ * ** minPasswordLength** * (integer)*
140
+ Sets the minimum required length for user passwords.
141
+ The value represents the number of characters.
142
+ Default value: ` 8 `
143
+ * ** passwordComplexity** * (integer)*
144
+ Defines the level of password complexity required.
145
+ The range is from 0 to 4, where zero turns of the password complexity check and four turns on the maximum level.
146
+ Default value: ` 3 `
147
+ * ** passwordExpirationAfterResetHours** * (integer)*
148
+ Specifies the number of hours after which a password must expire following a reset.
149
+ Default value: ` 48 `
142
150
143
151
** Example Request Body:**
144
152
@@ -149,7 +157,11 @@ administrator.
149
157
"logLevel": "error",
150
158
"ldapEnabled": true,
151
159
"blueHostHorizon": 900,
152
- "sameHostsNumberOfRuns": 5
160
+ "sameHostsNumberOfRuns": 5,
161
+ "minPasswordLength": 12,
162
+ "passwordComplexity": 4,
163
+ "passwordExpirationAfterResetHours": 24,
164
+ "enforce2FA": true
153
165
}
154
166
```
155
167
0 commit comments