Google SecOps
Synopsis
The Google SecOps target forwards events to Google Security Operations using the Ingestion API. Supports both V1 and V2 API versions with unstructured logs or UDM (Unified Data Model) format submission.
Schema
- name: <string>
description: <string>
type: gcpsecops
properties:
api_version: <string>
send_events_as: <string>
udm_type: <string>
region: <string>
customer_id: <string>
authentication:
method: <credentials|secret|apikey|apikeysecret>
service_account_credentials: <string>
service_account_credentials_secret: <string>
api_key: <string>
api_key_secret: <string>
default_log_type: <string>
log_text_field: <string>
namespace: <string>
custom_log_types:
- log_type: <string>
description: <string>
labels:
- key: <string>
value: <string>
batch_size: <integer>
timeout: <integer>
field_format: <string>
debug:
status: <boolean>
dont_send_logs: <boolean>
Configuration
Base Target Fields
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Y | Unique identifier for this target |
description | string | N | Human-readable description |
type | string | Y | Must be gcpsecops |
pipelines | array | N | Pipeline names to apply before sending |
status | boolean | N | Enable (true) or disable (false) this target |
API Configuration
| Field | Type | Required | Description |
|---|---|---|---|
api_version | string | N | API version to use (v1, v2). Default: v2 |
send_events_as | string | N | Data format (unstructured, udm). Default: unstructured |
udm_type | string | N* | UDM submission type (logs, entities). Default: logs |
region | string | Y | SecOps ingestion region. See Regions |
customer_id | string | Y* | Google SecOps customer ID |
* udm_type required when send_events_as: udm with V2 API
* customer_id required for V2 API
Authentication
| Field | Type | Required | Description |
|---|---|---|---|
authentication.method | string | N | Authentication method (credentials, secret, apikey, apikeysecret). Default: credentials |
service_account_credentials | string | Y* | JSON service account credentials |
service_account_credentials_secret | string | Y* | Environment variable containing service account JSON |
api_key | string | Y* | API key for authentication (V1 only) |
api_key_secret | string | Y* | Environment variable containing API key (V1 only) |
* Required field depends on selected authentication method
Unstructured Log Configuration
| Field | Type | Required | Description |
|---|---|---|---|
default_log_type | string | Y* | Default log type name |
log_text_field | string | N | Field name to use as log text. If not specified, entire JSON is used |
namespace | string | N | SecOps namespace for log organization |
custom_log_types | array | N | Custom log type definitions |
custom_log_types[].log_type | string | Y | Log type name |
custom_log_types[].description | string | N | Log type description |
* default_log_type required when send_events_as: unstructured
Labels
| Field | Type | Required | Description |
|---|---|---|---|
labels | array | N | Custom labels to attach to events |
labels[].key | string | Y | Label key |
labels[].value | string | Y | Label value |
Batch Configuration
| Field | Type | Required | Description |
|---|---|---|---|
batch_size | integer | N | Maximum events per batch. Default: 1000 |
timeout | integer | N | HTTP request timeout in seconds. Default: 30 |