matanolabs / matano

Open source security data lake for threat hunting, detection & response, and cybersecurity analytics at petabyte scale on AWS
https://matano.dev
Apache License 2.0
1.44k stars 97 forks source link

new nested aws config in matano.config.yml but support existing #104

Closed Samrose-Ahmed closed 1 year ago

Samrose-Ahmed commented 1 year ago

Change matano.config.yml to use config with aws object with nested keys instead of separate top level keys.

Continue to support existing aws_account, aws_region, aws_tags config (no breaking change)

from:

aws_account: "123456789012"
aws_region: "us-east-1"
aws_tags:
  key: "my_tag"

to:

aws:
  account: "123456789012"
  region: "us-east-1"
  tags:
    key: "my_tag"

will make it cleaner to add other configs.