Data Lineage API audit logging

This document describes audit logging for Data Lineage API. Google Cloud services generate audit logs that record administrative and access activities within your Google Cloud resources. For more information about Cloud Audit Logs, see the following:

Service name

Data Lineage API audit logs use the service name datalineage.googleapis.com. Filter for this service:

    protoPayload.serviceName="datalineage.googleapis.com"
  

Methods by permission type

Each IAM permission has a type property, whose value is an enum that can be one of four values: ADMIN_READ, ADMIN_WRITE, DATA_READ, or DATA_WRITE. When you call a method, Data Lineage API generates an audit log whose category is dependent on the type property of the permission required to perform the method. Methods that require an IAM permission with the type property value of DATA_READ, DATA_WRITE, or ADMIN_READ generate Data Access audit logs. Methods that require an IAM permission with the type property value of ADMIN_WRITE generate Admin Activity audit logs.

Permission type Methods
ADMIN_READ google.longrunning.Operations.GetOperation
DATA_READ google.cloud.datacatalog.lineage.v1.Lineage.BatchSearchLinkProcesses
google.cloud.datacatalog.lineage.v1.Lineage.GetLineageEvent
google.cloud.datacatalog.lineage.v1.Lineage.GetProcess
google.cloud.datacatalog.lineage.v1.Lineage.GetRun
google.cloud.datacatalog.lineage.v1.Lineage.ListLineageEvents
google.cloud.datacatalog.lineage.v1.Lineage.ListProcesses
google.cloud.datacatalog.lineage.v1.Lineage.ListRuns
google.cloud.datacatalog.lineage.v1.Lineage.SearchLinks
DATA_WRITE google.cloud.datacatalog.lineage.v1.Lineage.CreateLineageEvent
google.cloud.datacatalog.lineage.v1.Lineage.CreateProcess
google.cloud.datacatalog.lineage.v1.Lineage.CreateRun
google.cloud.datacatalog.lineage.v1.Lineage.DeleteLineageEvent
google.cloud.datacatalog.lineage.v1.Lineage.DeleteProcess
google.cloud.datacatalog.lineage.v1.Lineage.DeleteRun
google.cloud.datacatalog.lineage.v1.Lineage.ProcessOpenLineageRunEvent
google.cloud.datacatalog.lineage.v1.Lineage.UpdateProcess
google.cloud.datacatalog.lineage.v1.Lineage.UpdateRun

API interface audit logs

For information about how and which permissions are evaluated for each method, see the Identity and Access Management documentation for Data Lineage API.

google.cloud.datacatalog.lineage.v1.Lineage

The following audit logs are associated with methods belonging to google.cloud.datacatalog.lineage.v1.Lineage.

BatchSearchLinkProcesses

  • Method: google.cloud.datacatalog.lineage.v1.Lineage.BatchSearchLinkProcesses
  • Audit log type: Data access
  • Permissions:
    • datalineage.locations.searchLinks - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.datacatalog.lineage.v1.Lineage.BatchSearchLinkProcesses"

CreateLineageEvent

  • Method: google.cloud.datacatalog.lineage.v1.Lineage.CreateLineageEvent
  • Audit log type: Data access
  • Permissions:
    • datalineage.events.create - DATA_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.datacatalog.lineage.v1.Lineage.CreateLineageEvent"

CreateProcess

  • Method: google.cloud.datacatalog.lineage.v1.Lineage.CreateProcess
  • Audit log type: Data access
  • Permissions:
    • datalineage.processes.create - DATA_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.datacatalog.lineage.v1.Lineage.CreateProcess"

CreateRun

  • Method: google.cloud.datacatalog.lineage.v1.Lineage.CreateRun
  • Audit log type: Data access
  • Permissions:
    • datalineage.runs.create - DATA_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.datacatalog.lineage.v1.Lineage.CreateRun"

DeleteLineageEvent

  • Method: google.cloud.datacatalog.lineage.v1.Lineage.DeleteLineageEvent
  • Audit log type: Data access
  • Permissions:
    • datalineage.events.delete - DATA_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.datacatalog.lineage.v1.Lineage.DeleteLineageEvent"

DeleteProcess

  • Method: google.cloud.datacatalog.lineage.v1.Lineage.DeleteProcess
  • Audit log type: Data access
  • Permissions:
    • datalineage.processes.delete - DATA_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.datacatalog.lineage.v1.Lineage.DeleteProcess"

DeleteRun

  • Method: google.cloud.datacatalog.lineage.v1.Lineage.DeleteRun
  • Audit log type: Data access
  • Permissions:
    • datalineage.runs.delete - DATA_WRITE
  • Method is a long-running or streaming operation: Long-running operation
  • Filter for this method: protoPayload.methodName="google.cloud.datacatalog.lineage.v1.Lineage.DeleteRun"

GetLineageEvent

  • Method: google.cloud.datacatalog.lineage.v1.Lineage.GetLineageEvent
  • Audit log type: Data access
  • Permissions:
    • datalineage.events.get - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.datacatalog.lineage.v1.Lineage.GetLineageEvent"

GetProcess

  • Method: google.cloud.datacatalog.lineage.v1.Lineage.GetProcess
  • Audit log type: Data access
  • Permissions:
    • datalineage.processes.get - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.datacatalog.lineage.v1.Lineage.GetProcess"

GetRun

  • Method: google.cloud.datacatalog.lineage.v1.Lineage.GetRun
  • Audit log type: Data access
  • Permissions:
    • datalineage.runs.get - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.datacatalog.lineage.v1.Lineage.GetRun"

ListLineageEvents

  • Method: google.cloud.datacatalog.lineage.v1.Lineage.ListLineageEvents
  • Audit log type: Data access
  • Permissions:
    • datalineage.events.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.datacatalog.lineage.v1.Lineage.ListLineageEvents"

ListProcesses

  • Method: google.cloud.datacatalog.lineage.v1.Lineage.ListProcesses
  • Audit log type: Data access
  • Permissions:
    • datalineage.processes.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.datacatalog.lineage.v1.Lineage.ListProcesses"

ListRuns

  • Method: google.cloud.datacatalog.lineage.v1.Lineage.ListRuns
  • Audit log type: Data access
  • Permissions:
    • datalineage.runs.list - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.datacatalog.lineage.v1.Lineage.ListRuns"

ProcessOpenLineageRunEvent

  • Method: google.cloud.datacatalog.lineage.v1.Lineage.ProcessOpenLineageRunEvent
  • Audit log type: Data access
  • Permissions:
    • datalineage.locations.processOpenLineageMessage - DATA_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.datacatalog.lineage.v1.Lineage.ProcessOpenLineageRunEvent"
  • Method: google.cloud.datacatalog.lineage.v1.Lineage.SearchLinks
  • Audit log type: Data access
  • Permissions:
    • datalineage.locations.searchLinks - DATA_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.datacatalog.lineage.v1.Lineage.SearchLinks"

UpdateProcess

  • Method: google.cloud.datacatalog.lineage.v1.Lineage.UpdateProcess
  • Audit log type: Data access
  • Permissions:
    • datalineage.processes.update - DATA_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.datacatalog.lineage.v1.Lineage.UpdateProcess"

UpdateRun

  • Method: google.cloud.datacatalog.lineage.v1.Lineage.UpdateRun
  • Audit log type: Data access
  • Permissions:
    • datalineage.runs.update - DATA_WRITE
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.cloud.datacatalog.lineage.v1.Lineage.UpdateRun"

google.longrunning.Operations

The following audit logs are associated with methods belonging to google.longrunning.Operations.

GetOperation

  • Method: google.longrunning.Operations.GetOperation
  • Audit log type: Data access
  • Permissions:
    • datalineage.operations.get - ADMIN_READ
  • Method is a long-running or streaming operation: No.
  • Filter for this method: protoPayload.methodName="google.longrunning.Operations.GetOperation"

Methods that don't produce audit logs

A method might not produce audit logs for one or more of the following reasons:

  • It is a high volume method involving signifcant log generation and storage costs.
  • It has low auditing value.
  • Another audit or platform log already provides method coverage.

The following methods don't produce audit logs:

  • google.longrunning.Operations.CancelOperation
  • google.longrunning.Operations.DeleteOperation
  • google.longrunning.Operations.ListOperations
  • google.longrunning.Operations.WaitOperation