Interface SecurityCenterGrpc.AsyncService

All Known Implementing Classes:
SecurityCenterGrpc.SecurityCenterImplBase
Enclosing class:
SecurityCenterGrpc

public static interface SecurityCenterGrpc.AsyncService
 V2 APIs for Security Center service.
 
  • Method Details

    • batchCreateResourceValueConfigs

      default void batchCreateResourceValueConfigs(BatchCreateResourceValueConfigsRequest request, io.grpc.stub.StreamObserver<BatchCreateResourceValueConfigsResponse> responseObserver)
       Creates a ResourceValueConfig for an organization. Maps user's tags to
       difference resource values for use by the attack path simulation.
       
    • bulkMuteFindings

      default void bulkMuteFindings(BulkMuteFindingsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Kicks off an LRO to bulk mute findings for a parent based on a filter. If
       no location is specified, findings are muted in global. The parent
       can be either an organization, folder, or project. The findings matched by
       the filter will be muted after the LRO is done.
       
    • createBigQueryExport

      default void createBigQueryExport(CreateBigQueryExportRequest request, io.grpc.stub.StreamObserver<BigQueryExport> responseObserver)
       Creates a BigQuery export.
       
    • createFinding

      default void createFinding(CreateFindingRequest request, io.grpc.stub.StreamObserver<Finding> responseObserver)
       Creates a finding in a location. The corresponding source must exist for
       finding creation to succeed.
       
    • createMuteConfig

      default void createMuteConfig(CreateMuteConfigRequest request, io.grpc.stub.StreamObserver<MuteConfig> responseObserver)
       Creates a mute config.
       
    • createNotificationConfig

      default void createNotificationConfig(CreateNotificationConfigRequest request, io.grpc.stub.StreamObserver<NotificationConfig> responseObserver)
       Creates a notification config.
       
    • createSource

      default void createSource(CreateSourceRequest request, io.grpc.stub.StreamObserver<Source> responseObserver)
       Creates a source.
       
    • deleteBigQueryExport

      default void deleteBigQueryExport(DeleteBigQueryExportRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Deletes an existing BigQuery export.
       
    • deleteMuteConfig

      default void deleteMuteConfig(DeleteMuteConfigRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Deletes an existing mute config. If no location is specified, default is
       global.
       
    • deleteNotificationConfig

      default void deleteNotificationConfig(DeleteNotificationConfigRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Deletes a notification config.
       
    • deleteResourceValueConfig

      default void deleteResourceValueConfig(DeleteResourceValueConfigRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Deletes a ResourceValueConfig.
       
    • getBigQueryExport

      default void getBigQueryExport(GetBigQueryExportRequest request, io.grpc.stub.StreamObserver<BigQueryExport> responseObserver)
       Gets a BigQuery export.
       
    • getSimulation

      default void getSimulation(GetSimulationRequest request, io.grpc.stub.StreamObserver<Simulation> responseObserver)
       Get the simulation by name or the latest simulation for the given
       organization.
       
    • getValuedResource

      default void getValuedResource(GetValuedResourceRequest request, io.grpc.stub.StreamObserver<ValuedResource> responseObserver)
       Get the valued resource by name
       
    • getIamPolicy

      default 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.
       
    • getMuteConfig

      default void getMuteConfig(GetMuteConfigRequest request, io.grpc.stub.StreamObserver<MuteConfig> responseObserver)
       Gets a mute config. If no location is specified, default is
       global.
       
    • getNotificationConfig

      default void getNotificationConfig(GetNotificationConfigRequest request, io.grpc.stub.StreamObserver<NotificationConfig> responseObserver)
       Gets a notification config.
       
    • getResourceValueConfig

      default void getResourceValueConfig(GetResourceValueConfigRequest request, io.grpc.stub.StreamObserver<ResourceValueConfig> responseObserver)
       Gets a ResourceValueConfig.
       
    • getSource

      default void getSource(GetSourceRequest request, io.grpc.stub.StreamObserver<Source> responseObserver)
       Gets a source.
       
    • groupFindings

      default void groupFindings(GroupFindingsRequest request, io.grpc.stub.StreamObserver<GroupFindingsResponse> responseObserver)
       Filters an organization or source's findings and groups them by their
       specified properties in a location. If no location is specified, findings
       are assumed to be in global
       To group across all sources provide a `-` as the source id.
       The following list shows some examples:
       + `/v2/organizations/{organization_id}/sources/-/findings`
       +
       `/v2/organizations/{organization_id}/sources/-/locations/{location_id}/findings`
       + `/v2/folders/{folder_id}/sources/-/findings`
       + `/v2/folders/{folder_id}/sources/-/locations/{location_id}/findings`
       + `/v2/projects/{project_id}/sources/-/findings`
       + `/v2/projects/{project_id}/sources/-/locations/{location_id}/findings`
       
    • listAttackPaths

      default void listAttackPaths(ListAttackPathsRequest request, io.grpc.stub.StreamObserver<ListAttackPathsResponse> responseObserver)
       Lists the attack paths for a set of simulation results or valued resources
       and filter.
       
    • listBigQueryExports

      default 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.
       
    • listFindings

      default void listFindings(ListFindingsRequest request, io.grpc.stub.StreamObserver<ListFindingsResponse> responseObserver)
       Lists an organization or source's findings.
       To list across all sources for a given location provide a `-` as the source
       id. If no location is specified, finding are assumed to be in global.
       The following list shows some examples:
       + `/v2/organizations/{organization_id}/sources/-/findings`
       +
       `/v2/organizations/{organization_id}/sources/-/locations/{location_id}/findings`
       
    • listMuteConfigs

      default void listMuteConfigs(ListMuteConfigsRequest request, io.grpc.stub.StreamObserver<ListMuteConfigsResponse> responseObserver)
       Lists mute configs. If no location is specified, default is
       global.
       
    • listNotificationConfigs

      default void listNotificationConfigs(ListNotificationConfigsRequest request, io.grpc.stub.StreamObserver<ListNotificationConfigsResponse> responseObserver)
       Lists notification configs.
       
    • listResourceValueConfigs

      default void listResourceValueConfigs(ListResourceValueConfigsRequest request, io.grpc.stub.StreamObserver<ListResourceValueConfigsResponse> responseObserver)
       Lists all ResourceValueConfigs.
       
    • listSources

      default void listSources(ListSourcesRequest request, io.grpc.stub.StreamObserver<ListSourcesResponse> responseObserver)
       Lists all sources belonging to an organization.
       
    • listValuedResources

      default void listValuedResources(ListValuedResourcesRequest request, io.grpc.stub.StreamObserver<ListValuedResourcesResponse> responseObserver)
       Lists the valued resources for a set of simulation results and filter.
       
    • setFindingState

      default void setFindingState(SetFindingStateRequest request, io.grpc.stub.StreamObserver<Finding> responseObserver)
       Updates the state of a finding. If no location is specified, finding is
       assumed to be in global
       
    • setIamPolicy

      default 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.
       
    • setMute

      default void setMute(SetMuteRequest request, io.grpc.stub.StreamObserver<Finding> responseObserver)
       Updates the mute state of a finding. If no location is specified, finding
       is assumed to be in global
       
    • testIamPermissions

      default 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.
       
    • updateBigQueryExport

      default void updateBigQueryExport(UpdateBigQueryExportRequest request, io.grpc.stub.StreamObserver<BigQueryExport> responseObserver)
       Updates a BigQuery export.
       
    • updateExternalSystem

      default void updateExternalSystem(UpdateExternalSystemRequest request, io.grpc.stub.StreamObserver<ExternalSystem> responseObserver)
       Updates external system. This is for a given finding. If no location is
       specified, finding is assumed to be in global
       
    • updateFinding

      default void updateFinding(UpdateFindingRequest request, io.grpc.stub.StreamObserver<Finding> responseObserver)
       Creates or updates a finding. If no location is specified, finding is
       assumed to be in global. The corresponding source must exist for a finding
       creation to succeed.
       
    • updateMuteConfig

      default void updateMuteConfig(UpdateMuteConfigRequest request, io.grpc.stub.StreamObserver<MuteConfig> responseObserver)
       Updates a mute config. If no location is specified, default is
       global.
       
    • updateNotificationConfig

      default 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
       
    • updateResourceValueConfig

      default void updateResourceValueConfig(UpdateResourceValueConfigRequest request, io.grpc.stub.StreamObserver<ResourceValueConfig> responseObserver)
       Updates an existing ResourceValueConfigs with new rules.
       
    • updateSecurityMarks

      default void updateSecurityMarks(UpdateSecurityMarksRequest request, io.grpc.stub.StreamObserver<SecurityMarks> responseObserver)
       Updates security marks. For Finding Security marks, if no location is
       specified, finding is assumed to be in global. Assets Security Marks can
       only be accessed through global endpoint.
       
    • updateSource

      default void updateSource(UpdateSourceRequest request, io.grpc.stub.StreamObserver<Source> responseObserver)
       Updates a source.