- 0.54.0 (latest)
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.6
- 0.5.13
public abstract static class SecurityCenterSettingsServiceGrpc.SecurityCenterSettingsServiceImplBase implements BindableService
API Overview
The SecurityCenterSettingsService is a sub-api of
securitycenter.googleapis.com
. The service provides methods to manage
Security Center Settings, and Component Settings for GCP organizations,
folders, projects, and clusters.
Inheritance
java.lang.Object > SecurityCenterSettingsServiceGrpc.SecurityCenterSettingsServiceImplBaseImplements
io.grpc.BindableServiceConstructors
SecurityCenterSettingsServiceImplBase()
public SecurityCenterSettingsServiceImplBase()
Methods
batchCalculateEffectiveSettings(BatchCalculateEffectiveSettingsRequest request, StreamObserver<BatchCalculateEffectiveSettingsResponse> responseObserver)
public void batchCalculateEffectiveSettings(BatchCalculateEffectiveSettingsRequest request, StreamObserver<BatchCalculateEffectiveSettingsResponse> responseObserver)
Gets a list of effective settings.
Name | Description |
request | BatchCalculateEffectiveSettingsRequest |
responseObserver | io.grpc.stub.StreamObserver<BatchCalculateEffectiveSettingsResponse> |
batchGetSettings(BatchGetSettingsRequest request, StreamObserver<BatchGetSettingsResponse> responseObserver)
public void batchGetSettings(BatchGetSettingsRequest request, StreamObserver<BatchGetSettingsResponse> responseObserver)
Gets a list of settings.
Name | Description |
request | BatchGetSettingsRequest |
responseObserver | io.grpc.stub.StreamObserver<BatchGetSettingsResponse> |
bindService()
public final ServerServiceDefinition bindService()
Type | Description |
io.grpc.ServerServiceDefinition |
calculateEffectiveComponentSettings(CalculateEffectiveComponentSettingsRequest request, StreamObserver<ComponentSettings> responseObserver)
public void calculateEffectiveComponentSettings(CalculateEffectiveComponentSettingsRequest request, StreamObserver<ComponentSettings> responseObserver)
Gets the Effective Component Settings.
Name | Description |
request | CalculateEffectiveComponentSettingsRequest |
responseObserver | io.grpc.stub.StreamObserver<ComponentSettings> |
calculateEffectiveSettings(CalculateEffectiveSettingsRequest request, StreamObserver<Settings> responseObserver)
public void calculateEffectiveSettings(CalculateEffectiveSettingsRequest request, StreamObserver<Settings> responseObserver)
CalculateEffectiveSettings looks up all of the Security Center Settings resources in the GCP resource hierarchy, and calculates the effective settings on that resource by applying the following rules:
- Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings).
- Product defaults can be overridden at org, folder, project, and cluster levels.
- Detectors will be filtered out if they belong to a billing tier the customer has not configured.
Name | Description |
request | CalculateEffectiveSettingsRequest |
responseObserver | io.grpc.stub.StreamObserver<Settings> |
getComponentSettings(GetComponentSettingsRequest request, StreamObserver<ComponentSettings> responseObserver)
public void getComponentSettings(GetComponentSettingsRequest request, StreamObserver<ComponentSettings> responseObserver)
Gets the Component Settings.
Name | Description |
request | GetComponentSettingsRequest |
responseObserver | io.grpc.stub.StreamObserver<ComponentSettings> |
getServiceAccount(GetServiceAccountRequest request, StreamObserver<ServiceAccount> responseObserver)
public void getServiceAccount(GetServiceAccountRequest request, StreamObserver<ServiceAccount> responseObserver)
Retrieves the organizations service account, if it exists, otherwise it creates the organization service account. This API is idempotent and will only create a service account once. On subsequent calls it will return the previously created service account. SHA, SCC and CTD Infra Automation will use this SA. This SA will not have any permissions when created. The UI will provision this via IAM or the user will using their own internal process. This API only creates SAs on the organization. Folders are not supported and projects will use per-project SAs associated with APIs enabled on a project. This API will be called by the UX onboarding workflow.
Name | Description |
request | GetServiceAccountRequest |
responseObserver | io.grpc.stub.StreamObserver<ServiceAccount> |
getSettings(GetSettingsRequest request, StreamObserver<Settings> responseObserver)
public void getSettings(GetSettingsRequest request, StreamObserver<Settings> responseObserver)
Gets the Settings.
Name | Description |
request | GetSettingsRequest |
responseObserver | io.grpc.stub.StreamObserver<Settings> |
listComponents(ListComponentsRequest request, StreamObserver<ListComponentsResponse> responseObserver)
public void listComponents(ListComponentsRequest request, StreamObserver<ListComponentsResponse> responseObserver)
Retrieves an unordered list of available SCC components.
Name | Description |
request | ListComponentsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListComponentsResponse> |
listDetectors(ListDetectorsRequest request, StreamObserver<ListDetectorsResponse> responseObserver)
public void listDetectors(ListDetectorsRequest request, StreamObserver<ListDetectorsResponse> responseObserver)
Retrieves an unordered list of available detectors.
Name | Description |
request | ListDetectorsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListDetectorsResponse> |
resetComponentSettings(ResetComponentSettingsRequest request, StreamObserver<Empty> responseObserver)
public void resetComponentSettings(ResetComponentSettingsRequest request, StreamObserver<Empty> responseObserver)
Reset the organization, folder or project's component settings and return the settings to the default. Settings are present at the organization, folder and project levels. Using Reset for a folder or project will remove the override that was set and result in the organization-level settings being used.
Name | Description |
request | ResetComponentSettingsRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
resetSettings(ResetSettingsRequest request, StreamObserver<Empty> responseObserver)
public void resetSettings(ResetSettingsRequest request, StreamObserver<Empty> responseObserver)
Reset the organization, folder or project's settings and return the settings of just that resource to the default. Settings are present at the organization, folder, project, and cluster levels. Using Reset on a sub-organization level will remove that resource's override and result in the parent's settings being used (eg: if Reset on a cluster, project settings will be used). Using Reset on organization will remove the override that was set and result in default settings being used.
Name | Description |
request | ResetSettingsRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
updateComponentSettings(UpdateComponentSettingsRequest request, StreamObserver<ComponentSettings> responseObserver)
public void updateComponentSettings(UpdateComponentSettingsRequest request, StreamObserver<ComponentSettings> responseObserver)
Updates the Component Settings.
Name | Description |
request | UpdateComponentSettingsRequest |
responseObserver | io.grpc.stub.StreamObserver<ComponentSettings> |
updateSettings(UpdateSettingsRequest request, StreamObserver<Settings> responseObserver)
public void updateSettings(UpdateSettingsRequest request, StreamObserver<Settings> responseObserver)
Updates the Settings.
Name | Description |
request | UpdateSettingsRequest |
responseObserver | io.grpc.stub.StreamObserver<Settings> |