Comments (3)
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.
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.
Closing this issue since this cannot be implemented yet.
from terraform-provider-sysdig.
Related Issues (20)
- Programmable panels in sysdig_monitor_dashboard HOT 2
- Provider v0.5.43 crashes after appending exception to managed rule HOT 2
- Issues handling sysdig_secure_policy HOT 3
- add support for managed policies HOT 2
- unable to append exception to managed rule HOT 2
- dashboard - scope with empty value triggering an error in scope when using "in" comparator HOT 2
- specify query options HOT 2
- ID should not be required when sharing a dashboard to a USER_TEAMS HOT 14
- specify the minInterval as dashboard setting HOT 9
- Terraform plan does not validate token HOT 3
- The terraform-provider-sysdig_v1.7.0 plugin crashed HOT 4
- secure_custom_role_permissions missing documentation HOT 1
- Is there any plan to manage Event Forwarding setting with terraform-provider-sysdig? HOT 2
- sysdig_secure_managed_policy should be import-able HOT 2
- Creating team/zone scoped notification channels from an admin account HOT 2
- Cannot create Slack notification channels HOT 1
- "missing user's current team" on the provider while it's marked as optionnal HOT 1
- Is there an option to avoid giving an API key and directly provide the resource with IBM IAM tokens ? HOT 1
- New resources 'Agent Access Keys' in provider HOT 2
- Unable to manage risk HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-sysdig.