Skip to content

Commit a9dac8b

Browse files
Added new Settings API fields
Signed-off-by: Ihor Aleksandrychiev <ihor.aleksandrychiev@northern.tech>
1 parent 010ee1b commit a9dac8b

1 file changed

Lines changed: 29 additions & 1 deletion

File tree

content/api/enterprise-api-ref/status-settings.markdown

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,27 @@ administrator.
147147
- **passwordExpirationAfterResetHours** _(integer)_
148148
Specifies the number of hours after which a password must expire following a reset.
149149
Default value: `48`
150+
- **disableAI** _(boolean)_
151+
Disables all AI features, including the [AI chat][AI chat API] endpoint.
152+
Default value: `false`
153+
- **allowLlmViewAccessToAttributesNames** _(boolean)_
154+
Allows the LLM used by the [AI chat][AI chat API] to receive the names of inventory attributes when generating SQL queries. When `false`, the AI chat operates without knowledge of attribute names defined on the hub.
155+
Default value: `false`
156+
- **deletedHostsCleanup** _(object)_
157+
Configuration for the deleted-hosts stage of the [Hosts cleanup API][Hosts cleanup API]. Object shape: `{ "enabled": boolean, "days": integer }`. Deleted hosts older than `days` are permanently removed when enabled.
158+
Default value: `{ "enabled": false, "days": 90 }`
159+
- **duplicateHostnameHostsCleanup** _(object)_
160+
Configuration for the duplicate-hostname stage of the [Hosts cleanup API][Hosts cleanup API]. Object shape: `{ "enabled": boolean, "completelyClear": boolean }`. When `completelyClear` is `true`, deleted duplicates are also permanently removed in the same run.
161+
Default value: `{ "enabled": false, "completelyClear": false }`
162+
- **duplicateIpHostsCleanup** _(object)_
163+
Configuration for the duplicate-IP stage of the [Hosts cleanup API][Hosts cleanup API]. Object shape: `{ "enabled": boolean, "completelyClear": boolean }`.
164+
Default value: `{ "enabled": false, "completelyClear": false }`
165+
- **groupHostsCleanup** _(object)_
166+
Configuration for the group stage of the [Hosts cleanup API][Hosts cleanup API]. Object shape: `{ "enabled": boolean, "groupId": integer, "completelyClear": boolean }`. Every host in the given shared group is deleted when enabled.
167+
Default value: `{ "enabled": false, "groupId": "", "completelyClear": false }`
168+
- **inactiveHostsCleanup** _(object)_
169+
Configuration for the inactivity stage of the [Hosts cleanup API][Hosts cleanup API]. Object shape: `{ "enabled": boolean, "days": integer, "completelyClear": boolean }`. Hosts that have not reported in for `days` days are deleted when enabled.
170+
Default value: `{ "enabled": false, "days": 30, "completelyClear": false }`
150171

151172
**Example Request Body:**
152173

@@ -161,7 +182,14 @@ administrator.
161182
"minPasswordLength": 12,
162183
"passwordComplexity": 4,
163184
"passwordExpirationAfterResetHours": 24,
164-
"enforce2FA": true
185+
"enforce2FA": true,
186+
"disableAI": false,
187+
"allowLlmViewAccessToAttributesNames": true,
188+
"deletedHostsCleanup": { "enabled": true, "days": 90 },
189+
"duplicateHostnameHostsCleanup": { "enabled": true, "completelyClear": false },
190+
"duplicateIpHostsCleanup": { "enabled": false, "completelyClear": false },
191+
"groupHostsCleanup": { "enabled": false, "groupId": 12, "completelyClear": false },
192+
"inactiveHostsCleanup": { "enabled": true, "days": 30, "completelyClear": true }
165193
}
166194
```
167195

0 commit comments

Comments
 (0)