Soru

Zorluk: OrtaSecurity Logging, Audit Logs, and Security Command Center

An organization needs to configure a centralized pipeline to stream Google Cloud Audit Logs across all existing and future projects to an external Security Information and Event Management (SIEM) platform in real time. Arrange the required implementation steps in the correct architectural sequence to achieve this workflow.

  1. 1Create a Pub/Sub topic in a centralized telemetry project to serve as the ingestion buffer for log entries.
  2. 2Create an organization-level aggregated log sink with an inclusion filter for Cloud Audit Logs directed to the Pub/Sub topic.
  3. 3Grant the service account identity generated by the aggregated log sink the Pub/Sub Publisher IAM role on the central topic.
  4. 4Configure a Pub/Sub pull subscription or Dataflow pipeline to forward received log events into the SIEM endpoint.

Cevap

The correct operational sequence begins by provisioning the central Pub/Sub topic, creating the organization-level aggregated log sink targeting that topic, granting the sink's generated service account permission to publish to the topic, and finally configuring the streaming pipeline consumer to deliver log events to the external SIEM.
Establishing a centralized, real-time audit log streaming architecture requires creating the target Pub/Sub topic first so it exists as a valid sink destination. Creating the organization-level aggregated log sink next creates the log router configuration and automatically generates a unique writer identity service account. Assigning the Pub/Sub Publisher role to this generated service account authorizes cross-project log ingestion. Finally, deploying the downstream consumer on the Pub/Sub subscription initiates telemetry delivery to the SIEM.

Adım Adım Çözüm

1
Provision the central Pub/Sub destination topic
Establishes a valid target resource URI for incoming audit log messages.
Log sinks require an existing destination resource before sink creation or authorization can be configured.
2
Configure the organization-level aggregated log sink
Generates a dedicated sink writer service account identity and defines inclusion filters for audit logs.
Aggregated sinks at the organization node automatically capture audit logs across all nested hierarchy levels.
3
Authorize the log sink's writer identity on the destination Pub/Sub topic
Grants Pub/Sub Publisher permissions to the unique sink service account.
Without explicit IAM publisher authorization on the destination topic, log entry delivery will fail.
4
Establish downstream streaming consumption to the SIEM platform
Streams real-time audit logs from the Pub/Sub subscription into the SIEM system.
Configuring the consumer completes the end-to-end telemetry integration after log routing and permissions are established.

Anahtar Kavram

Organization-Aggregated Cloud Audit Log Routing with Pub/Sub
Bu soruyu puanla