public abstract static class SecurityCenterGrpc.SecurityCenterImplBase extends Object implements io.grpc.BindableService
V1 APIs for Security Center service.
| Constructor and Description |
|---|
SecurityCenterImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
bulkMuteFindings(BulkMuteFindingsRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Kicks off an LRO to bulk mute findings for a parent based on a filter.
|
void |
createBigQueryExport(CreateBigQueryExportRequest request,
io.grpc.stub.StreamObserver<BigQueryExport> responseObserver)
Creates a big query export.
|
void |
createFinding(CreateFindingRequest request,
io.grpc.stub.StreamObserver<Finding> responseObserver)
Creates a finding.
|
void |
createMuteConfig(CreateMuteConfigRequest request,
io.grpc.stub.StreamObserver<MuteConfig> responseObserver)
Creates a mute config.
|
void |
createNotificationConfig(CreateNotificationConfigRequest request,
io.grpc.stub.StreamObserver<NotificationConfig> responseObserver)
Creates a notification config.
|
void |
createSource(CreateSourceRequest request,
io.grpc.stub.StreamObserver<Source> responseObserver)
Creates a source.
|
void |
deleteBigQueryExport(DeleteBigQueryExportRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes an existing big query export.
|
void |
deleteMuteConfig(DeleteMuteConfigRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes an existing mute config.
|
void |
deleteNotificationConfig(DeleteNotificationConfigRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a notification config.
|
void |
getBigQueryExport(GetBigQueryExportRequest request,
io.grpc.stub.StreamObserver<BigQueryExport> responseObserver)
Gets a big query export.
|
void |
getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Gets the access control policy on the specified Source.
|
void |
getMuteConfig(GetMuteConfigRequest request,
io.grpc.stub.StreamObserver<MuteConfig> responseObserver)
Gets a mute config.
|
void |
getNotificationConfig(GetNotificationConfigRequest request,
io.grpc.stub.StreamObserver<NotificationConfig> responseObserver)
Gets a notification config.
|
void |
getOrganizationSettings(GetOrganizationSettingsRequest request,
io.grpc.stub.StreamObserver<OrganizationSettings> responseObserver)
Gets the settings for an organization.
|
void |
getSource(GetSourceRequest request,
io.grpc.stub.StreamObserver<Source> responseObserver)
Gets a source.
|
void |
groupAssets(GroupAssetsRequest request,
io.grpc.stub.StreamObserver<GroupAssetsResponse> responseObserver)
Filters an organization's assets and groups them by their specified
properties.
|
void |
groupFindings(GroupFindingsRequest request,
io.grpc.stub.StreamObserver<GroupFindingsResponse> responseObserver)
Filters an organization or source's findings and groups them by their
specified properties.
|
void |
listAssets(ListAssetsRequest request,
io.grpc.stub.StreamObserver<ListAssetsResponse> responseObserver)
Lists an organization's assets.
|
void |
listBigQueryExports(ListBigQueryExportsRequest request,
io.grpc.stub.StreamObserver<ListBigQueryExportsResponse> responseObserver)
Lists BigQuery exports.
|
void |
listFindings(ListFindingsRequest request,
io.grpc.stub.StreamObserver<ListFindingsResponse> responseObserver)
Lists an organization or source's findings.
|
void |
listMuteConfigs(ListMuteConfigsRequest request,
io.grpc.stub.StreamObserver<ListMuteConfigsResponse> responseObserver)
Lists mute configs.
|
void |
listNotificationConfigs(ListNotificationConfigsRequest request,
io.grpc.stub.StreamObserver<ListNotificationConfigsResponse> responseObserver)
Lists notification configs.
|
void |
listSources(ListSourcesRequest request,
io.grpc.stub.StreamObserver<ListSourcesResponse> responseObserver)
Lists all sources belonging to an organization.
|
void |
runAssetDiscovery(RunAssetDiscoveryRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Runs asset discovery.
|
void |
setFindingState(SetFindingStateRequest request,
io.grpc.stub.StreamObserver<Finding> responseObserver)
Updates the state of a finding.
|
void |
setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Sets the access control policy on the specified Source.
|
void |
setMute(SetMuteRequest request,
io.grpc.stub.StreamObserver<Finding> responseObserver)
Updates the mute state of a finding.
|
void |
testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> responseObserver)
Returns the permissions that a caller has on the specified source.
|
void |
updateBigQueryExport(UpdateBigQueryExportRequest request,
io.grpc.stub.StreamObserver<BigQueryExport> responseObserver)
Updates a BigQuery export.
|
void |
updateExternalSystem(UpdateExternalSystemRequest request,
io.grpc.stub.StreamObserver<ExternalSystem> responseObserver)
Updates external system.
|
void |
updateFinding(UpdateFindingRequest request,
io.grpc.stub.StreamObserver<Finding> responseObserver)
Creates or updates a finding.
|
void |
updateMuteConfig(UpdateMuteConfigRequest request,
io.grpc.stub.StreamObserver<MuteConfig> responseObserver)
Updates a mute config.
|
void |
updateNotificationConfig(UpdateNotificationConfigRequest request,
io.grpc.stub.StreamObserver<NotificationConfig> responseObserver)
Updates a notification config.
|
void |
updateOrganizationSettings(UpdateOrganizationSettingsRequest request,
io.grpc.stub.StreamObserver<OrganizationSettings> responseObserver)
Updates an organization's settings.
|
void |
updateSecurityMarks(UpdateSecurityMarksRequest request,
io.grpc.stub.StreamObserver<SecurityMarks> responseObserver)
Updates security marks.
|
void |
updateSource(UpdateSourceRequest request,
io.grpc.stub.StreamObserver<Source> responseObserver)
Updates a source.
|
public void bulkMuteFindings(BulkMuteFindingsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Kicks off an LRO to bulk mute findings for a parent based on a filter. The parent can be either an organization, folder or project. The findings matched by the filter will be muted after the LRO is done.
public void createSource(CreateSourceRequest request, io.grpc.stub.StreamObserver<Source> responseObserver)
Creates a source.
public void createFinding(CreateFindingRequest request, io.grpc.stub.StreamObserver<Finding> responseObserver)
Creates a finding. The corresponding source must exist for finding creation to succeed.
public void createMuteConfig(CreateMuteConfigRequest request, io.grpc.stub.StreamObserver<MuteConfig> responseObserver)
Creates a mute config.
public void createNotificationConfig(CreateNotificationConfigRequest request, io.grpc.stub.StreamObserver<NotificationConfig> responseObserver)
Creates a notification config.
public void deleteMuteConfig(DeleteMuteConfigRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes an existing mute config.
public void deleteNotificationConfig(DeleteNotificationConfigRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a notification config.
public void getBigQueryExport(GetBigQueryExportRequest request, io.grpc.stub.StreamObserver<BigQueryExport> responseObserver)
Gets a big query export.
public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Gets the access control policy on the specified Source.
public void getMuteConfig(GetMuteConfigRequest request, io.grpc.stub.StreamObserver<MuteConfig> responseObserver)
Gets a mute config.
public void getNotificationConfig(GetNotificationConfigRequest request, io.grpc.stub.StreamObserver<NotificationConfig> responseObserver)
Gets a notification config.
public void getOrganizationSettings(GetOrganizationSettingsRequest request, io.grpc.stub.StreamObserver<OrganizationSettings> responseObserver)
Gets the settings for an organization.
public void getSource(GetSourceRequest request, io.grpc.stub.StreamObserver<Source> responseObserver)
Gets a source.
public void groupAssets(GroupAssetsRequest request, io.grpc.stub.StreamObserver<GroupAssetsResponse> responseObserver)
Filters an organization's assets and groups them by their specified properties.
public void groupFindings(GroupFindingsRequest request, io.grpc.stub.StreamObserver<GroupFindingsResponse> responseObserver)
Filters an organization or source's findings and groups them by their
specified properties.
To group across all sources provide a `-` as the source id.
Example: /v1/organizations/{organization_id}/sources/-/findings,
/v1/folders/{folder_id}/sources/-/findings,
/v1/projects/{project_id}/sources/-/findings
public void listAssets(ListAssetsRequest request, io.grpc.stub.StreamObserver<ListAssetsResponse> responseObserver)
Lists an organization's assets.
public void listFindings(ListFindingsRequest request, io.grpc.stub.StreamObserver<ListFindingsResponse> responseObserver)
Lists an organization or source's findings.
To list across all sources provide a `-` as the source id.
Example: /v1/organizations/{organization_id}/sources/-/findings
public void listMuteConfigs(ListMuteConfigsRequest request, io.grpc.stub.StreamObserver<ListMuteConfigsResponse> responseObserver)
Lists mute configs.
public void listNotificationConfigs(ListNotificationConfigsRequest request, io.grpc.stub.StreamObserver<ListNotificationConfigsResponse> responseObserver)
Lists notification configs.
public void listSources(ListSourcesRequest request, io.grpc.stub.StreamObserver<ListSourcesResponse> responseObserver)
Lists all sources belonging to an organization.
public void runAssetDiscovery(RunAssetDiscoveryRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Runs asset discovery. The discovery is tracked with a long-running operation. This API can only be called with limited frequency for an organization. If it is called too frequently the caller will receive a TOO_MANY_REQUESTS error.
public void setFindingState(SetFindingStateRequest request, io.grpc.stub.StreamObserver<Finding> responseObserver)
Updates the state of a finding.
public void setMute(SetMuteRequest request, io.grpc.stub.StreamObserver<Finding> responseObserver)
Updates the mute state of a finding.
public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Sets the access control policy on the specified Source.
public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> responseObserver)
Returns the permissions that a caller has on the specified source.
public void updateExternalSystem(UpdateExternalSystemRequest request, io.grpc.stub.StreamObserver<ExternalSystem> responseObserver)
Updates external system. This is for a given finding.
public void updateFinding(UpdateFindingRequest request, io.grpc.stub.StreamObserver<Finding> responseObserver)
Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.
public void updateMuteConfig(UpdateMuteConfigRequest request, io.grpc.stub.StreamObserver<MuteConfig> responseObserver)
Updates a mute config.
public void updateNotificationConfig(UpdateNotificationConfigRequest request, io.grpc.stub.StreamObserver<NotificationConfig> responseObserver)
Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter
public void updateOrganizationSettings(UpdateOrganizationSettingsRequest request, io.grpc.stub.StreamObserver<OrganizationSettings> responseObserver)
Updates an organization's settings.
public void updateSource(UpdateSourceRequest request, io.grpc.stub.StreamObserver<Source> responseObserver)
Updates a source.
public void updateSecurityMarks(UpdateSecurityMarksRequest request, io.grpc.stub.StreamObserver<SecurityMarks> responseObserver)
Updates security marks.
public void createBigQueryExport(CreateBigQueryExportRequest request, io.grpc.stub.StreamObserver<BigQueryExport> responseObserver)
Creates a big query export.
public void deleteBigQueryExport(DeleteBigQueryExportRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes an existing big query export.
public void updateBigQueryExport(UpdateBigQueryExportRequest request, io.grpc.stub.StreamObserver<BigQueryExport> responseObserver)
Updates a BigQuery export.
public void listBigQueryExports(ListBigQueryExportsRequest request, io.grpc.stub.StreamObserver<ListBigQueryExportsResponse> responseObserver)
Lists BigQuery exports. Note that when requesting BigQuery exports at a given level all exports under that level are also returned e.g. if requesting BigQuery exports under a folder, then all BigQuery exports immediately under the folder plus the ones created under the projects within the folder are returned.
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2022 Google LLC. All rights reserved.