Checks/Aws/Test-BedrockApiKeyNoLongTermCredentials.ps1
|
function Test-BedrockApiKeyNoLongTermCredentials { <# .SYNOPSIS Amazon Bedrock API key is expired .DESCRIPTION **Bedrock API keys** are evaluated for **lifetime** and **expiration**. The finding identifies keys that are long-lived, set to expire far in the future, or configured to `never expire`, and distinguishes them from keys that have already expired. .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: bedrock_api_key_no_long_term_credentials [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check bedrock_api_key_no_long_term_credentials for reference.', 'N/A', 'bedrock Resources') } |