snowflakedb / SnowAlert

Security Analytics Using The Snowflake Data Warehouse
Apache License 2.0
184 stars 57 forks source link

Programatic management for Data Connectors #248

Open edulop91 opened 5 years ago

edulop91 commented 5 years ago

I would like to enable connectors (and eventually configure violations/alerts) programmatically. Not familiar enough with the codebase yet to propose a solution but thought it would be valuable to start a conversation.

sfc-gh-afedorov commented 5 years ago

What is the context for this request? The WebUI uses an undocumented but stable API now. Would it be enough to publish and commit to versioning the code we have now?

One of the longer term efforts we are pushing for is to migrate runtime components of SnowAlert to features in Snowflake-proper, so that, e.g. Data Connectors could be defined entirely as Terraform modules, if that's what you're thinking.

edulop91 commented 5 years ago

One of the longer term efforts we are pushing for is to migrate runtime components of SnowAlert to features in Snowflake-proper, so that, e.g. Data Connectors could be defined entirely as Terraform modules, if that's what you're thinking.

We define all our infra through terraform and have this snowflake provider. It would be great if we could plug in snowalert connector configuration and query packs into this terraform workflow.