Interface SecurityCenterSettingsServiceGrpc.AsyncService
-
- All Known Implementing Classes:
SecurityCenterSettingsServiceGrpc.SecurityCenterSettingsServiceImplBase
- Enclosing class:
- SecurityCenterSettingsServiceGrpc
public static interface SecurityCenterSettingsServiceGrpc.AsyncService## 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.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidbatchCalculateEffectiveSettings(BatchCalculateEffectiveSettingsRequest request, io.grpc.stub.StreamObserver<BatchCalculateEffectiveSettingsResponse> responseObserver)Gets a list of effective settings.default voidbatchGetSettings(BatchGetSettingsRequest request, io.grpc.stub.StreamObserver<BatchGetSettingsResponse> responseObserver)Gets a list of settings.default voidcalculateEffectiveComponentSettings(CalculateEffectiveComponentSettingsRequest request, io.grpc.stub.StreamObserver<ComponentSettings> responseObserver)Gets the Effective Component Settings.default voidcalculateEffectiveSettings(CalculateEffectiveSettingsRequest request, io.grpc.stub.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.default voidgetComponentSettings(GetComponentSettingsRequest request, io.grpc.stub.StreamObserver<ComponentSettings> responseObserver)Gets the Component Settings.default voidgetServiceAccount(GetServiceAccountRequest request, io.grpc.stub.StreamObserver<ServiceAccount> responseObserver)Retrieves the organizations service account, if it exists, otherwise it creates the organization service account.default voidgetSettings(GetSettingsRequest request, io.grpc.stub.StreamObserver<Settings> responseObserver)Gets the Settings.default voidlistComponents(ListComponentsRequest request, io.grpc.stub.StreamObserver<ListComponentsResponse> responseObserver)Retrieves an unordered list of available SCC components.default voidlistDetectors(ListDetectorsRequest request, io.grpc.stub.StreamObserver<ListDetectorsResponse> responseObserver)Retrieves an unordered list of available detectors.default voidresetComponentSettings(ResetComponentSettingsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Reset the organization, folder or project's component settings and return the settings to the default.default voidresetSettings(ResetSettingsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Reset the organization, folder or project's settings and return the settings of just that resource to the default.default voidupdateComponentSettings(UpdateComponentSettingsRequest request, io.grpc.stub.StreamObserver<ComponentSettings> responseObserver)Updates the Component Settings.default voidupdateSettings(UpdateSettingsRequest request, io.grpc.stub.StreamObserver<Settings> responseObserver)Updates the Settings.
-
-
-
Method Detail
-
getServiceAccount
default void getServiceAccount(GetServiceAccountRequest request, io.grpc.stub.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.
-
getSettings
default void getSettings(GetSettingsRequest request, io.grpc.stub.StreamObserver<Settings> responseObserver)
Gets the Settings.
-
updateSettings
default void updateSettings(UpdateSettingsRequest request, io.grpc.stub.StreamObserver<Settings> responseObserver)
Updates the Settings.
-
resetSettings
default void resetSettings(ResetSettingsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.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.
-
batchGetSettings
default void batchGetSettings(BatchGetSettingsRequest request, io.grpc.stub.StreamObserver<BatchGetSettingsResponse> responseObserver)
Gets a list of settings.
-
calculateEffectiveSettings
default void calculateEffectiveSettings(CalculateEffectiveSettingsRequest request, io.grpc.stub.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.
-
batchCalculateEffectiveSettings
default void batchCalculateEffectiveSettings(BatchCalculateEffectiveSettingsRequest request, io.grpc.stub.StreamObserver<BatchCalculateEffectiveSettingsResponse> responseObserver)
Gets a list of effective settings.
-
getComponentSettings
default void getComponentSettings(GetComponentSettingsRequest request, io.grpc.stub.StreamObserver<ComponentSettings> responseObserver)
Gets the Component Settings.
-
updateComponentSettings
default void updateComponentSettings(UpdateComponentSettingsRequest request, io.grpc.stub.StreamObserver<ComponentSettings> responseObserver)
Updates the Component Settings.
-
resetComponentSettings
default void resetComponentSettings(ResetComponentSettingsRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.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.
-
calculateEffectiveComponentSettings
default void calculateEffectiveComponentSettings(CalculateEffectiveComponentSettingsRequest request, io.grpc.stub.StreamObserver<ComponentSettings> responseObserver)
Gets the Effective Component Settings.
-
listDetectors
default void listDetectors(ListDetectorsRequest request, io.grpc.stub.StreamObserver<ListDetectorsResponse> responseObserver)
Retrieves an unordered list of available detectors.
-
listComponents
default void listComponents(ListComponentsRequest request, io.grpc.stub.StreamObserver<ListComponentsResponse> responseObserver)
Retrieves an unordered list of available SCC components.
-
-