View a markdown version of this page

範例: AWS 安全代理程式日誌檔案項目 - AWS 安全代理程式

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

範例: AWS 安全代理程式日誌檔案項目

了解 AWS Security Agent 日誌檔案項目

追蹤是一種組態,能讓事件以日誌檔案的形式交付到您指定的 Amazon S3 儲存貯體。CloudTrail 日誌檔案包含一或多個日誌專案。一個事件為任何來源提出的單一請求,並包含請求動作、請求的日期和時間、請求參數等資訊。CloudTrail 日誌檔並非依公有 API 呼叫的堆疊追蹤排序,因此不會以任何特定順序出現。

以下範例顯示的是展示 CreatePentest 動作的 CloudTrail 日誌項目:

{ "eventVersion": "1.08", "userIdentity": { "type": "IAMUser", "principalId": "AIDACKCEVSQ6C2EXAMPLE", "arn": "arn:aws:iam::123456789012:user/Alice", "accountId": "123456789012", "accessKeyId": "AKIAIOSFODNN7EXAMPLE", "userName": "Alice" }, "eventTime": "2025-01-15T10:30:00Z", "eventSource": "securityagent.amazonaws.com", "eventName": "CreatePentest", "awsRegion": "us-east-1", "sourceIPAddress": "203.0.113.12", "userAgent": "aws-cli/2.13.0", "requestParameters": { "pentestName": "WebApp-Security-Test", "targetUrl": "https://example.com", "testScope": "OWASP-Top-10" }, "responseElements": { "pentestId": "pt-1234567890abcdef0", "pentestArn": "arn:aws:securityagent:us-east-1:123456789012:pentest/pt-1234567890abcdef0" }, "requestID": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "eventID": "12345678-1234-1234-1234-123456789012", "readOnly": false, "eventType": "AwsApiCall", "managementEvent": true, "recipientAccountId": "123456789012", "eventCategory": "Management" }