Understand the Matano directory structure
mainA Matano directory is used to manage all resources in your project, including log sources, detections, and configuration. A typical structure looks like this:
├── detections
│ └── <detection_name>
│ ├── detect.py # Python detection logic
│ └── detection.yml # Detection configuration
├── log_sources
│ ├── <source_name>
│ │ ├── log_source.yml # Log source configuration
│ │ └── tables
│ │ └── <table_name>.yml
├── matano.config.yml # Global Matano configuration
└── matano.context.json # Matano context filetree
├── detections
│ └── aws_root_credentials
│ ├── detect.py
│ └── detection.yml
├── log_sources
│ ├── cloudtrail
│ │ ├── log_source.yml
│ │ └── tables
│ │ └── default.yml
│ └── zeek
│ ├── log_source.yml
│ └── tables
│ └── dns.yml
├── matano.config.yml
└── matano.context.json