Skip to content

Commit 0121132

Browse files
committed
[netbox] Add missing default for disable_keep_alive var
The disable_keep_alive variable in the httpjson input was declared as required: true and show_user: false but with no default value. Because the variable is hidden from the user and the system tests do not supply it explicitly, Fleet rejects the package policy with: inputs.httpjson.vars.disable_keep_alive: ["Disable HTTP Keep-Alives is required"] Add default: false (the canonical pattern used by okta and 1password) so Fleet can satisfy the required constraint without user input. Closes #18665, #18666, #18667, #18668, #18727, #18728
1 parent cf28f96 commit 0121132

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

packages/netbox/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "0.1.1"
3+
changes:
4+
- description: Set the default value of the "Disable HTTP Keep-Alives" variable to false to fix package policy validation.
5+
type: bugfix
6+
link: https://github.com/elastic/integrations/pull/19889
27
- version: "0.1.0"
38
changes:
49
- description: Initial draft of the package

packages/netbox/manifest.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
format_version: 3.4.1
22
name: netbox
33
title: "NetBox"
4-
version: 0.1.0
4+
version: 0.1.1
55
source:
66
license: "Elastic-2.0"
77
description: "Collect logs from NetBox with Elastic Agent"
@@ -88,6 +88,7 @@ policy_templates:
8888
description: Controls whether HTTP keep-alives are disabled.
8989
type: bool
9090
multi: false
91+
default: false
9192
owner:
9293
github: elastic/obs-infraobs-integrations
9394
type: elastic

0 commit comments

Comments
 (0)