Checks/Aws/Test-BedrockGuardrailSensitiveInformationFilterEnabled.ps1

function Test-BedrockGuardrailSensitiveInformationFilterEnabled {
    <#
    .SYNOPSIS
        Amazon Bedrock guardrail blocks or masks sensitive information

    .DESCRIPTION
        **Bedrock guardrails** use **sensitive information filters** to `block` or `mask` detected PII and custom pattern matches in prompts and responses.
        
        The evaluation looks for guardrails with this filtering configured.

    .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_guardrail_sensitive_information_filter_enabled

    [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check bedrock_guardrail_sensitive_information_filter_enabled for reference.', 'N/A', 'bedrock Resources')
}