fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Add customizable pack name prefix in results stream

Open Patagonia121 opened this issue 1 year ago • 10 comments

  • customer-figali: Gong snippet: https://us-65885.app.gong.io/call?id=2972660922453289932&highlights=%5B%7B%22type%22%3A%22SHARE%22%2C%22from%22%3A33%2C%22to%22%3A110%7D%5D
  • @noahtalerman: User requested this because Fleet today adds the pack name to query results. The pack name always includes the team name. When you have the same query on different teams and you're sending query results to Panther, Panther thinks these are two different queries. This means everytime you add a new team, you have to tweak the Panther rule: update it to include the new team.
    • For example, when adding a new “canary” team, the team at customer-figali had to manually duplicate and rename the same query pack approximately 50 times—a process that is not only time-consuming but also error-prone and hard to maintain long term.

Patagonia121 avatar Jun 28 '25 00:06 Patagonia121

@Patagonia121 can you help me track down where in the gong snippet they are talking about this one? Sorry if I am completely overlooking it.

allenhouchins avatar Jul 10 '25 18:07 allenhouchins

Hey @allenhouchins Allen, I updated this for Jason with the correct link.

MunkiMind avatar Jul 11 '25 17:07 MunkiMind

@MunkiMind thank you!

allenhouchins avatar Jul 12 '25 02:07 allenhouchins

Problem

Currently, Fleet assigns a static prefix to the results stream (e.g., pack/team-name) which tightly couples the query pack’s name to the team. This rigidity makes it extremely cumbersome to share queries or packs across multiple teams. For example, when adding a new “canary” team, the team at customer-figali had to manually duplicate and rename the same query pack approximately 50 times—a process that is not only time-consuming but also error-prone and hard to maintain long term.

What have you tried?

TODO

Potential solutions

TODO

What is the expected workflow as a result of your proposal?

  • Admins can customize the results stream prefix per query pack, decoupling it from the assigned team.
  • Multiple teams can reference the same query pack and get results under the same or distinct prefixes, based on configuration.
  • GitOps workflows become simpler: A single version-controlled pack can be reused and scoped without duplicating it for every team.

noahtalerman avatar Jul 22 '25 20:07 noahtalerman

@ddribeiro can you please schedule a call with me and any CSA to solution this?

noahtalerman avatar Sep 08 '25 21:09 noahtalerman

@ddribeiro @AdamBaali here's what we decided during our solution call today:

TODO: @AdamBaali: Put together a POC of solving this with Firehose. See if we can trim the pack_team-<id> prefix customer-figalo can add as many teams in Fleet without having to worry about tweaking Panther rules.

Notes doc: https://docs.google.com/document/d/1hAlVWZ0TO0ZU97WXD94QHMDgP7WyMqjWW9lad9xWcZ8/edit?tab=t.0

noahtalerman avatar Sep 10 '25 16:09 noahtalerman

@AdamBaali Is this still something we need to do or should we close this?

ddribeiro avatar Apr 08 '26 16:04 ddribeiro

@andreasn-work can you please check with the customer if this is still something they need.

AdamBaali avatar Apr 09 '26 15:04 AdamBaali

Yes- I have a call with them on monday- will validate during that call.

andreasn-work avatar Apr 09 '26 17:04 andreasn-work

Custom prefix shines, Panther sees one, not two, Efficiency climbs high.

fleet-release avatar Jun 25 '26 16:06 fleet-release