Checks/Aws/Test-CloudtrailLogFileValidationEnabled.ps1
|
function Test-CloudtrailLogFileValidationEnabled { <# .SYNOPSIS CloudTrail trail has log file validation enabled .DESCRIPTION **AWS CloudTrail trails** are evaluated for **log file integrity validation** being enabled (`LogFileValidationEnabled`). When enabled, CloudTrail generates signed digest files to verify that S3-delivered log files remain unchanged. .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_log_file_validation_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check cloudtrail_log_file_validation_enabled for reference.', 'N/A', 'cloudtrail Resources') } |