Method: organizations.getSecurityCenterSettings

Get the SecurityCenterSettings resource.

HTTP request

GET https://securitycenter.googleapis.com/v1beta2/{name=organizations/*/securityCenterSettings}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the SecurityCenterSettings to retrieve. Format: organizations/{organization}/securityCenterSettings

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Resource capturing the settings for Security Center.

JSON representation
{
  "name": string,
  "orgServiceAccount": string,
  "logSinkProject": string
}
Fields
name

string

The resource name of the SecurityCenterSettings. Format: organizations/{organization}/securityCenterSettings

orgServiceAccount

string

The organization level service account to be used for security center components.

logSinkProject

string

The resource name of the project to send logs to. This project must be part of the organization this resource resides in. The format is projects/{project_id}. An empty value disables logging.

This value is only referenced by services that support log sink. Please refer to the documentation for an updated list of compatible services.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.