Checks/Aws/Test-StepfunctionsStatemachineLoggingEnabled.ps1
|
function Test-StepfunctionsStatemachineLoggingEnabled { <# .SYNOPSIS Step Functions state machine has logging enabled .DESCRIPTION **AWS Step Functions state machines** are configured to emit **execution logs** to CloudWatch Logs via a defined `loggingConfiguration` with a `level` set above `OFF`. .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: stepfunctions_statemachine_logging_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check stepfunctions_statemachine_logging_enabled for reference.', 'N/A', 'stepfunctions Resources') } |