이 문서에서는 AWS Key Management Service (KMS) 로그를 Google Security Operations로 수집하는 방법을 설명합니다. AWS KMS는 데이터를 암호화하는 데 사용되는 암호화 키를 생성하고 제어할 수 있는 완전 관리형 서비스입니다. 이 통합은 암호화 키 사용을 모니터링하고 감사하는 데 도움이 됩니다.
이전에 만든 S3 버킷 URI를 입력하거나 (형식: s3://your-log-bucket-name/) 새 S3 버킷을 만듭니다.
SSE-KMS가 사용 설정된 경우 AWS KMS 별칭 이름을 입력하거나 기존 AWS KMS 키를 선택합니다.
다른 설정은 기본값으로 두면 됩니다.
다음을 클릭합니다.
이벤트 유형에서 관리 이벤트와 데이터 이벤트를 선택합니다.
다음을 클릭합니다.
검토 및 만들기에서 설정을 검토합니다.
트레일 만들기를 클릭합니다.
선택사항: 새 버킷을 만든 경우 다음 프로세스를 계속 진행합니다.
S3로 이동합니다.
새로 만든 로그 버킷을 식별하고 선택합니다.
AWSLogs 폴더를 선택합니다.
S3 URI 복사를 클릭하고 저장합니다.
피드 설정
Google SecOps 플랫폼에서 피드를 설정하는 방법은 두 가지입니다.
SIEM 설정 > 피드 > 새로 추가
콘텐츠 허브 > 콘텐츠 팩 > 시작하기
AWS Key Management Service 피드를 설정하는 방법
Amazon Cloud Platform 팩을 클릭합니다.
AWS Key Management Service 로그 유형을 찾습니다.
다음 필드에 값을 지정합니다.
소스 유형: Amazon SQS V2
Queue Name: 읽어올 SQS 큐 이름
S3 URI: 버킷 URI입니다.
s3://your-log-bucket-name/
your-log-bucket-name을 실제 S3 버킷 이름으로 바꿉니다.
소스 삭제 옵션: 수집 환경설정에 따라 삭제 옵션을 선택합니다.
최대 파일 기간: 지난 일수 동안 수정된 파일을 포함합니다. 기본값은 180일입니다.
SQS 대기열 액세스 키 ID: 20자리 영숫자 문자열인 계정 액세스 키입니다.
SQS 대기열 보안 비밀 액세스 키: 40자로 된 영숫자 문자열인 계정 액세스 키입니다.
고급 옵션
피드 이름: 피드를 식별하는 미리 채워진 값입니다.
애셋 네임스페이스: 피드와 연결된 네임스페이스입니다.
수집 라벨: 이 피드의 모든 이벤트에 적용되는 라벨입니다.
피드 만들기를 클릭합니다.
이 제품군 내에서 다양한 로그 유형에 대해 여러 피드를 구성하는 방법에 관한 자세한 내용은 제품별 피드 구성을 참고하세요.
UDM 매핑 테이블
로그 필드
UDM 매핑
논리
data.detail.awsRegion
principal.location.country_or_region
원시 로그의 data.detail.awsRegion 필드에서 직접 매핑됩니다.
data.detail.eventCategory
security_result.category_details
원시 로그의 data.detail.eventCategory 필드에서 직접 매핑됩니다.
data.detail.eventName
metadata.product_event_type
원시 로그의 data.detail.eventName 필드에서 직접 매핑됩니다. 이 필드는 이벤트 이름이 'Decrypt' 또는 'Encrypt'이면 event_type이 'USER_RESOURCE_ACCESS'이고, 이벤트 이름이 'GenerateDataKey'이면 event_type이 'USER_RESOURCE_CREATION'이며, 그렇지 않으면 event_type이 'GENERIC_EVENT'인 로직에 따라 metadata.event_type 값을 결정합니다.
data.detail.requestID
additional.fields.key
값은 파서 코드에서 'requestID'로 하드 코딩됩니다.
data.detail.requestID
additional.fields.value.string_value
원시 로그의 data.detail.requestID 필드에서 직접 매핑됩니다.
data.detail.requestParameters.encryptionAlgorithm
security_result.detection_fields.key
값은 파서 코드에서 'encryptionAlgorithm'으로 하드 코딩됩니다.
data.detail.requestParameters.encryptionAlgorithm
security_result.detection_fields.value
원시 로그의 data.detail.requestParameters.encryptionAlgorithm 필드에서 직접 매핑됩니다.
원시 로그의 data.detail.userIdentity.sessionContext.sessionIssuer.userName 필드에서 직접 매핑됩니다.
data.detail.userIdentity.type
principal.user.attribute.roles.name
원시 로그의 data.detail.userIdentity.type 필드에서 직접 매핑됩니다.
data.id
metadata.product_log_id
원시 로그의 data.id 필드에서 직접 매핑됩니다.
data.time
metadata.event_timestamp.seconds
원시 로그의 data.time 필드에서 파싱된 타임스탬프의 초 값입니다.
해당 사항 없음
metadata.event_type
이 필드는 파서 로직에 따라 data.detail.eventName 값을 기반으로 파생됩니다. eventName이 'Decrypt' 또는 'Encrypt'이면 event_type은 'USER_RESOURCE_ACCESS'이고, eventName이 'GenerateDataKey'이면 event_type은 'USER_RESOURCE_CREATION'이며, 그 외의 경우에는 event_type은 'GENERIC_EVENT'입니다.
해당 사항 없음
metadata.log_type
값은 파서 코드에서 'AWS_KMS'로 하드코딩됩니다.
해당 사항 없음
metadata.product_name
파서 코드에서 값이 'AWS Key Management Service'로 하드 코딩됩니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[[["\u003cp\u003eThis guide outlines how to ingest AWS Key Management Service (KMS) logs into Google Security Operations for monitoring and auditing encryption key usage.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves configuring an Amazon S3 bucket and IAM user in AWS, creating a CloudTrail trail for AWS KMS, and setting up a feed in Google SecOps to pull the AWS logs from the S3 bucket.\u003c/p\u003e\n"],["\u003cp\u003eTo set up a feed in Google SecOps, you will need the S3 bucket details (region and URI), along with the access key ID and secret access key of the AWS IAM user with S3 permissions.\u003c/p\u003e\n"],["\u003cp\u003eThe data from the AWS KMS logs are mapped to UDM fields, such as principal location, security result details, product event type, resource identifiers, and user information, among others.\u003c/p\u003e\n"],["\u003cp\u003eThis feature is covered by the Pre-GA Offerings Terms of Google Security Operations Service Specific Terms and may have limited support.\u003c/p\u003e\n"]]],[],null,["# Collect AWS Key Management Service 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 Key Management Service (KMS) logs to Google Security Operations. AWS KMS is a fully managed service that lets you to create and control encryption keys used to encrypt your data. This integration helps in monitoring and auditing the usage of encryption keys.\n\nBefore you begin\n----------------\n\nEnsure you have the following prerequisites:\n\n- Google SecOps instance\n- Privileged access to AWS\n\nConfigure Amazon S3 and IAM\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 KMS\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, **KMS-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 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** and **Data events** under **Event Types**.\n11. Click **Next**.\n12. Review the settings in **Review and create**.\n13. Click **Create trail**.\n14. Optional: if you created a new bucket, continue with the following process:\n 1. Go to **S3**.\n 2. Identify and select the newly created log bucket.\n 3. Select the folder **AWSLogs**.\n 4. Click **Copy S3 URI** and save it.\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 Key Management Service feed\n-------------------------------------------------\n\n1. Click the **Amazon Cloud Platform** pack.\n2. Locate the **AWS Key Management Service** 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)"]]