Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cmake): add conditional builds for falcoctl and rules paths #3305

Commits on Aug 26, 2024

  1. feat(cmake): add conditional builds for falcoctl and rules

    There are systems, like Nix derivations where the build process
    does not have network access in order to enforce reproducibility.
    This patch allows people building Falco to optionally skip the build
    of falcoctl with `-DADD_FALCOCTL_DEPENDENCY=OFF` and point to their own
    self-backed, or pre-fetched rules files with
    `-DFALCOSECURITY_RULES_FALCO_PATH=<some-path>` and
    `-DFALCOSECURITY_RULES_LOCAL_PATH=<some-path>`.
    
    For context, I needed to apply these patches while building the
    project with Nix in https://github.com/tembleking/falco-nix but I think
    that would be benefitial for the community to have also these options
    open, and that would also make Falco feasible to be added to the
    nixpkgs repository at https://github.com/nixos/nixpkgs
    
    Signed-off-by: Fede Barcelona <[email protected]>
    tembleking committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    7336d44 View commit details
    Browse the repository at this point in the history