From 3ad942b402c1858cc68d88094f1aa3542b90b0ae Mon Sep 17 00:00:00 2001 From: Andrew Kroh Date: Tue, 4 Aug 2026 09:00:13 -0400 Subject: [PATCH] chore: update go-package-spec for package-spec 3.6.6 Bump github.com/andrewkroh/go-package-spec to pick up support for package-spec 3.6.6 (go-package-spec#26). What changes in the database: - The `packages` table gains a `group` column, holding the new top-level `group` field from integration, input, and content manifests. Packages that share a value belong to the same marketplace group. Kibana owns the group's title, icon, and description; the manifest field only declares membership, and values are not validated against Kibana's group list. The column name is quoted in SQL because `group` is a SQLite keyword, so queries need `SELECT "group" FROM packages`. No package in elastic/integrations sets it yet, so the column is currently NULL everywhere. - Content packages may now ship saved search assets in `kibana/search/`, and those rows land in `kibana_saved_objects` with `asset_type = 'search'`. Integration packages could already do this; 3.6.6 extends it to content packages. No schema change for the other 3.6.6 additions. Policy tests gained an `ignore_fields` setting, but it lives in the package-level _dev/test/config.yml, which is not indexed. The remaining changes are package-spec validation and tooling only. Verified by building the database from a local elastic/integrations checkout: 479 packages load, the new column is present and queryable, and 510 saved search assets are indexed. --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 3f4d1d4..b3fba96 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.26.5 require ( github.com/andrewkroh/go-ecs v0.0.0-20260204044457-2d67483e976a - github.com/andrewkroh/go-package-spec v0.0.0-20260708170158-dfb21dd97261 + github.com/andrewkroh/go-package-spec v0.0.0-20260804121015-129728813a7c github.com/gorilla/handlers v1.5.2 github.com/modelcontextprotocol/go-sdk v1.6.1 go.opentelemetry.io/contrib/exporters/autoexport v0.69.0 diff --git a/go.sum b/go.sum index 4826d77..9dfcaa3 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,7 @@ github.com/andrewkroh/go-ecs v0.0.0-20260204044457-2d67483e976a h1:97PBoqqEQzZGvZFwfYm6bLpIgzj55beJXrGq/15F5xo= github.com/andrewkroh/go-ecs v0.0.0-20260204044457-2d67483e976a/go.mod h1:MDEnOCgOILh8aBc6rhhUiWPyws1aoNxXw/NY/J5oen8= -github.com/andrewkroh/go-package-spec v0.0.0-20260708170158-dfb21dd97261 h1:gnooV1/aFo5wQT7n/2EJVsjI2cm/y8BPlsZFojc7uHc= -github.com/andrewkroh/go-package-spec v0.0.0-20260708170158-dfb21dd97261/go.mod h1:VYFYfQkXOAe7RIOtSSUNfB6k7bn7An3IKRxfJvTvA8g= +github.com/andrewkroh/go-package-spec v0.0.0-20260804121015-129728813a7c h1:CIYT2U1XxniF9UzUMohfJpkKTceTAq6qYG8Thwijy/s= +github.com/andrewkroh/go-package-spec v0.0.0-20260804121015-129728813a7c/go.mod h1:VYFYfQkXOAe7RIOtSSUNfB6k7bn7An3IKRxfJvTvA8g= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/cenkalti/backoff/v5 v5.0.3 h1:ZN+IMa753KfX5hd8vVaMixjnqRZ3y8CuJKRKj1xcsSM=