arkime / aws-aio

Apache License 2.0
8 stars 3 forks source link

Add `config-list` command to the CLI #139

Closed chelma closed 8 months ago

chelma commented 9 months ago

Description

As a part of https://github.com/arkime/aws-aio/issues/87, this task is to add a way to list the code/config bundles that have been deployed to the Capture and Viewer nodes.

Acceptance Criteria

chelma commented 9 months ago

Some initial thoughts as I think through the user experience here. There's a lot of ways to structure this so I'll start with making a list of actions that a user might want to perform.

Additionally, we'll want a way to specify whether we're looking for/listing Capture config or Viewer config.

chelma commented 9 months ago

Whoops, didn't mean to close the ticket

chelma commented 9 months ago

Some additional thoughts:

chelma commented 9 months ago

After some thought, I think I'll start with the following experience:

It should be easy to add the other use-cases (filter by MD5, filter by config version, limit responses to specific count) later in case those end up being in high demand. Will create a follow-up ticket to capture them for later consideration.

chelma commented 9 months ago

After playing around with things a bit more, I suspect most people would be satisfied with just the following:

Going to move filtering by --before and --after to the list of follow-up features.

chelma commented 9 months ago

Another side-note - calling HeadObject on each config bundle is pretty slow; it takes ~3 seconds to handle 6 config versions. We'll want to take another pass on this, per previous discussion (see https://github.com/arkime/aws-aio/issues/139#issuecomment-1850038929).

chelma commented 8 months ago

Acceptance criteria met; code merged. Resolving.