Verified Access logging permissions
The IAM principal being used to configure the logging destination needs to have certain permissions for logging to work properly. The following sections show the permissions required for each logging destination.
For delivery to CloudWatch Logs:
ec2:ModifyVerifiedAccessInstanceLoggingConfiguration
on the Verified Access instancelogs:CreateLogDelivery
,logs:DeleteLogDelivery
,logs:GetLogDelivery
,logs:ListLogDeliveries
, andlogs:UpdateLogDelivery
on all resourceslogs:DescribeLogGroups
,logs:DescribeResourcePolicies
, andlogs:PutResourcePolicy
on the destination log group
For delivery to Amazon S3:
ec2:ModifyVerifiedAccessInstanceLoggingConfiguration
on the Verified Access instancelogs:CreateLogDelivery
,logs:DeleteLogDelivery
,logs:GetLogDelivery
,logs:ListLogDeliveries
, andlogs:UpdateLogDelivery
on all resourcess3:GetBucketPolicy
ands3:PutBucketPolicy
on the destination bucket
For delivery to Firehose:
ec2:ModifyVerifiedAccessInstanceLoggingConfiguration
on the Verified Access instancefirehose:TagDeliveryStream
on all resourcesiam:CreateServiceLinkedRole
on all resourceslogs:CreateLogDelivery
,logs:DeleteLogDelivery
,logs:GetLogDelivery
,logs:ListLogDeliveries
, andlogs:UpdateLogDelivery
on all resources