# Falco Artifacts Scope - Part 2 The **Falco Artifact Scope** proposal is divided in two parts: 1. the [Part 1](./20200506-artifacts-scope-part-1.md): the State of Art of Falco artifacts 2. the Part 2 - *this document*: the intended state moving forward ## Summary See [Part 1](./20200506-artifacts-scope-part-1.md). ## Terms See [Part 1](./20200506-artifacts-scope-part-1.md). ## Packages Official packages for x86 64bits only. The following convention MUST be used for all packages. _All package names MUST contain a version._ _If a package installs the Falco kernel module it MUST contain `module`._ _If a package installs the Falco BPF probe it MUST contain `bpf`._ _In general, if a package installs a Falco driver it MUST contain the driver name._ ### .deb Falco running in debian like systems that will default to the kernel module. - falco-*x.y.z*-amd64.deb - alias to ` falco-*x.y.z*-module-amd64.deb` - falco-*x.y.z*-module-amd64.deb - `falco` and `module` - falco-*x.y.z*-bpf-amd64.deb - `falco` and `bpf` We reserve the right to change the naming convention of deb packages accordingly to deb conventions. ### .rpm Falco running in rpm like systems that will default to the kernel module. - falco-*x.y.z*-x86_64.rpm - alias to ` falco-*x.y.z*-module-x86_64.rpm` - falco-*x.y.z*-module-x86_64.rpm - `falco` and `module` - falco-*x.y.z*-bpf-x86_64.rpm - `falco` and `bpf` We reserve the right to change the naming convention of rpm packages accordingly to rpm conventions. ### .tar.gz - falco-bin-x86.tar.gz - `falco` binary, `falco-loader-script`, drivers source, and related dependencies - `INSTALL` file - `Makefile` file - falco-src-x86.tar.gz - No binaries - `INSTALL` file - falco-module-src-x86.tar.gz - `module` sources with `Makefile` - `INSTALL` file - falco-bpf-src-x86.tar.gz - `bpf` sources with `Makefile` - `INSTALL` file ## Images The following convention MUST be used for all container images. - falcosecurity/falco:TAG - First runs `falco-driver-loader` and then runs `falco` - Can be run with `--privileged` - Can be run with `-e SKIP_DRIVER_LOADER=true` to skip the execution of `falco-driver-loader` - TAG can be `latest` to refer to the latest release - TAG can be `master` to refer to the latest master - TAG can be `x.y.z` to refer to a specific release - falcosecurity/falco-driver-loader:TAG - Runs `falco-driver-loader` and exit - Needs to be run with `--privileged` - falcosecurity/falco-no-driver - Runs `falco` (only userspace) - falcosecurity/falco-tester:TAG - Runs the Falco integration test suite - falcosecurity/falco-builder:TAG - Contains the Falco tool chain for development The image usage MUST be documented in the Dockerfile and in the [website](https://falco.org/docs/). If an image does not take any action by default, a command usage MUST printed out. We reserve the right to add image aliases if it was needed. ## Official support These artifacts will be amended to the ones listed above, and will become a part of the official Falco release process. ## Action For each item, ask if this already exists. If so we need to rename, and update it to match this new convention. If does not exist, add it. ### Action Items Here are SOME of the items that would need to be done for example: - Rename package accordingly - Rename docker images accordingly - Evaluate how to call what's currently called `falcosecurity/falco:latest-slim` - Documentation in all packages with `INSTALL` file - Add `Makefile` where needed - Implement missing packages - Rename `SKIP_MODULE_LOAD` environment variable of docker images to `SKIP_DRIVER_LOADER` - Create `usage` commands for every docker image ### Documentation Update documentation in [falco-website](https://github.com/falcosecurity/falco-website/) #### Note: This could break the current helm chart, and maybe other dependencies. We owe existing users of the Falco project some courtesy if we will break their usage of how Falco has traditionally been advertised. Some things we owe the community. - Announcement on Falco mailing list - Issues/Pull Request to Helm chart - Note: At the very least open an issue and document how to make the existing helm chart work with the new changes if needed. [Nova Volunteers] - We should at least open a PR and update the helm chart with these new expectations if needed. [Nova Volunteers] - We should revisit the helm chart OWNERS - Twitter - Documentation