elastic / integrations

Elastic Integrations
https://www.elastic.co/integrations
Other
187 stars 391 forks source link

sei: Update packages to format_version 3.0.0 #7810

Closed andrewkroh closed 9 months ago

andrewkroh commented 9 months ago

This meta issue tracks the work related to updating packages to format_version: 3.0.0.

The general command to update packages in bulk is:

go run github.com/andrewkroh/go-examples/ecs-update@main -format-version=3.0.0 -fix-dotted-yaml-keys -owner elastic/security-external-integrations packages/*

but we want to exclude non-deprecated rsa2elk packages from using format_version 3.0.0 so use this command and glob:

zsh
setopt extendedglob
go run github.com/andrewkroh/go-examples/ecs-update@main  \
  -format-version=3.0.0 \
  -fix-dotted-yaml-keys \
  -add-owner-type \
  -owner elastic/security-external-integrations \
  packages/*~packages/cylance~packages/fortinet_forticlient~packages/imperva~packages/netscout~packages/radware~packages/squid
elasticmachine commented 9 months ago

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

andrewkroh commented 9 months ago

116 of the SEI owned packages can be changed to 3.0.0 without issue. The 24 below have some kind of issue that needs resolved. ~This does account for the DLM changes.~

P1llus commented 9 months ago

Added https://github.com/elastic/integrations/issues/7814 to the description as well.

ebeahan commented 9 months ago

No elastic.capabilities constraints should be added. This will ensure our packages are available across observability and security projects.

As we're testing for this update and looking beyond, do we consider having testing in place for both Observability and Security project types?

such as:

# provision security type
elastic-package stack up -v --version 8.10.1 --provider serverless -U stack.serverless.type=security
# test
elastic-package test -v
# spin it down
elastic-package stack down -v
# repeat with observability project
elastic-package stack up -v --version 8.10.1 --provider serverless -U stack.serverless.type=observability
elastic-package test -v
elastic-package stack down -v
andrewkroh commented 9 months ago

After #8025 merges all of the packages owned by SEI (minus deprecated and rsa2elk) will be updated to use format_version 3.0.0.

ebeahan commented 9 months ago

With #8025 merged, any other work to track here? Or is this issue ready to close?