Geração de registros de auditoria do Connect Gateway
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Neste documento, descrevemos a geração de registros de auditoria do Connect Gateway. Os serviços do Google Cloud
gravam registros de auditoria que registram atividades e acessos administrativos nos
recursos do Google Cloud. Saiba mais em
Visão geral dos Registros de auditoria do Cloud.
Esta página foi gerada pela última vez em 23-05-2024 18:50:50 UTC.
Nome do serviço
Os registros de auditoria do Connect Gateway usam o nome de serviço connectgateway.googleapis.com.
Métodos por tipo de permissão
Para ativar os registros de auditoria do Connect Gateway, ative a geração de registros de auditoria para
gkehub.googleapis.com.
Os métodos que verificam os tipos de permissão DATA_READ, DATA_WRITE e ADMIN_READ
são registros de auditoria de acesso aos dados. Os métodos que verificam os tipos de permissão ADMIN_WRITE são registros de auditoria da atividade do administrador.
Para saber quais permissões são avaliadas e como cada método é usado, consulte a documentação do Identity and Access Management para o Connect Gateway.
O método é uma operação ou streaming de longa duração : não.
Filtrar para este método:
protoPayload.methodName="google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PutResource"
Kubernetes Audit Logging
Além dos registros de auditoria do Cloud, o registro de auditoria do Kubernetes oferece aos administradores uma maneira de reter, consultar, processar e alertar sobre eventos que ocorrem em clusters registrados. Os administradores podem usar as informações registradas para fazer análises forenses e alertas em tempo real ou catalogar como e por quem uma frota de clusters está sendo usada.
O agente do Connect se comunica com o servidor de API local em execução no cluster registrado, e cada cluster tem o próprio conjunto de registros de auditoria do Kubernetes. Todas as ações que os usuários realizam a partir da IU por meio do Connect são registradas por esse cluster.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2024-11-21 UTC."],[],[],null,["# Connect Gateway audit logging\n\nThis document describes audit logging for Connect Gateway. 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\nConnect Gateway audit logs use the service name `connectgateway.googleapis.com`.\nFilter for this service: \n\n```gdscript\n protoPayload.serviceName=\"connectgateway.googleapis.com\"\n \n```\n\n\u003cbr /\u003e\n\nMethods by permission type\n--------------------------\n\n| Connect Gateway audit logs are enabled by turning on audit logging for `gkehub.googleapis.com`.\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,\nConnect Gateway 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 Connect Gateway.\n\n### `google.cloud.gkeconnect.gateway.v1.GatewayControl`\n\nThe following audit logs are associated with methods belonging to\n`google.cloud.gkeconnect.gateway.v1.GatewayControl`.\n\n#### `GenerateCredentials`\n\n- **Method** : `google.cloud.gkeconnect.gateway.v1.GatewayControl.GenerateCredentials` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `gkehub.gateway.generateCredentials - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.gkeconnect.gateway.v1.GatewayControl.GenerateCredentials\"\n ` \n\n### `google.cloud.gkeconnect.gateway.v1.GatewayService`\n\nThe following audit logs are associated with methods belonging to\n`google.cloud.gkeconnect.gateway.v1.GatewayService`.\n\n#### `DeleteResource`\n\n- **Method** : `google.cloud.gkeconnect.gateway.v1.GatewayService.DeleteResource` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `gkehub.gateway.delete - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.gkeconnect.gateway.v1.GatewayService.DeleteResource\"\n ` \n\n#### `GetResource`\n\n- **Method** : `google.cloud.gkeconnect.gateway.v1.GatewayService.GetResource` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `gkehub.gateway.get - ADMIN_READ`\n- **Method is a long-running or streaming operation** : [**Streaming RPC**](/logging/docs/audit/understanding-audit-logs#streaming) \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.gkeconnect.gateway.v1.GatewayService.GetResource\"\n ` \n\n#### `PatchResource`\n\n- **Method** : `google.cloud.gkeconnect.gateway.v1.GatewayService.PatchResource` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `gkehub.gateway.patch - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.gkeconnect.gateway.v1.GatewayService.PatchResource\"\n ` \n\n#### `PostResource`\n\n- **Method** : `google.cloud.gkeconnect.gateway.v1.GatewayService.PostResource` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `gkehub.gateway.post - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.gkeconnect.gateway.v1.GatewayService.PostResource\"\n ` \n\n#### `PutResource`\n\n- **Method** : `google.cloud.gkeconnect.gateway.v1.GatewayService.PutResource` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `gkehub.gateway.put - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.gkeconnect.gateway.v1.GatewayService.PutResource\"\n ` \n\n#### `Stream`\n\n- **Method** : `google.cloud.gkeconnect.gateway.v1.GatewayService.Stream` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `gkehub.gateway.stream - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : [**Streaming RPC**](/logging/docs/audit/understanding-audit-logs#streaming) \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.gkeconnect.gateway.v1.GatewayService.Stream\"\n ` \n\n### `google.cloud.gkeconnect.gateway.v1beta1.GatewayControl`\n\nThe following audit logs are associated with methods belonging to\n`google.cloud.gkeconnect.gateway.v1beta1.GatewayControl`.\n\n#### `GenerateCredentials`\n\n- **Method** : `google.cloud.gkeconnect.gateway.v1beta1.GatewayControl.GenerateCredentials` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `gkehub.gateway.generateCredentials - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.gkeconnect.gateway.v1beta1.GatewayControl.GenerateCredentials\"\n ` \n\n### `google.cloud.gkeconnect.gateway.v1beta1.GatewayService`\n\nThe following audit logs are associated with methods belonging to\n`google.cloud.gkeconnect.gateway.v1beta1.GatewayService`.\n\n#### `DeleteResource`\n\n- **Method** : `google.cloud.gkeconnect.gateway.v1beta1.GatewayService.DeleteResource` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `gkehub.gateway.delete - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.gkeconnect.gateway.v1beta1.GatewayService.DeleteResource\"\n ` \n\n#### `GetResource`\n\n- **Method** : `google.cloud.gkeconnect.gateway.v1beta1.GatewayService.GetResource` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `gkehub.gateway.get - ADMIN_READ`\n- **Method is a long-running or streaming operation** : [**Streaming RPC**](/logging/docs/audit/understanding-audit-logs#streaming) \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.gkeconnect.gateway.v1beta1.GatewayService.GetResource\"\n ` \n\n#### `PatchResource`\n\n- **Method** : `google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PatchResource` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `gkehub.gateway.patch - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PatchResource\"\n ` \n\n#### `PostResource`\n\n- **Method** : `google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PostResource` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `gkehub.gateway.post - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PostResource\"\n ` \n\n#### `PutResource`\n\n- **Method** : `google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PutResource` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `gkehub.gateway.put - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PutResource\"\n ` \n\n#### `Stream`\n\n- **Method** : `google.cloud.gkeconnect.gateway.v1beta1.GatewayService.Stream` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `gkehub.gateway.stream - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : [**Streaming RPC**](/logging/docs/audit/understanding-audit-logs#streaming) \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.gkeconnect.gateway.v1beta1.GatewayService.Stream\"\n ` \n\nKubernetes audit logging\n------------------------\n\nIn addition to Cloud Audit Logs, [Kubernetes audit logging](https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/) provides\na way for administrators to retain, query, process, and alert on events that\noccur in registered clusters. Administrators can use the logged information to\ndo forensic analysis and real-time alerting, or for cataloging how a fleet of\nclusters are being used and by whom.\n\nThe Connect Agent talks to the local API server running in the registered\ncluster, and each cluster will have its own set of Kubernetes audit logs. All\nactions that users perform from the UI through Connect are logged\nby that cluster."]]