記錄 Amazon QLDB API 呼叫 AWS CloudTrail - Amazon Quantum 賬本數據庫(AmazonQLDB)

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

記錄 Amazon QLDB API 呼叫 AWS CloudTrail

重要

支援結束通知:現有客戶將能夠使用 Amazon,QLDB直到 2025 年 7 月 31 日終止支援為止。有關更多詳細信息,請參閱將 Amazon QLDB 分類帳遷移到 Amazon Aurora 郵政. SQL

Amazon QLDB 集成 AWS CloudTrail,提供使用者、角色或使用者所採取之動作記錄的服務 AWS 服務 在中QLDB。 CloudTrail 擷取QLDB作為事件的所有資源管理API呼叫。擷取的呼叫包括來自QLDB主控台的呼叫和對QLDBAPI作業的程式碼呼叫。如果您建立追蹤,您可以啟用持續交付 CloudTrail 事件到 Amazon Simple Storage Service (Amazon S3) 儲存貯體,包括QLDB. 如果您未設定追蹤,您仍然可以在 [事件歷程記錄] 中檢視 CloudTrail 主控台上的最新事件。使用收集的資訊 CloudTrail,您可以判斷提出的要求QLDB、提出要求的 IP 位址、提出要求的人員、提出要求的時間,以及其他詳細資訊。

若要進一步了解 CloudTrail,包括如何設定和啟用它,請參閱 AWS CloudTrail 使用者指南

QLDB中的資訊 CloudTrail

CloudTrail 已在您的 AWS 帳戶 當您創建帳戶時。當受支援的活動發生在中時QLDB,該活動會與其他活動一起記錄在 CloudTrail 事件中 AWS 服務 事件歷史記錄中的事件。您可以查看,搜索和下載最近的事件 AWS 帳戶。 如需詳細資訊,請參閱使用 CloudTrail 事件歷程記錄檢視事件

在您的事件的持續記錄 AWS 帳戶(包括的QLDB事件) 建立追蹤。追蹤可 CloudTrail 將日誌檔交付到 Amazon S3 儲存貯體。根據預設,當您在主控台中建立追蹤時,追蹤會套用至所有 AWS 區域。 追蹤記錄中所有區域的事件 AWS 對日誌檔進行分割,並將其交付到您指定的 Amazon S3 儲存貯體。此外,您可以配置其他 AWS 服務 進一步分析 CloudTrail 記錄中收集的事件資料並採取行動。

如需詳細資訊,請參閱 AWS CloudTrail 用戶指南

所有QLDB資源管理和非交易資料API動作均由 Amazon 參考記錄, CloudTrail 並記錄在 Amazon QLDB API 參考中。例如,呼叫CreateLedgerDescribeLedger、和DeleteLedger動作會在 CloudTrail 記錄檔中產生項目。

每一筆事件或日誌專案都會包含產生請求者的資訊。身分資訊可協助您判斷下列事項:

  • 該請求是否使用根或 使用者登入資料提出

  • 提出該請求時,是否使用了特定角色或聯合身分使用者的臨時安全憑證

  • 請求是否由另一個人提出 AWS 服務

如需詳細資訊,請參閱CloudTrail userIdentity元素

了解 QLDB 日誌檔案項目

追蹤是一種組態,可讓事件以日誌檔的形式傳遞到您指定的 Amazon S3 儲存貯體。 CloudTrail 記錄檔包含一或多個記錄項目。事件代表來自任何來源的單一請求,包括有關請求的操作,動作的日期和時間,請求參數等信息。 CloudTrail 日誌文件不是公共API調用的有序堆棧跟踪,因此它們不會以任何特定順序顯示。

下列範例顯示示範這些動作的 CloudTrail 記錄項目:

  • CreateLedger

  • DescribeLedger

  • ListTagsForResource

  • TagResource

  • UntagResource

  • ListLedgers

  • GetDigest

  • GetBlock

  • GetRevision

  • ExportJournalToS3

  • DescribeJournalS3Export

  • ListJournalS3ExportsForLedger

  • ListJournalS3Exports

  • DeleteLedger

{ "endTime": 1561497717208, "startTime": 1561497687254, "calls": [ { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:27Z", "eventSource": "qldb.amazonaws.com", "eventName": "CreateLedger", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "Name": "CloudtrailTest", "PermissionsMode": "ALLOW_ALL" }, "responseElements": { "CreationDateTime": 1.561497687403E9, "Arn": "arn:aws:qldb:us-east-2:123456789012:ledger/CloudtrailTest", "State": "CREATING", "Name": "CloudtrailTest" }, "requestID": "3135aec7-978f-11e9-b313-1dd92a14919e", "eventID": "bf703ff9-676f-41dd-be6f-5f666c9f7852", "readOnly": false, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:27Z\",\"eventSource\":\"qldb.amazonaws.com\",\"eventName\":\"CreateLedger\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"Name\":\"CloudtrailTest\",\"PermissionsMode\":\"ALLOW_ALL\"},\"responseElements\":{\"CreationDateTime\":1.561497687403E9,\"Arn\":\"arn:aws:qldb:us-east-2:123456789012:ledger/CloudtrailTest\",\"State\":\"CREATING\",\"Name\":\"CloudtrailTest\"},\"requestID\":\"3135aec7-978f-11e9-b313-1dd92a14919e\",\"eventID\":\"bf703ff9-676f-41dd-be6f-5f666c9f7852\",\"readOnly\":false,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "CreateLedger", "request": [ "com.amazonaws.services.qldb.model.CreateLedgerRequest", { "customRequestHeaders": null, "customQueryParameters": null, "name": "CloudtrailTest", "tags": null, "permissionsMode": "ALLOW_ALL" } ], "requestId": "3135aec7-978f-11e9-b313-1dd92a14919e" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:43Z", "eventSource": "qldb.amazonaws.com", "eventName": "DescribeLedger", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "name": "CloudtrailTest" }, "responseElements": null, "requestID": "3af51ba0-978f-11e9-8ae6-837dd17a19f8", "eventID": "be128e61-3e38-4503-83de-49fdc7fc0afb", "readOnly": true, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:43Z\",\"eventSource\":\"qldb.amazonaws.com\",\"eventName\":\"DescribeLedger\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"name\":\"CloudtrailTest\"},\"responseElements\":null,\"requestID\":\"3af51ba0-978f-11e9-8ae6-837dd17a19f8\",\"eventID\":\"be128e61-3e38-4503-83de-49fdc7fc0afb\",\"readOnly\":true,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "DescribeLedger", "request": [ "com.amazonaws.services.qldb.model.DescribeLedgerRequest", { "customRequestHeaders": null, "customQueryParameters": null, "name": "CloudtrailTest" } ], "requestId": "3af51ba0-978f-11e9-8ae6-837dd17a19f8" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:44Z", "eventSource": "qldb.amazonaws.com", "eventName": "TagResource", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "resourceArn": "arn%3Aaws%3Aqldb%3Aus-east-2%3A123456789012%3Aledger%2FCloudtrailTest", "Tags": { "TagKey": "TagValue" } }, "responseElements": null, "requestID": "3b1d6371-978f-11e9-916c-b7d64ec76521", "eventID": "6101c94a-7683-4431-812b-9a91afb8c849", "readOnly": false, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:44Z\",\"eventSource\":\"qldb.amazonaws.com\",\"eventName\":\"TagResource\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"resourceArn\":\"arn%3Aaws%3Aqldb%3Aus-east-2%3A123456789012%3Aledger%2FCloudtrailTest\",\"Tags\":{\"TagKey\":\"TagValue\"}},\"responseElements\":null,\"requestID\":\"3b1d6371-978f-11e9-916c-b7d64ec76521\",\"eventID\":\"6101c94a-7683-4431-812b-9a91afb8c849\",\"readOnly\":false,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "TagResource", "request": [ "com.amazonaws.services.qldb.model.TagResourceRequest", { "customRequestHeaders": null, "customQueryParameters": null, "resourceArn": "arn:aws:qldb:us-east-2:123456789012:ledger/CloudtrailTest", "tags": { "TagKey": "TagValue" } } ], "requestId": "3b1d6371-978f-11e9-916c-b7d64ec76521" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:44Z", "eventSource": "qldb.amazonaws.com", "eventName": "ListTagsForResource", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "resourceArn": "arn%3Aaws%3Aqldb%3Aus-east-2%3A123456789012%3Aledger%2FCloudtrailTest" }, "responseElements": null, "requestID": "3b56c321-978f-11e9-8527-2517d5bfa8fd", "eventID": "375e57d7-cf94-495a-9a48-ac2192181c02", "readOnly": true, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:44Z\",\"eventSource\":\"qldb.amazonaws.com\",\"eventName\":\"ListTagsForResource\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"resourceArn\":\"arn%3Aaws%3Aqldb%3Aus-east-2%3A123456789012%3Aledger%2FCloudtrailTest\"},\"responseElements\":null,\"requestID\":\"3b56c321-978f-11e9-8527-2517d5bfa8fd\",\"eventID\":\"375e57d7-cf94-495a-9a48-ac2192181c02\",\"readOnly\":true,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "ListTagsForResource", "request": [ "com.amazonaws.services.qldb.model.ListTagsForResourceRequest", { "customRequestHeaders": null, "customQueryParameters": null, "resourceArn": "arn:aws:qldb:us-east-2:123456789012:ledger/CloudtrailTest" } ], "requestId": "3b56c321-978f-11e9-8527-2517d5bfa8fd" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:44Z", "eventSource": "qldb.amazonaws.com", "eventName": "UntagResource", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "tagKeys": "TagKey", "resourceArn": "arn%3Aaws%3Aqldb%3Aus-east-2%3A123456789012%3Aledger%2FCloudtrailTest" }, "responseElements": null, "requestID": "3b87e59b-978f-11e9-8b9a-bb6dc3a800a9", "eventID": "bcdcdca3-699f-4363-b092-88242780406f", "readOnly": false, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:44Z\",\"eventSource\":\"qldb.amazonaws.com\",\"eventName\":\"UntagResource\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"tagKeys\":\"TagKey\",\"resourceArn\":\"arn%3Aaws%3Aqldb%3Aus-east-2%3A123456789012%3Aledger%2FCloudtrailTest\"},\"responseElements\":null,\"requestID\":\"3b87e59b-978f-11e9-8b9a-bb6dc3a800a9\",\"eventID\":\"bcdcdca3-699f-4363-b092-88242780406f\",\"readOnly\":false,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "UntagResource", "request": [ "com.amazonaws.services.qldb.model.UntagResourceRequest", { "customRequestHeaders": null, "customQueryParameters": null, "resourceArn": "arn:aws:qldb:us-east-2:123456789012:ledger/CloudtrailTest", "tagKeys": [ "TagKey" ] } ], "requestId": "3b87e59b-978f-11e9-8b9a-bb6dc3a800a9" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:44Z", "eventSource": "qldb.amazonaws.com", "eventName": "ListLedgers", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": null, "responseElements": null, "requestID": "3bafb877-978f-11e9-a6de-dbe6464b9dec", "eventID": "6ebe7d49-af59-4f29-aaa2-beffe536e20c", "readOnly": true, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:44Z\",\"eventSource\":\"qldb.amazonaws.com\",\"eventName\":\"ListLedgers\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":null,\"responseElements\":null,\"requestID\":\"3bafb877-978f-11e9-a6de-dbe6464b9dec\",\"eventID\":\"6ebe7d49-af59-4f29-aaa2-beffe536e20c\",\"readOnly\":true,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "ListLedgers", "request": [ "com.amazonaws.services.qldb.model.ListLedgersRequest", { "customRequestHeaders": null, "customQueryParameters": null, "maxResults": null, "nextToken": null } ], "requestId": "3bafb877-978f-11e9-a6de-dbe6464b9dec" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:49Z", "eventSource": "qldb.amazonaws.com", "eventName": "GetDigest", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "name": "CloudtrailTest" }, "responseElements": null, "requestID": "3cddd8a1-978f-11e9-a6de-dbe6464b9dec", "eventID": "a5cb60db-e6c5-4f5e-a5fc-0712249622b3", "readOnly": true, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:49Z\",\"eventSource\":\"qldb.amazonaws.com\",\"eventName\":\"GetDigest\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"name\":\"CloudtrailTest\"},\"responseElements\":null,\"requestID\":\"3cddd8a1-978f-11e9-a6de-dbe6464b9dec\",\"eventID\":\"a5cb60db-e6c5-4f5e-a5fc-0712249622b3\",\"readOnly\":true,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "GetDigest", "request": [ "com.amazonaws.services.qldb.model.GetDigestRequest", { "customRequestHeaders": null, "customQueryParameters": null, "name": "CloudtrailTest", "digestTipAddress": null } ], "requestId": "3cddd8a1-978f-11e9-a6de-dbe6464b9dec" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:50Z", "eventSource": "qldb.amazonaws.com", "eventName": "GetBlock", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "BlockAddress": { "IonText": "{strandId:\"2P2nsG3K2RwHQccUbnAMAj\",sequenceNo:0}" }, "name": "CloudtrailTest", "DigestTipAddress": { "IonText": "{strandId:\"2P2nsG3K2RwHQccUbnAMAj\",sequenceNo:0}" } }, "responseElements": null, "requestID": "3eaea09f-978f-11e9-bdc2-c1e55368155e", "eventID": "1f7da83f-d829-4e35-953d-30b925ceee66", "readOnly": true, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:50Z\",\"eventSource\":\"qldb.amazonaws.com\",\"eventName\":\"GetBlock\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"BlockAddress\":{\"IonText\":\"{strandId:\\\"2P2nsG3K2RwHQccUbnAMAj\\\",sequenceNo:0}\"},\"name\":\"CloudtrailTest\",\"DigestTipAddress\":{\"IonText\":\"{strandId:\\\"2P2nsG3K2RwHQccUbnAMAj\\\",sequenceNo:0}\"}},\"responseElements\":null,\"requestID\":\"3eaea09f-978f-11e9-bdc2-c1e55368155e\",\"eventID\":\"1f7da83f-d829-4e35-953d-30b925ceee66\",\"readOnly\":true,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "GetBlock", "request": [ "com.amazonaws.services.qldb.model.GetBlockRequest", { "customRequestHeaders": null, "customQueryParameters": null, "name": "CloudtrailTest", "blockAddress": { "ionText": "{strandId:\"2P2nsG3K2RwHQccUbnAMAj\",sequenceNo:0}" }, "digestTipAddress": { "ionText": "{strandId:\"2P2nsG3K2RwHQccUbnAMAj\",sequenceNo:0}" } } ], "requestId": "3eaea09f-978f-11e9-bdc2-c1e55368155e" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:55Z", "eventSource": "qldb.amazonaws.com", "eventName": "GetRevision", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "BlockAddress": { "IonText": "{strandId:\"2P2nsG3K2RwHQccUbnAMAj\",sequenceNo:1}" }, "name": "CloudtrailTest", "DocumentId": "8UyXvDw6ApoFfVOA2HPfUE", "DigestTipAddress": { "IonText": "{strandId:\"2P2nsG3K2RwHQccUbnAMAj\",sequenceNo:1}" } }, "responseElements": null, "requestID": "41e19139-978f-11e9-aaed-dfe1dafe37ab", "eventID": "43bf2661-5046-41ec-a1d3-87706954aa10", "readOnly": true, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:55Z\",\"eventSource\":\"qldb.amazonaws.com\",\"eventName\":\"GetRevision\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"BlockAddress\":{\"IonText\":\"{strandId:\\\"2P2nsG3K2RwHQccUbnAMAj\\\",sequenceNo:1}\"},\"name\":\"CloudtrailTest\",\"DocumentId\":\"8UyXvDw6ApoFfVOA2HPfUE\",\"DigestTipAddress\":{\"IonText\":\"{strandId:\\\"2P2nsG3K2RwHQccUbnAMAj\\\",sequenceNo:1}\"}},\"responseElements\":null,\"requestID\":\"41e19139-978f-11e9-aaed-dfe1dafe37ab\",\"eventID\":\"43bf2661-5046-41ec-a1d3-87706954aa10\",\"readOnly\":true,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "GetRevision", "request": [ "com.amazonaws.services.qldb.model.GetRevisionRequest", { "customRequestHeaders": null, "customQueryParameters": null, "name": "CloudtrailTest", "blockAddress": { "ionText": "{strandId:\"2P2nsG3K2RwHQccUbnAMAj\",sequenceNo:1}" }, "documentId": "8UyXvDw6ApoFfVOA2HPfUE", "digestTipAddress": { "ionText": "{strandId:\"2P2nsG3K2RwHQccUbnAMAj\",sequenceNo:1}" } } ], "requestId": "41e19139-978f-11e9-aaed-dfe1dafe37ab" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:56Z", "eventSource": "qldb.amazonaws.com", "eventName": "ExportJournalToS3", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "InclusiveStartTime": 1.561497687254E9, "name": "CloudtrailTest", "S3ExportConfiguration": { "Bucket": "cloudtrailtests-123456789012-us-east-2", "Prefix": "CloudtrailTestsJournalExport", "EncryptionConfiguration": { "ObjectEncryptionType": "SSE_S3" } }, "ExclusiveEndTime": 1.561497715795E9 }, "responseElements": { "ExportId": "BabQhsmJRYDCGMnA2xYBDG" }, "requestID": "423815f8-978f-11e9-afcf-55f7d0f3583d", "eventID": "1b5abdc4-52fa-435f-857e-8995ef7a19b7", "readOnly": false, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:56Z\",\"eventSource\":\"qldb.amazonaws.com\",\"eventName\":\"ExportJournalToS3\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"InclusiveStartTime\":1.561497687254E9,\"name\":\"CloudtrailTest\",\"S3ExportConfiguration\":{\"Bucket\":\"cloudtrailtests-123456789012-us-east-2\",\"Prefix\":\"CloudtrailTestsJournalExport\",\"EncryptionConfiguration\":{\"ObjectEncryptionType\":\"SSE_S3\"}},\"ExclusiveEndTime\":1.561497715795E9},\"responseElements\":{\"ExportId\":\"BabQhsmJRYDCGMnA2xYBDG\"},\"requestID\":\"423815f8-978f-11e9-afcf-55f7d0f3583d\",\"eventID\":\"1b5abdc4-52fa-435f-857e-8995ef7a19b7\",\"readOnly\":false,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "ExportJournalToS3", "request": [ "com.amazonaws.services.qldb.model.ExportJournalToS3Request", { "customRequestHeaders": null, "customQueryParameters": null, "name": "CloudtrailTest", "inclusiveStartTime": 1561497687254, "exclusiveEndTime": 1561497715795, "s3ExportConfiguration": { "bucket": "cloudtrailtests-123456789012-us-east-2", "prefix": "CloudtrailTestsJournalExport", "encryptionConfiguration": { "objectEncryptionType": "SSE_S3", "kmsKeyArn": null } } } ], "requestId": "423815f8-978f-11e9-afcf-55f7d0f3583d" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:56Z", "eventSource": "qldb.amazonaws.com", "eventName": "DescribeJournalS3Export", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "name": "CloudtrailTest", "exportId": "BabQhsmJRYDCGMnA2xYBDG" }, "responseElements": null, "requestID": "427ebbbc-978f-11e9-8888-e9894c9c4bb9", "eventID": "ca8ffc88-16ff-45f5-9042-d94fadb389c3", "readOnly": true, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:56Z\",\"eventSource\":\"qldb.amazonaws.com\",\"eventName\":\"DescribeJournalS3Export\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"name\":\"CloudtrailTest\",\"exportId\":\"BabQhsmJRYDCGMnA2xYBDG\"},\"responseElements\":null,\"requestID\":\"427ebbbc-978f-11e9-8888-e9894c9c4bb9\",\"eventID\":\"ca8ffc88-16ff-45f5-9042-d94fadb389c3\",\"readOnly\":true,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "DescribeJournalS3Export", "request": [ "com.amazonaws.services.qldb.model.DescribeJournalS3ExportRequest", { "customRequestHeaders": null, "customQueryParameters": null, "name": "CloudtrailTest", "exportId": "BabQhsmJRYDCGMnA2xYBDG" } ], "requestId": "427ebbbc-978f-11e9-8888-e9894c9c4bb9" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:56Z", "eventSource": "qldb.amazonaws.com", "eventName": "ListJournalS3ExportsForLedger", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "name": "CloudtrailTest" }, "responseElements": null, "requestID": "429ca40c-978f-11e9-8c4b-d13a8018a286", "eventID": "34f0e76b-58a5-45be-881c-786d22e34e96", "readOnly": true, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:56Z\",\"eventSource\":\"qldb.amazonaws.com\",\"eventName\":\"ListJournalS3ExportsForLedger\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"name\":\"CloudtrailTest\"},\"responseElements\":null,\"requestID\":\"429ca40c-978f-11e9-8c4b-d13a8018a286\",\"eventID\":\"34f0e76b-58a5-45be-881c-786d22e34e96\",\"readOnly\":true,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "ListJournalS3ExportsForLedger", "request": [ "com.amazonaws.services.qldb.model.ListJournalS3ExportsForLedgerRequest", { "customRequestHeaders": null, "customQueryParameters": null, "name": "CloudtrailTest", "maxResults": null, "nextToken": null } ], "requestId": "429ca40c-978f-11e9-8c4b-d13a8018a286" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:56Z", "eventSource": "qldb.amazonaws.com", "eventName": "ListJournalS3Exports", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": null, "responseElements": null, "requestID": "42cc1814-978f-11e9-befb-f5dbaa142118", "eventID": "4c24d7d6-810c-4cf4-884e-00482278b6ce", "readOnly": true, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:56Z\",\"eventSource\":\"qldb.amazonaws.com\",\"eventName\":\"ListJournalS3Exports\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":null,\"responseElements\":null,\"requestID\":\"42cc1814-978f-11e9-befb-f5dbaa142118\",\"eventID\":\"4c24d7d6-810c-4cf4-884e-00482278b6ce\",\"readOnly\":true,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "ListJournalS3Exports", "request": [ "com.amazonaws.services.qldb.model.ListJournalS3ExportsRequest", { "customRequestHeaders": null, "customQueryParameters": null, "maxResults": null, "nextToken": null } ], "requestId": "42cc1814-978f-11e9-befb-f5dbaa142118" }, { "cloudtrailEvent": { "userIdentity": { "arn": "arn:aws:sts::123456789012:assumed-role/Admin/test-user" }, "eventTime": "2019-06-25T21:21:57Z", "eventSource": "qldb.amazonaws.com", "eventName": "DeleteLedger", "awsRegion": "us-east-2", "errorCode": null, "requestParameters": { "name": "CloudtrailTest" }, "responseElements": null, "requestID": "42f439b9-978f-11e9-8b2c-69ef598d66e9", "eventID": "429f5163-cba5-4d86-bd7e-f606e057c6cf", "readOnly": false, "eventType": "AwsApiCall", "recipientAccountId": "123456789012" }, "rawCloudtrailEvent": "{\"eventVersion\":\"1.05\",\"userIdentity\":{\"type\":\"AssumedRole\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE:test-user\",\"arn\":\"arn:aws:sts::123456789012:assumed-role/Admin/test-user\",\"accountId\":\"123456789012\",\"accessKeyId\":\"AKIAI44QH8DHBEXAMPLE\",\"sessionContext\":{\"attributes\":{\"mfaAuthenticated\":\"false\",\"creationDate\":\"2019-06-25T21:21:25Z\"},\"sessionIssuer\":{\"type\":\"Role\",\"principalId\":\"AKIAIOSFODNN7EXAMPLE\",\"arn\":\"arn:aws:iam::123456789012:role/Admin\",\"accountId\":\"123456789012\",\"userName\":\"Admin\"}}},\"eventTime\":\"2019-06-25T21:21:57Z\",\"eventSource\":\"qldb.amazonaws.com\",\"eventName\":\"DeleteLedger\",\"awsRegion\":\"us-east-2\",\"sourceIPAddress\":\"192.0.2.01\",\"userAgent\":\"aws-internal/3 aws-sdk-java/1.11.575 Mac_OS_X/10.13.6 Java_HotSpot(TM)_64-Bit_Server_VM/25.202-b08 java/1.8.0_202 kotlin/1.3.21 vendor/Oracle_Corporation\",\"requestParameters\":{\"name\":\"CloudtrailTest\"},\"responseElements\":null,\"requestID\":\"42f439b9-978f-11e9-8b2c-69ef598d66e9\",\"eventID\":\"429f5163-cba5-4d86-bd7e-f606e057c6cf\",\"readOnly\":false,\"eventType\":\"AwsApiCall\",\"recipientAccountId\":\"123456789012\"}", "name": "DeleteLedger", "request": [ "com.amazonaws.services.qldb.model.DeleteLedgerRequest", { "customRequestHeaders": null, "customQueryParameters": null, "name": "CloudtrailTest" } ], "requestId": "42f439b9-978f-11e9-8b2c-69ef598d66e9" } ] }