- 2.63.0 (latest)
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static interface SecurityCenterGrpc.AsyncService
V1 APIs for Security Center service.
Methods
bulkMuteFindings(BulkMuteFindingsRequest request, StreamObserver<Operation> responseObserver)
public default void bulkMuteFindings(BulkMuteFindingsRequest request, StreamObserver<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.
Parameters | |
---|---|
Name | Description |
request | BulkMuteFindingsRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
createBigQueryExport(CreateBigQueryExportRequest request, StreamObserver<BigQueryExport> responseObserver)
public default void createBigQueryExport(CreateBigQueryExportRequest request, StreamObserver<BigQueryExport> responseObserver)
Creates a BigQuery export.
Parameters | |
---|---|
Name | Description |
request | CreateBigQueryExportRequest |
responseObserver | io.grpc.stub.StreamObserver<BigQueryExport> |
createFinding(CreateFindingRequest request, StreamObserver<Finding> responseObserver)
public default void createFinding(CreateFindingRequest request, StreamObserver<Finding> responseObserver)
Creates a finding. The corresponding source must exist for finding creation to succeed.
Parameters | |
---|---|
Name | Description |
request | CreateFindingRequest |
responseObserver | io.grpc.stub.StreamObserver<Finding> |
createMuteConfig(CreateMuteConfigRequest request, StreamObserver<MuteConfig> responseObserver)
public default void createMuteConfig(CreateMuteConfigRequest request, StreamObserver<MuteConfig> responseObserver)
Creates a mute config.
Parameters | |
---|---|
Name | Description |
request | CreateMuteConfigRequest |
responseObserver | io.grpc.stub.StreamObserver<MuteConfig> |
createNotificationConfig(CreateNotificationConfigRequest request, StreamObserver<NotificationConfig> responseObserver)
public default void createNotificationConfig(CreateNotificationConfigRequest request, StreamObserver<NotificationConfig> responseObserver)
Creates a notification config.
Parameters | |
---|---|
Name | Description |
request | CreateNotificationConfigRequest |
responseObserver | io.grpc.stub.StreamObserver<NotificationConfig> |
createSecurityHealthAnalyticsCustomModule(CreateSecurityHealthAnalyticsCustomModuleRequest request, StreamObserver<SecurityHealthAnalyticsCustomModule> responseObserver)
public default void createSecurityHealthAnalyticsCustomModule(CreateSecurityHealthAnalyticsCustomModuleRequest request, StreamObserver<SecurityHealthAnalyticsCustomModule> responseObserver)
Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants of the given parent. These modules are enabled by default.
Parameters | |
---|---|
Name | Description |
request | CreateSecurityHealthAnalyticsCustomModuleRequest |
responseObserver | io.grpc.stub.StreamObserver<SecurityHealthAnalyticsCustomModule> |
createSource(CreateSourceRequest request, StreamObserver<Source> responseObserver)
public default void createSource(CreateSourceRequest request, StreamObserver<Source> responseObserver)
Creates a source.
Parameters | |
---|---|
Name | Description |
request | CreateSourceRequest |
responseObserver | io.grpc.stub.StreamObserver<Source> |
deleteBigQueryExport(DeleteBigQueryExportRequest request, StreamObserver<Empty> responseObserver)
public default void deleteBigQueryExport(DeleteBigQueryExportRequest request, StreamObserver<Empty> responseObserver)
Deletes an existing BigQuery export.
Parameters | |
---|---|
Name | Description |
request | DeleteBigQueryExportRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
deleteMuteConfig(DeleteMuteConfigRequest request, StreamObserver<Empty> responseObserver)
public default void deleteMuteConfig(DeleteMuteConfigRequest request, StreamObserver<Empty> responseObserver)
Deletes an existing mute config.
Parameters | |
---|---|
Name | Description |
request | DeleteMuteConfigRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
deleteNotificationConfig(DeleteNotificationConfigRequest request, StreamObserver<Empty> responseObserver)
public default void deleteNotificationConfig(DeleteNotificationConfigRequest request, StreamObserver<Empty> responseObserver)
Deletes a notification config.
Parameters | |
---|---|
Name | Description |
request | DeleteNotificationConfigRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
deleteSecurityHealthAnalyticsCustomModule(DeleteSecurityHealthAnalyticsCustomModuleRequest request, StreamObserver<Empty> responseObserver)
public default void deleteSecurityHealthAnalyticsCustomModule(DeleteSecurityHealthAnalyticsCustomModuleRequest request, StreamObserver<Empty> responseObserver)
Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the CRM hierarchy. This method is only supported for resident custom modules.
Parameters | |
---|---|
Name | Description |
request | DeleteSecurityHealthAnalyticsCustomModuleRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
getBigQueryExport(GetBigQueryExportRequest request, StreamObserver<BigQueryExport> responseObserver)
public default void getBigQueryExport(GetBigQueryExportRequest request, StreamObserver<BigQueryExport> responseObserver)
Gets a BigQuery export.
Parameters | |
---|---|
Name | Description |
request | GetBigQueryExportRequest |
responseObserver | io.grpc.stub.StreamObserver<BigQueryExport> |
getEffectiveSecurityHealthAnalyticsCustomModule(GetEffectiveSecurityHealthAnalyticsCustomModuleRequest request, StreamObserver<EffectiveSecurityHealthAnalyticsCustomModule> responseObserver)
public default void getEffectiveSecurityHealthAnalyticsCustomModule(GetEffectiveSecurityHealthAnalyticsCustomModuleRequest request, StreamObserver<EffectiveSecurityHealthAnalyticsCustomModule> responseObserver)
Retrieves an EffectiveSecurityHealthAnalyticsCustomModule.
Parameters | |
---|---|
Name | Description |
request | GetEffectiveSecurityHealthAnalyticsCustomModuleRequest |
responseObserver | io.grpc.stub.StreamObserver<EffectiveSecurityHealthAnalyticsCustomModule> |
getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
public default void getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
Gets the access control policy on the specified Source.
Parameters | |
---|---|
Name | Description |
request | com.google.iam.v1.GetIamPolicyRequest |
responseObserver | io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> |
getMuteConfig(GetMuteConfigRequest request, StreamObserver<MuteConfig> responseObserver)
public default void getMuteConfig(GetMuteConfigRequest request, StreamObserver<MuteConfig> responseObserver)
Gets a mute config.
Parameters | |
---|---|
Name | Description |
request | GetMuteConfigRequest |
responseObserver | io.grpc.stub.StreamObserver<MuteConfig> |
getNotificationConfig(GetNotificationConfigRequest request, StreamObserver<NotificationConfig> responseObserver)
public default void getNotificationConfig(GetNotificationConfigRequest request, StreamObserver<NotificationConfig> responseObserver)
Gets a notification config.
Parameters | |
---|---|
Name | Description |
request | GetNotificationConfigRequest |
responseObserver | io.grpc.stub.StreamObserver<NotificationConfig> |
getOrganizationSettings(GetOrganizationSettingsRequest request, StreamObserver<OrganizationSettings> responseObserver)
public default void getOrganizationSettings(GetOrganizationSettingsRequest request, StreamObserver<OrganizationSettings> responseObserver)
Gets the settings for an organization.
Parameters | |
---|---|
Name | Description |
request | GetOrganizationSettingsRequest |
responseObserver | io.grpc.stub.StreamObserver<OrganizationSettings> |
getSecurityHealthAnalyticsCustomModule(GetSecurityHealthAnalyticsCustomModuleRequest request, StreamObserver<SecurityHealthAnalyticsCustomModule> responseObserver)
public default void getSecurityHealthAnalyticsCustomModule(GetSecurityHealthAnalyticsCustomModuleRequest request, StreamObserver<SecurityHealthAnalyticsCustomModule> responseObserver)
Retrieves a SecurityHealthAnalyticsCustomModule.
Parameters | |
---|---|
Name | Description |
request | GetSecurityHealthAnalyticsCustomModuleRequest |
responseObserver | io.grpc.stub.StreamObserver<SecurityHealthAnalyticsCustomModule> |
getSource(GetSourceRequest request, StreamObserver<Source> responseObserver)
public default void getSource(GetSourceRequest request, StreamObserver<Source> responseObserver)
Gets a source.
Parameters | |
---|---|
Name | Description |
request | GetSourceRequest |
responseObserver | io.grpc.stub.StreamObserver<Source> |
groupAssets(GroupAssetsRequest request, StreamObserver<GroupAssetsResponse> responseObserver)
public default void groupAssets(GroupAssetsRequest request, StreamObserver<GroupAssetsResponse> responseObserver)
Filters an organization's assets and groups them by their specified properties.
Parameters | |
---|---|
Name | Description |
request | GroupAssetsRequest |
responseObserver | io.grpc.stub.StreamObserver<GroupAssetsResponse> |
groupFindings(GroupFindingsRequest request, StreamObserver<GroupFindingsResponse> responseObserver)
public default void groupFindings(GroupFindingsRequest request, 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
Parameters | |
---|---|
Name | Description |
request | GroupFindingsRequest |
responseObserver | io.grpc.stub.StreamObserver<GroupFindingsResponse> |
listAssets(ListAssetsRequest request, StreamObserver<ListAssetsResponse> responseObserver)
public default void listAssets(ListAssetsRequest request, StreamObserver<ListAssetsResponse> responseObserver)
Lists an organization's assets.
Parameters | |
---|---|
Name | Description |
request | ListAssetsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListAssetsResponse> |
listBigQueryExports(ListBigQueryExportsRequest request, StreamObserver<ListBigQueryExportsResponse> responseObserver)
public default void listBigQueryExports(ListBigQueryExportsRequest request, 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.
Parameters | |
---|---|
Name | Description |
request | ListBigQueryExportsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListBigQueryExportsResponse> |
listDescendantSecurityHealthAnalyticsCustomModules(ListDescendantSecurityHealthAnalyticsCustomModulesRequest request, StreamObserver<ListDescendantSecurityHealthAnalyticsCustomModulesResponse> responseObserver)
public default void listDescendantSecurityHealthAnalyticsCustomModules(ListDescendantSecurityHealthAnalyticsCustomModulesRequest request, StreamObserver<ListDescendantSecurityHealthAnalyticsCustomModulesResponse> responseObserver)
Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent’s CRM descendants.
Parameters | |
---|---|
Name | Description |
request | ListDescendantSecurityHealthAnalyticsCustomModulesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListDescendantSecurityHealthAnalyticsCustomModulesResponse> |
listEffectiveSecurityHealthAnalyticsCustomModules(ListEffectiveSecurityHealthAnalyticsCustomModulesRequest request, StreamObserver<ListEffectiveSecurityHealthAnalyticsCustomModulesResponse> responseObserver)
public default void listEffectiveSecurityHealthAnalyticsCustomModules(ListEffectiveSecurityHealthAnalyticsCustomModulesRequest request, StreamObserver<ListEffectiveSecurityHealthAnalyticsCustomModulesResponse> responseObserver)
Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.
Parameters | |
---|---|
Name | Description |
request | ListEffectiveSecurityHealthAnalyticsCustomModulesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListEffectiveSecurityHealthAnalyticsCustomModulesResponse> |
listFindings(ListFindingsRequest request, StreamObserver<ListFindingsResponse> responseObserver)
public default void listFindings(ListFindingsRequest request, 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
Parameters | |
---|---|
Name | Description |
request | ListFindingsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListFindingsResponse> |
listMuteConfigs(ListMuteConfigsRequest request, StreamObserver<ListMuteConfigsResponse> responseObserver)
public default void listMuteConfigs(ListMuteConfigsRequest request, StreamObserver<ListMuteConfigsResponse> responseObserver)
Lists mute configs.
Parameters | |
---|---|
Name | Description |
request | ListMuteConfigsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListMuteConfigsResponse> |
listNotificationConfigs(ListNotificationConfigsRequest request, StreamObserver<ListNotificationConfigsResponse> responseObserver)
public default void listNotificationConfigs(ListNotificationConfigsRequest request, StreamObserver<ListNotificationConfigsResponse> responseObserver)
Lists notification configs.
Parameters | |
---|---|
Name | Description |
request | ListNotificationConfigsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListNotificationConfigsResponse> |
listSecurityHealthAnalyticsCustomModules(ListSecurityHealthAnalyticsCustomModulesRequest request, StreamObserver<ListSecurityHealthAnalyticsCustomModulesResponse> responseObserver)
public default void listSecurityHealthAnalyticsCustomModules(ListSecurityHealthAnalyticsCustomModulesRequest request, StreamObserver<ListSecurityHealthAnalyticsCustomModulesResponse> responseObserver)
Returns a list of all SecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.
Parameters | |
---|---|
Name | Description |
request | ListSecurityHealthAnalyticsCustomModulesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListSecurityHealthAnalyticsCustomModulesResponse> |
listSources(ListSourcesRequest request, StreamObserver<ListSourcesResponse> responseObserver)
public default void listSources(ListSourcesRequest request, StreamObserver<ListSourcesResponse> responseObserver)
Lists all sources belonging to an organization.
Parameters | |
---|---|
Name | Description |
request | ListSourcesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListSourcesResponse> |
runAssetDiscovery(RunAssetDiscoveryRequest request, StreamObserver<Operation> responseObserver)
public default void runAssetDiscovery(RunAssetDiscoveryRequest request, StreamObserver<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.
Parameters | |
---|---|
Name | Description |
request | RunAssetDiscoveryRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
setFindingState(SetFindingStateRequest request, StreamObserver<Finding> responseObserver)
public default void setFindingState(SetFindingStateRequest request, StreamObserver<Finding> responseObserver)
Updates the state of a finding.
Parameters | |
---|---|
Name | Description |
request | SetFindingStateRequest |
responseObserver | io.grpc.stub.StreamObserver<Finding> |
setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
public default void setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
Sets the access control policy on the specified Source.
Parameters | |
---|---|
Name | Description |
request | com.google.iam.v1.SetIamPolicyRequest |
responseObserver | io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> |
setMute(SetMuteRequest request, StreamObserver<Finding> responseObserver)
public default void setMute(SetMuteRequest request, StreamObserver<Finding> responseObserver)
Updates the mute state of a finding.
Parameters | |
---|---|
Name | Description |
request | SetMuteRequest |
responseObserver | io.grpc.stub.StreamObserver<Finding> |
simulateSecurityHealthAnalyticsCustomModule(SimulateSecurityHealthAnalyticsCustomModuleRequest request, StreamObserver<SimulateSecurityHealthAnalyticsCustomModuleResponse> responseObserver)
public default void simulateSecurityHealthAnalyticsCustomModule(SimulateSecurityHealthAnalyticsCustomModuleRequest request, StreamObserver<SimulateSecurityHealthAnalyticsCustomModuleResponse> responseObserver)
Simulates a given SecurityHealthAnalyticsCustomModule and Resource.
Parameters | |
---|---|
Name | Description |
request | SimulateSecurityHealthAnalyticsCustomModuleRequest |
responseObserver | io.grpc.stub.StreamObserver<SimulateSecurityHealthAnalyticsCustomModuleResponse> |
testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)
public default void testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)
Returns the permissions that a caller has on the specified source.
Parameters | |
---|---|
Name | Description |
request | com.google.iam.v1.TestIamPermissionsRequest |
responseObserver | io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> |
updateBigQueryExport(UpdateBigQueryExportRequest request, StreamObserver<BigQueryExport> responseObserver)
public default void updateBigQueryExport(UpdateBigQueryExportRequest request, StreamObserver<BigQueryExport> responseObserver)
Updates a BigQuery export.
Parameters | |
---|---|
Name | Description |
request | UpdateBigQueryExportRequest |
responseObserver | io.grpc.stub.StreamObserver<BigQueryExport> |
updateExternalSystem(UpdateExternalSystemRequest request, StreamObserver<ExternalSystem> responseObserver)
public default void updateExternalSystem(UpdateExternalSystemRequest request, StreamObserver<ExternalSystem> responseObserver)
Updates external system. This is for a given finding.
Parameters | |
---|---|
Name | Description |
request | UpdateExternalSystemRequest |
responseObserver | io.grpc.stub.StreamObserver<ExternalSystem> |
updateFinding(UpdateFindingRequest request, StreamObserver<Finding> responseObserver)
public default void updateFinding(UpdateFindingRequest request, StreamObserver<Finding> responseObserver)
Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.
Parameters | |
---|---|
Name | Description |
request | UpdateFindingRequest |
responseObserver | io.grpc.stub.StreamObserver<Finding> |
updateMuteConfig(UpdateMuteConfigRequest request, StreamObserver<MuteConfig> responseObserver)
public default void updateMuteConfig(UpdateMuteConfigRequest request, StreamObserver<MuteConfig> responseObserver)
Updates a mute config.
Parameters | |
---|---|
Name | Description |
request | UpdateMuteConfigRequest |
responseObserver | io.grpc.stub.StreamObserver<MuteConfig> |
updateNotificationConfig(UpdateNotificationConfigRequest request, StreamObserver<NotificationConfig> responseObserver)
public default void updateNotificationConfig(UpdateNotificationConfigRequest request, StreamObserver<NotificationConfig> responseObserver)
Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter
Parameters | |
---|---|
Name | Description |
request | UpdateNotificationConfigRequest |
responseObserver | io.grpc.stub.StreamObserver<NotificationConfig> |
updateOrganizationSettings(UpdateOrganizationSettingsRequest request, StreamObserver<OrganizationSettings> responseObserver)
public default void updateOrganizationSettings(UpdateOrganizationSettingsRequest request, StreamObserver<OrganizationSettings> responseObserver)
Updates an organization's settings.
Parameters | |
---|---|
Name | Description |
request | UpdateOrganizationSettingsRequest |
responseObserver | io.grpc.stub.StreamObserver<OrganizationSettings> |
updateSecurityHealthAnalyticsCustomModule(UpdateSecurityHealthAnalyticsCustomModuleRequest request, StreamObserver<SecurityHealthAnalyticsCustomModule> responseObserver)
public default void updateSecurityHealthAnalyticsCustomModule(UpdateSecurityHealthAnalyticsCustomModuleRequest request, StreamObserver<SecurityHealthAnalyticsCustomModule> responseObserver)
Updates the SecurityHealthAnalyticsCustomModule under the given name based on the given update mask. Updating the enablement state is supported on both resident and inherited modules (though resident modules cannot have an enablement state of "inherited"). Updating the display name and custom config of a module is supported on resident modules only.
Parameters | |
---|---|
Name | Description |
request | UpdateSecurityHealthAnalyticsCustomModuleRequest |
responseObserver | io.grpc.stub.StreamObserver<SecurityHealthAnalyticsCustomModule> |
updateSecurityMarks(UpdateSecurityMarksRequest request, StreamObserver<SecurityMarks> responseObserver)
public default void updateSecurityMarks(UpdateSecurityMarksRequest request, StreamObserver<SecurityMarks> responseObserver)
Updates security marks.
Parameters | |
---|---|
Name | Description |
request | UpdateSecurityMarksRequest |
responseObserver | io.grpc.stub.StreamObserver<SecurityMarks> |
updateSource(UpdateSourceRequest request, StreamObserver<Source> responseObserver)
public default void updateSource(UpdateSourceRequest request, StreamObserver<Source> responseObserver)
Updates a source.
Parameters | |
---|---|
Name | Description |
request | UpdateSourceRequest |
responseObserver | io.grpc.stub.StreamObserver<Source> |