Supported services

Most services get their data directly from log files stored in an S3 bucket. The exceptions are Inspector, CloudWatch Logs, Amazon ECR Image scanning, Security Lake, Custom Logs Buckets, and Security Hub CSPM. You configure the services that read log files from a bucket inside <bucket type="<TYPE>"> </bucket> tags. The Inspector and CloudWatch Logs services use <service type="inspector"> </service> and <service type="cloudwatchlogs"> </service> tags, respectively. Amazon ECR image scanning also uses <service type="cloudwatchlogs"> </service> tags, because it reads the scan findings from CloudWatch Logs. Amazon Security Lake, Custom Logs Buckets, and AWS Security Hub CSPM use <subscriber type="<TYPE>"> </subscriber> tags.

The following table contains the most relevant information about configuring each service in the /var/ossec/etc/ossec.conf file. It also shows the path where each service stores its logs in the bucket, for services that store their logs in a bucket. Before you configure any service, enable the AWS integrations as described in Enable AWS integration on the Wazuh dashboard.

Provider

Service

Configuration tag

Type

Path to logs

Required permission

Amazon

CloudTrail

bucket

cloudtrail

<WAZUH_AWS_BUCKET>/<PREFIX>/AWSLogs/<SUFFIX>/<ORGANIZATION_ID>/<ACCOUNT_ID>/CloudTrail/<REGION>/<YEAR>/<MONTH>/<DAY>

Policy configuration

Amazon

VPC

bucket

vpcflow

<WAZUH_AWS_BUCKET>/<PREFIX>/AWSLogs/<SUFFIX>/<ACCOUNT_ID>/vpcflowlogs/<REGION>/<YEAR>/<MONTH>/<DAY>

Policy configuration

Amazon

Config

bucket

config

<WAZUH_AWS_BUCKET>/<PREFIX>/AWSLogs/<SUFFIX>/<ACCOUNT_ID>/Config/<REGION>/<YEAR>/<MONTH>/<DAY>

Policy configuration

Amazon

KMS

bucket

cloudtrail

<WAZUH_AWS_BUCKET>/<PREFIX>/AWSLogs/<SUFFIX>/<ORGANIZATION_ID>/<ACCOUNT_ID>/CloudTrail/<REGION>/<YEAR>/<MONTH>/<DAY>

Policy configuration

Amazon

Macie

bucket

custom

<WAZUH_AWS_BUCKET>/<PREFIX>/<YEAR>/<MONTH>/<DAY>/<HH>

Policy configuration

Amazon

Trusted Advisor

bucket

custom

<WAZUH_AWS_BUCKET>/<PREFIX>/<YEAR>/<MONTH>/<DAY>/<HH>

Policy configuration

Amazon

GuardDuty

bucket

guardduty

<WAZUH_AWS_BUCKET>/<PREFIX>/AWSLogs/<ACCOUNT_ID>/GuardDuty/<REGION>/<YEAR>/<MONTH>/<DAY>

Policy configuration

Amazon

WAF

bucket

waf

<WAZUH_AWS_BUCKET>/<PREFIX>/<YEAR>/<MONTH>/<DAY>/<HH>

Policy configuration

Amazon

S3 Server Access logs

bucket

server_access

<WAZUH_AWS_BUCKET>/<PREFIX>

Policy configuration

Amazon

Inspector

service

inspector

Policy configuration

Amazon

CloudWatch Logs

service

cloudwatchlogs

Policy configuration

Amazon

Amazon ECR Image scanning

service

cloudwatchlogs

Policy configuration

Cisco

Umbrella

bucket

cisco_umbrella

<WAZUH_AWS_BUCKET>/<PREFIX>/<YEAR>-<MONTH>-<DAY>

Policy configuration

Amazon

ALB

bucket

alb

<WAZUH_AWS_BUCKET>/<PREFIX>/AWSLogs/<ACCOUNT_ID>/elasticloadbalancing/<REGION>/<YEAR>/<MONTH>/<DAY>

Policy configuration

Amazon

CLB

bucket

clb

<WAZUH_AWS_BUCKET>/<PREFIX>/AWSLogs/<ACCOUNT_ID>/elasticloadbalancing/<REGION>/<YEAR>/<MONTH>/<DAY>

Policy configuration

Amazon

NLB

bucket

nlb

<WAZUH_AWS_BUCKET>/<PREFIX>/AWSLogs/<ACCOUNT_ID>/elasticloadbalancing/<REGION>/<YEAR>/<MONTH>/<DAY>

Policy configuration

Amazon

Amazon Security Lake

subscriber

security_lake

Policy configuration

Amazon

Custom Logs Buckets

subscriber

buckets

Policy configuration

Amazon

Security Hub CSPM

subscriber

security_hub

Policy configuration