GCS 소스(Beta)

개요

GCS Sources API 엔드포인트는 Panther 버전 1.121부터 오픈 베타로 제공되며, 모든 고객이 사용할 수 있습니다. 발견한 버그 보고나 기능 요청은 Panther 지원팀과 공유해 주세요.

이 API 작업을 사용하여 상호 작용하세요 Google Cloud Storage(GCS) 소스 Panther에서.

필수 권한

  • ~에 대해 GET 작업의 경우, API 토큰에는 다음이 있어야 합니다 로그 소스 보기 .

  • ~에 대해 POST, PUT, 그리고 DELETE 작업의 경우, API 토큰에는 다음이 있어야 합니다 로그 소스 관리 .

작업

get gcs source

get
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the GCS source to fetch

Responses
200

OK response.

application/json
credentialsstringOptional

The GCP credentials JSON content (service account key or WIF config). Required on create, optional on update.

credentialsTypestring · enumOptional

The type of credentials being used: service_account or wif (Workload Identity Federation).

Possible values:
gcsBucketstringOptional

The GCS bucket name

integrationIdstringOptional

The id of the GCS source

integrationLabelstringOptional

The integration label (name)

logStreamTypestring · enumOptional

The log stream type. Supported log stream types: Auto, JSON, JsonArray, Lines, XML

Possible values:
projectIdstringOptional

The GCP project ID. Optional for service_account credentials. Required for WIF.

subscriptionIdstringOptional

The GCP Pub/Sub subscription ID used to receive GCS bucket notifications

get
/log-sources/gcs/{id}

put gcs source

put
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the GCS source to update

Body
credentialsstringOptional

The GCP credentials JSON content (service account key or WIF config). Required on create, optional on update.

credentialsTypestring · enumRequired

The type of credentials being used: service_account or wif (Workload Identity Federation).

Possible values:
gcsBucketstringRequired

The GCS bucket name

integrationLabelstringRequired

The integration label (name)

logStreamTypestring · enumRequired

The log stream type. Supported log stream types: Auto, JSON, JsonArray, Lines, XML

Possible values:
projectIdstringOptional

The GCP project ID. Optional for service_account credentials. Required for WIF.

subscriptionIdstringRequired

The GCP Pub/Sub subscription ID used to receive GCS bucket notifications

Responses
200

OK response.

application/json
credentialsstringOptional

The GCP credentials JSON content (service account key or WIF config). Required on create, optional on update.

credentialsTypestring · enumOptional

The type of credentials being used: service_account or wif (Workload Identity Federation).

Possible values:
gcsBucketstringOptional

The GCS bucket name

integrationIdstringOptional

The id of the GCS source

integrationLabelstringOptional

The integration label (name)

logStreamTypestring · enumOptional

The log stream type. Supported log stream types: Auto, JSON, JsonArray, Lines, XML

Possible values:
projectIdstringOptional

The GCP project ID. Optional for service_account credentials. Required for WIF.

subscriptionIdstringOptional

The GCP Pub/Sub subscription ID used to receive GCS bucket notifications

put
/log-sources/gcs/{id}

create gcs source

post
Authorizations
X-API-KeystringRequired
Body
credentialsstringOptional

The GCP credentials JSON content (service account key or WIF config). Required on create, optional on update.

credentialsTypestring · enumRequired

The type of credentials being used: service_account or wif (Workload Identity Federation).

Possible values:
gcsBucketstringRequired

The GCS bucket name

integrationLabelstringRequired

The integration label (name)

logStreamTypestring · enumRequired

The log stream type. Supported log stream types: Auto, JSON, JsonArray, Lines, XML

Possible values:
projectIdstringOptional

The GCP project ID. Optional for service_account credentials. Required for WIF.

subscriptionIdstringRequired

The GCP Pub/Sub subscription ID used to receive GCS bucket notifications

Responses
post
/log-sources/gcs

delete gcs source

delete
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the GCS source to delete

Responses
delete
/log-sources/gcs/{id}

No content

마지막 업데이트

도움이 되었나요?