diff --git a/x-pack/plugins/fleet/common/openapi/bundled.json b/x-pack/plugins/fleet/common/openapi/bundled.json index 7ddd44baacf2d..928b9067a8121 100644 --- a/x-pack/plugins/fleet/common/openapi/bundled.json +++ b/x-pack/plugins/fleet/common/openapi/bundled.json @@ -3436,6 +3436,14 @@ "parameters": [ { "$ref": "#/components/parameters/kbn_xsrf" + }, + { + "schema": { + "type": "boolean" + }, + "in": "query", + "name": "sys_monitoring", + "description": "Enable collection of system logs and metrics." } ] } diff --git a/x-pack/plugins/fleet/common/openapi/bundled.yaml b/x-pack/plugins/fleet/common/openapi/bundled.yaml index d60963068b8e5..0b47e5a705295 100644 --- a/x-pack/plugins/fleet/common/openapi/bundled.yaml +++ b/x-pack/plugins/fleet/common/openapi/bundled.yaml @@ -2136,6 +2136,11 @@ paths: security: [] parameters: - $ref: '#/components/parameters/kbn_xsrf' + - schema: + type: boolean + in: query + name: sys_monitoring + description: Enable collection of system logs and metrics. /api/fleet/agent_policies/{agentPolicyId}: parameters: - schema: diff --git a/x-pack/plugins/fleet/common/openapi/paths/agent_policies.yaml b/x-pack/plugins/fleet/common/openapi/paths/agent_policies.yaml index 7c690e7b01822..aa57da226dbbf 100644 --- a/x-pack/plugins/fleet/common/openapi/paths/agent_policies.yaml +++ b/x-pack/plugins/fleet/common/openapi/paths/agent_policies.yaml @@ -70,3 +70,8 @@ post: security: [] parameters: - $ref: ../components/headers/kbn_xsrf.yaml + - schema: + type: boolean + in: query + name: sys_monitoring + description: Enable collection of system logs and metrics.