falcosecurity / falcoctl

Administrative tooling for Falco
Apache License 2.0
82 stars 57 forks source link

Missing "backend" field on default index #519

Closed QJoly closed 2 months ago

QJoly commented 2 months ago

What happened:

I'm learning how to use Falco (and falcoctl), I've encountered a problem with the default falcoctl configuration /etc/falcoctl/config.yaml.

By default, here are the contents of the 'indexes' section

indexes:
    - name: falcosecurity
      url: https://falcosecurity.github.io/falcoctl/index.yaml

In this context, if I list the available indexers. The program returns an empty list.

./falcoctl index list
NAME    URL     ADDED   UPDATED

The expected result was this:

./falcoctl index list
NAME            URL                                                     ADDED                   UPDATED
falcosecurity   https://falcosecurity.github.io/falcoctl/index.yaml     2024-04-17 13:20:30     2024-04-17 13:20:30

How to reproduce it (as minimally and precisely as possible):

Install client version 0.7.2, remove cache (rm -rf ~/.config/falcoctl), regenerate the default configuration (rm -rf /etc/falcoctl && falcoctl index list).

I created a pull request to fix this

FedeDP commented 2 months ago

/milestone v0.8.0