本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
了解安全事件回應日誌檔案項目
追蹤是一種組態,能讓事件以日誌檔案的形式交付到您指定的 Amazon S3 儲存貯體。CloudTrail 日誌檔案包含一或多個日誌專案。一個事件為任何來源提出的單一請求,並包含請求動作、請求的日期和時間、請求參數等資訊。CloudTrail 日誌檔並非依公有 API 呼叫的堆疊追蹤排序,因此不會以任何特定順序出現。
下列範例顯示示範 CreateCase 動作的 CloudTrail 日誌項目。
{ "eventVersion": "1.09", "userIdentity": { "type": "AssumedRole", "principalId": "AROA00000000000000000:user", "arn": "arn:aws:sts::123412341234:assumed-role/Admin/user", "accountId": "123412341234", "accessKeyId": "****", "sessionContext": { "sessionIssuer": { "type": "Role", "principalId": "AROA00000000000000000", "arn": "arn:aws:iam::123412341234:role/Admin", "accountId": "123412341234", "userName": "Admin" }, "attributes": { "creationDate": "2024-10-13T06:32:53Z", "mfaAuthenticated": "false" } } }, "eventTime": "2024-10-13T06:40:45Z", "eventSource": "security-ir.amazonaws.com", "eventName": "CreateCase", "awsRegion": "us-east-1", "sourceIPAddress": "1.2.3.4", "userAgent": "aws-cli/2.17.23 md/awscrt#0.20.11 ua/2.0 os/macos#23.6.0 md/arch#x86_64 lang/python#3.11.9 md/pyimpl#CPython cfg/retry-mode#standard md/installer#exe md/prompt#off md/command#security-ir.create-case", "requestParameters": { "impactedServices": [ "Amazon GuardDuty" ], "impactedAccounts": [], "clientToken": "testToken112345679", "resolverType": "Self", "description": "***", "engagementType": "Investigation", "watchers": [ { "email": "***", "name": "***", "jobTitle": "***" } ], "membershipId": "m-r1abcdabcd", "title": "***", "impactedAwsRegions": [ { "region": "ap-southeast-1" } ], "reportedIncidentStartDate": 1711553521, "threatActorIpAddresses": [ { "ipAddress": "***", "userAgent": "browser" } ] }, "responseElements": { "caseId": "0000000001" }, "requestID": "2db4b08d-94a9-457a-9474-5892e6c8191f", "eventID": "b3fa3990-db82-43be-b120-c81262cc2f19", "readOnly": false, "resources": [ { "accountId": "123412341234", "type": "AWS::SecurityResponder::Case", "ARN": "arn:aws:security-ir:us-east-1:123412341234:case/*" } ], "eventType": "AwsApiCall", "managementEvent": true, "recipientAccountId": "123412341234", "eventCategory": "Management" }