Giter VIP home page Giter VIP logo

Comments (3)

tembleking avatar tembleking commented on June 27, 2024

Hi @ukitazume, thanks for the feedback, unfortunately, there are some limitations to keep in mind:

  • We cannot make the assumption that Docker or Falco is installed in the host machine where the validations are run.
  • Even if Docker is installed in the host machine, making a validation through Docker with Go would add a lot of complexity.
  • The functions can only evaluate the current data of the resource that are creating/updating, and since they don't have the context of the other resources, the rules can't be fully composed to validate.

One approach that could be followed is creating all the rules, with macros and lists in a file, then validate this file, and then migrating them to Terraform.

from terraform-provider-sysdig.

ukitazume avatar ukitazume commented on June 27, 2024

Thank you for the comment @tembleking.
It sounds very complex.

In the future, I hope Falco has a validation library independently as a module/library of golang and runs on the terraform providers.

As you mentioned, it's hard to validate rules/macros/lists include dependency with creating/updating/deleting actions. So it should be easy, imperfection validation. But it's better than without it.

At this time, I think applying to a test environment is a workaround before applying to production.
Thank you for your kind reply.

from terraform-provider-sysdig.

tembleking avatar tembleking commented on June 27, 2024

Closing this issue since this cannot be implemented yet.

from terraform-provider-sysdig.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.