每个 IAM 权限都有一个 type 属性,该属性的值是一个枚举,可以是以下四个值之一:ADMIN_READ、ADMIN_WRITE、DATA_READ 或 DATA_WRITE。在您调用某个方法时,Blockchain Node Engine 会生成一个审核日志,其类别取决于执行该方法所需权限的 type 属性。需要 IAM 权限且 type 属性值为 DATA_READ、DATA_WRITE 或 ADMIN_READ 的方法会生成数据访问审核日志。需要 IAM 权限且 type 属性值为 ADMIN_WRITE 的方法会生成管理员活动审核日志。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-18。"],[[["\u003cp\u003eBlockchain Node Engine uses audit logs to record administrative and data access activities within Google Cloud resources, with the service name \u003ccode\u003eblockchainnodeengine.googleapis.com\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAudit logs are categorized as either Admin Activity or Data Access based on the IAM permission type required for the method, which can be \u003ccode\u003eADMIN_READ\u003c/code\u003e, \u003ccode\u003eADMIN_WRITE\u003c/code\u003e, \u003ccode\u003eDATA_READ\u003c/code\u003e, or \u003ccode\u003eDATA_WRITE\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eMethods requiring \u003ccode\u003eADMIN_WRITE\u003c/code\u003e permissions, such as creating, updating, or deleting Blockchain Nodes, generate Admin Activity audit logs, whereas methods requiring \u003ccode\u003eADMIN_READ\u003c/code\u003e, like listing or getting Blockchain Nodes, generate Data Access audit logs.\u003c/p\u003e\n"],["\u003cp\u003eThe document provides detailed information on the audit log type, permissions, and filter strings for various methods, including those in \u003ccode\u003egoogle.cloud.blockchainnodeengine.v1.BlockchainNodeEngine\u003c/code\u003e, \u003ccode\u003egoogle.cloud.blockchainnodeengine.v1alpha1.BlockchainNodeEngine\u003c/code\u003e, and \u003ccode\u003egoogle.longrunning.Operations\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSome methods like \u003ccode\u003egoogle.cloud.location.Locations.GetLocation\u003c/code\u003e, \u003ccode\u003egoogle.cloud.location.Locations.ListLocations\u003c/code\u003e and \u003ccode\u003egoogle.longrunning.Operations.WaitOperation\u003c/code\u003e do not generate audit logs due to reasons like high volume, low audit value, or coverage by other logs.\u003c/p\u003e\n"]]],[],null,["# Blockchain Node Engine audit logging\n\nThis document describes audit logging for Blockchain Node Engine. Google Cloud services\ngenerate audit logs that record administrative and access activities within your Google Cloud resources.\nFor more information about Cloud Audit Logs, see the following:\n\n- [Types of audit logs](/logging/docs/audit#types)\n- [Audit log entry structure](/logging/docs/audit#audit_log_entry_structure)\n- [Storing and routing audit logs](/logging/docs/audit#storing_and_routing_audit_logs)\n- [Cloud Logging pricing summary](/stackdriver/pricing#logs-pricing-summary)\n- [Enable Data Access audit logs](/logging/docs/audit/configure-data-access)\n\n\u003cbr /\u003e\n\nService name\n------------\n\nBlockchain Node Engine audit logs use the service name `blockchainnodeengine.googleapis.com`.\nFilter for this service: \n\n```javascript\n protoPayload.serviceName=\"blockchainnodeengine.googleapis.com\"\n \n```\n\n\u003cbr /\u003e\n\nMethods by permission type\n--------------------------\n\nEach IAM permission has a `type` property, whose value is an enum\nthat can be one of four values: `ADMIN_READ`, `ADMIN_WRITE`,\n`DATA_READ`, or `DATA_WRITE`. When you call a method,\nBlockchain Node Engine generates an audit log whose category is dependent on the\n`type` property of the permission required to perform the method.\n\nMethods that require an IAM permission with the `type` property value\nof `DATA_READ`, `DATA_WRITE`, or `ADMIN_READ` generate\n[Data Access](/logging/docs/audit#data-access) audit logs.\n\nMethods that require an IAM permission with the `type` property value\nof `ADMIN_WRITE` generate\n[Admin Activity](/logging/docs/audit#admin-activity) audit logs.\n\nAPI interface audit logs\n------------------------\n\nFor information about how and which permissions are evaluated for each method,\nsee the Identity and Access Management documentation for Blockchain Node Engine.\n\n### `google.cloud.blockchainnodeengine.v1.BlockchainNodeEngine`\n\nThe following audit logs are associated with methods belonging to\n`google.cloud.blockchainnodeengine.v1.BlockchainNodeEngine`.\n\n#### `CreateBlockchainNode`\n\n- **Method** : `google.cloud.blockchainnodeengine.v1.BlockchainNodeEngine.CreateBlockchainNode` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `blockchainnodeengine.blockchainNodes.create - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : [**Long-running operation**](/logging/docs/audit/understanding-audit-logs#lro) \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.blockchainnodeengine.v1.BlockchainNodeEngine.CreateBlockchainNode\"\n ` \n\n#### `DeleteBlockchainNode`\n\n- **Method** : `google.cloud.blockchainnodeengine.v1.BlockchainNodeEngine.DeleteBlockchainNode` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `blockchainnodeengine.blockchainNodes.delete - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : [**Long-running operation**](/logging/docs/audit/understanding-audit-logs#lro) \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.blockchainnodeengine.v1.BlockchainNodeEngine.DeleteBlockchainNode\"\n ` \n\n#### `GetBlockchainNode`\n\n- **Method** : `google.cloud.blockchainnodeengine.v1.BlockchainNodeEngine.GetBlockchainNode` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `blockchainnodeengine.blockchainNodes.get - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.blockchainnodeengine.v1.BlockchainNodeEngine.GetBlockchainNode\"\n ` \n\n#### `ListBlockchainNodes`\n\n- **Method** : `google.cloud.blockchainnodeengine.v1.BlockchainNodeEngine.ListBlockchainNodes` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `blockchainnodeengine.blockchainNodes.list - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.blockchainnodeengine.v1.BlockchainNodeEngine.ListBlockchainNodes\"\n ` \n\n#### `UpdateBlockchainNode`\n\n- **Method** : `google.cloud.blockchainnodeengine.v1.BlockchainNodeEngine.UpdateBlockchainNode` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `blockchainnodeengine.blockchainNodes.update - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.blockchainnodeengine.v1.BlockchainNodeEngine.UpdateBlockchainNode\"\n ` \n\n### `google.cloud.blockchainnodeengine.v1alpha1.BlockchainNodeEngine`\n\nThe following audit logs are associated with methods belonging to\n`google.cloud.blockchainnodeengine.v1alpha1.BlockchainNodeEngine`.\n\n#### `CreateBlockchainNode`\n\n- **Method** : `google.cloud.blockchainnodeengine.v1alpha1.BlockchainNodeEngine.CreateBlockchainNode` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `blockchainnodeengine.blockchainNodes.create - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : [**Long-running operation**](/logging/docs/audit/understanding-audit-logs#lro) \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.blockchainnodeengine.v1alpha1.BlockchainNodeEngine.CreateBlockchainNode\"\n ` \n\n#### `DeleteBlockchainNode`\n\n- **Method** : `google.cloud.blockchainnodeengine.v1alpha1.BlockchainNodeEngine.DeleteBlockchainNode` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `blockchainnodeengine.blockchainNodes.delete - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : [**Long-running operation**](/logging/docs/audit/understanding-audit-logs#lro) \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.blockchainnodeengine.v1alpha1.BlockchainNodeEngine.DeleteBlockchainNode\"\n ` \n\n#### `GetBlockchainNode`\n\n- **Method** : `google.cloud.blockchainnodeengine.v1alpha1.BlockchainNodeEngine.GetBlockchainNode` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `blockchainnodeengine.blockchainNodes.get - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.blockchainnodeengine.v1alpha1.BlockchainNodeEngine.GetBlockchainNode\"\n ` \n\n#### `ListBlockchainNodes`\n\n- **Method** : `google.cloud.blockchainnodeengine.v1alpha1.BlockchainNodeEngine.ListBlockchainNodes` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `blockchainnodeengine.blockchainNodes.list - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.blockchainnodeengine.v1alpha1.BlockchainNodeEngine.ListBlockchainNodes\"\n ` \n\n#### `UpdateBlockchainNode`\n\n- **Method** : `google.cloud.blockchainnodeengine.v1alpha1.BlockchainNodeEngine.UpdateBlockchainNode` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `blockchainnodeengine.blockchainNodes.update - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.blockchainnodeengine.v1alpha1.BlockchainNodeEngine.UpdateBlockchainNode\"\n ` \n\n### `google.longrunning.Operations`\n\nThe following audit logs are associated with methods belonging to\n`google.longrunning.Operations`.\n\n#### `CancelOperation`\n\n- **Method** : `google.longrunning.Operations.CancelOperation` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `blockchainnodeengine.operations.cancel - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.longrunning.Operations.CancelOperation\"\n ` \n\n#### `DeleteOperation`\n\n- **Method** : `google.longrunning.Operations.DeleteOperation` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `blockchainnodeengine.operations.delete - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.longrunning.Operations.DeleteOperation\"\n ` \n\n#### `GetOperation`\n\n- **Method** : `google.longrunning.Operations.GetOperation` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `blockchainnodeengine.operations.get - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.longrunning.Operations.GetOperation\"\n ` \n\n#### `ListOperations`\n\n- **Method** : `google.longrunning.Operations.ListOperations` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `blockchainnodeengine.operations.list - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.longrunning.Operations.ListOperations\"\n ` \n\nMethods that don't produce audit logs\n-------------------------------------\n\nA method might not produce audit logs for one or more of the following\nreasons:\n\n- It is a high volume method involving significant log generation and storage costs.\n- It has low auditing value.\n- Another audit or platform log already provides method coverage.\n\n\u003cbr /\u003e\n\nThe following methods don't produce audit logs:\n\n- `google.cloud.location.Locations.GetLocation`\n- `google.cloud.location.Locations.ListLocations`\n- `google.longrunning.Operations.WaitOperation`"]]