Este documento explica como ingerir registros de VPN da AWS no Google Security Operations. A VPN da AWS oferece uma conexão segura entre sua rede local e a Amazon Virtual Private Cloud (VPC). Ao encaminhar registros de VPN para o Google SecOps, você pode analisar as atividades de conexão VPN, detectar possíveis riscos à segurança e monitorar padrões de tráfego.
Antes de começar
Verifique se você atende aos seguintes pré-requisitos:
Instância do Google SecOps
Acesso privilegiado à AWS
Configurar o AWS IAM e o S3
Crie um bucket do Amazon S3 seguindo este guia do usuário: Como criar um bucket.
Salve o Nome e a Região do bucket para uso posterior.
Na barra de pesquisa, digite e selecione CloudTrail na lista de serviços.
Clique em Criar rastreamento.
Forneça um nome para a trilha, por exemplo, VPN-Activity-Trail.
Marque a caixa de seleção Ativar para todas as contas na minha organização.
Digite o URI do bucket do S3 criado anteriormente (o formato deve ser: s3://your-log-bucket-name/) ou crie um novo bucket do S3.
Se o SSE-KMS estiver ativado, forneça um nome para o alias do KMS da AWS ou escolha uma chave do KMS da AWS.
Você pode deixar as outras configurações como padrão.
Clique em Próxima.
Selecione Eventos de gerenciamento como Todos e Eventos de dados como Serviços de rede e VPN em Tipos de eventos.
Clique em Próxima.
Revise as configurações em Revisar e criar.
Clique em Criar rastreamento.
Opcional: se você criou um bucket durante a configuração do CloudTrail, continue com o processo a seguir:
Acesse S3.
Identifique e selecione o bucket de registros recém-criado.
Selecione a pasta AWSLogs.
Clique em Copiar URI do S3 e salve.
Como configurar o registro da VPN do cliente da AWS
Acesse o console da VPN de cliente da AWS.
Em Endpoints de VPN de cliente, selecione o endpoint necessário.
Na seção Logging, clique em enable logging e especifique um grupo de registros do Amazon CloudWatch para onde os registros de conexão VPN serão enviados.
Configurar feeds
Há dois pontos de entrada diferentes para configurar feeds na plataforma do Google SecOps:
Configurações do SIEM > Feeds > Adicionar novo
Central de conteúdo > Pacotes de conteúdo > Começar
Como configurar o feed da VPN da AWS
Clique no pacote Amazon Cloud Platform.
Localize o tipo de registro VPN da AWS.
Especifique os valores nos campos a seguir.
Tipo de origem: Amazon SQS V2
Nome da fila: o nome da fila do SQS de onde ler.
URI do S3: o URI do bucket.
s3://your-log-bucket-name/
Substitua your-log-bucket-name pelo nome real do seu bucket do S3.
Opções de exclusão de origem: selecione a opção de exclusão de acordo com suas preferências de ingestão.
Idade máxima do arquivo: inclui arquivos modificados no último número de dias. O padrão é de 180 dias.
ID da chave de acesso à fila do SQS: uma chave de acesso à conta que é uma string alfanumérica de 20 caracteres.
Chave de acesso secreta da fila do SQS: uma chave de acesso da conta que é uma string alfanumérica de 40 caracteres.
Opções avançadas
Nome do feed: um valor pré-preenchido que identifica o feed.
Namespace do recurso: namespace associado ao feed.
Rótulos de ingestão: rótulos aplicados a todos os eventos deste feed.
Clique em Criar feed.
Para mais informações sobre como configurar vários feeds para diferentes tipos de registros nessa família de produtos, consulte Configurar feeds por produto.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-21 UTC."],[[["\u003cp\u003eThis guide explains how to forward and ingest AWS VPN logs into Google Security Operations (SecOps) for analyzing connection activities, detecting security risks, and monitoring traffic.\u003c/p\u003e\n"],["\u003cp\u003eConfiguring AWS IAM and S3 involves creating an S3 bucket, a user with access keys, and granting the user the necessary permissions to access the S3 bucket using the AmazonS3FullAccess policy.\u003c/p\u003e\n"],["\u003cp\u003eSetting up CloudTrail for AWS VPN logging requires creating a trail in AWS to track VPN activity, choosing to log management and data events for networking and VPN services, and then linking the trail to the previously created S3 bucket.\u003c/p\u003e\n"],["\u003cp\u003eTo enable logging for AWS Client VPN, you need to select the desired VPN endpoint and configure it to send VPN connection logs to an Amazon CloudWatch Log group.\u003c/p\u003e\n"],["\u003cp\u003eA new feed in Google SecOps must be configured to ingest the logs, specifying the S3 source, AWS VPN log type, region, bucket URI, access keys, and other relevant parameters for proper data ingestion.\u003c/p\u003e\n"]]],[],null,["# Collect AWS VPN logs\n====================\n\nSupported in: \nGoogle secops [SIEM](/chronicle/docs/secops/google-secops-siem-toc)\n| **Note:** This feature is covered by [Pre-GA Offerings Terms](https://chronicle.security/legal/service-terms/) of the Google Security Operations Service Specific Terms. Pre-GA features might have limited support, and changes to pre-GA features might not be compatible with other pre-GA versions. For more information, see the [Google SecOps Technical Support Service guidelines](https://chronicle.security/legal/technical-support-services-guidelines/) and the [Google SecOps Service Specific Terms](https://chronicle.security/legal/service-terms/).\n\nThis document explains how to ingest AWS VPN logs to Google Security Operations. AWS VPN provides a secure connection between your on-premises network and your Amazon Virtual Private Cloud (VPC). By forwarding VPN logs to Google SecOps, you can analyze VPN connection activities, detect potential security risks, and monitor traffic patterns.\n\nBefore you begin\n----------------\n\nEnsure you have the following prerequisites:\n\n- Google SecOps instance\n- Privileged access to AWS\n\nConfigure AWS IAM and S3\n------------------------\n\n1. Create an **Amazon S3 bucket** following this user guide: [Creating a bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-bucket.html).\n2. Save the bucket **Name** and **Region** for later use.\n3. Create a user following this user guide: [Creating an IAM user](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html#id_users_create_console).\n4. Select the created **User**.\n5. Select the **Security credentials** tab.\n6. Click **Create Access Key** in the **Access Keys** section.\n7. Select **Third-party service** as the **Use case**.\n8. Click **Next**.\n9. Optional: add a description tag.\n10. Click **Create access key**.\n11. Click **Download CSV file** to save the **Access Key** and **Secret Access Key** for later use.\n12. Click **Done**.\n13. Select the **Permissions** tab.\n14. Click **Add permissions** in the **Permissions policies** section.\n15. Select **Add permissions**.\n16. Select **Attach policies directly**.\n17. Search for and select the **AmazonS3FullAccess** policy.\n18. Click **Next**.\n19. Click **Add permissions**.\n\nHow to configure CloudTrail for AWS VPN Logging\n-----------------------------------------------\n\n1. Sign in to the [AWS Management Console](https://aws.amazon.com/console/).\n2. In the search bar, type and select **CloudTrail** from the services list.\n3. Click **Create trail**.\n4. Provide a **Trail name** ; for example, **VPN-Activity-Trail**.\n5. Select the **Enable for all accounts in my organization** checkbox.\n6. Type the S3 bucket URI created earlier (the format should be: `s3://your-log-bucket-name/`), or create a new S3 bucket.\n7. If SSE-KMS is enabled, provide a name for **AWS KMS alias** , or choose an **existing AWS KMS Key**.\n8. You can leave the other settings as default.\n9. Click **Next**.\n10. Select **Management events** to **All** and **Data events** to **Networking and VPN services** under **Event Types**.\n11. Click **Next**.\n12. Review the settings in **Review and create**.\n13. Click **Create trail**.\n\n14. Optional: If you created a new bucket during the CloudTrail configuration, continue with the following process:\n\n 1. Go to **S3**.\n 2. Identify and select the newly created log bucket.\n 3. Select the **AWSLogs** folder.\n 4. Click **Copy S3 URI** and save it.\n\nHow to configure AWS Client VPN logging\n---------------------------------------\n\n1. Go to the **AWS Client VPN** console.\n2. Under **Client VPN Endpoints**, select the required endpoint.\n3. In the **Logging** section, click **enable logging** and specify an **Amazon CloudWatch Log group** to which VPN connection logs will be sent.\n\nSet up feeds\n------------\n\nThere are two different entry points to set up feeds in the\nGoogle SecOps platform:\n\n- **SIEM Settings \\\u003e Feeds \\\u003e Add New**\n- **Content Hub \\\u003e Content Packs \\\u003e Get Started**\n\nHow to set up the AWS VPN feed\n------------------------------\n\n1. Click the **Amazon Cloud Platform** pack.\n2. Locate the **AWS VPN** log type.\n3. Specify the values in the following fields.\n\n - **Source Type**: Amazon SQS V2\n - **Queue Name**: The SQS queue name to read from\n - **S3 URI** : The bucket URI.\n - `s3://your-log-bucket-name/`\n - Replace `your-log-bucket-name` with the actual name of your S3 bucket.\n - **Source deletion options**: Select the deletion option according to your ingestion preferences.\n\n | **Note:** If you select the `Delete transferred files` or `Delete transferred files and empty directories` option, make sure that you granted appropriate permissions to the service account.\n - **Maximum File Age**: Include files modified in the last number of days. Default is 180 days.\n\n - **SQS Queue Access Key ID**: An account access key that is a 20-character alphanumeric string.\n\n - **SQS Queue Secret Access Key**: An account access key that is a 40-character alphanumeric string.\n\n **Advanced options**\n - **Feed Name**: A prepopulated value that identifies the feed.\n - **Asset Namespace**: Namespace associated with the feed.\n - **Ingestion Labels**: Labels applied to all events from this feed.\n4. Click **Create feed**.\n\n| **Note:** The Content Hub is not available on the SIEM standalone platform. To upgrade, contact your Google SecOps representative.\n\nFor more information about configuring multiple feeds for different log types within this product family, see [Configure feeds by product](/chronicle/docs/ingestion/ingestion-entities/configure-multiple-feeds).\n\nUDM Mapping Table\n-----------------\n\n**Need more help?** [Get answers from Community members and Google SecOps professionals.](https://security.googlecloudcommunity.com/google-security-operations-2)"]]