Checks/Aws/Test-CloudtrailS3DataeventsWriteEnabled.ps1
|
function Test-CloudtrailS3DataeventsWriteEnabled { <# .SYNOPSIS CloudTrail trail records all S3 object-level API operations for all buckets .DESCRIPTION **CloudTrail trails** include **S3 object-level data events** for **write (or all) operations** across **all current and future buckets**, via classic or advanced selectors. This records actions like `PutObject`, `DeleteObject`, and multipart uploads at the object level. .PARAMETER Check CIEMCheck object containing check metadata. #> [CmdletBinding()] [OutputType([PSCustomObject[]])] param( [Parameter(Mandatory)] [CIEMCheck]$Check ) $ErrorActionPreference = 'Stop' # TODO: Implement check logic based on Prowler check: cloudtrail_s3_dataevents_write_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check cloudtrail_s3_dataevents_write_enabled for reference.', 'N/A', 'cloudtrail Resources') } |