Interface SecurityCenterGrpc.AsyncService

    • Method Detail

      • bulkMuteFindings

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

        default void createSecurityHealthAnalyticsCustomModule​(CreateSecurityHealthAnalyticsCustomModuleRequest request,
                                                               io.grpc.stub.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.
         
      • createSource

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

        default void createFinding​(CreateFindingRequest request,
                                   io.grpc.stub.StreamObserver<Finding> responseObserver)
         Creates a finding. 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.
         
      • deleteMuteConfig

        default void deleteMuteConfig​(DeleteMuteConfigRequest request,
                                      io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Deletes an existing mute config.
         
      • deleteNotificationConfig

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

        default void deleteSecurityHealthAnalyticsCustomModule​(DeleteSecurityHealthAnalyticsCustomModuleRequest request,
                                                               io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Deletes the specified SecurityHealthAnalyticsCustomModule and all of its
         descendants in the CRM hierarchy. This method is only supported for
         resident custom modules.
         
      • 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.
         
      • getSource

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

        @Deprecated
        default void groupAssets​(GroupAssetsRequest request,
                                 io.grpc.stub.StreamObserver<GroupAssetsResponse> responseObserver)
        Deprecated.
         Filters an organization's assets and  groups them by their specified
         properties.
         
      • 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.
         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
         
      • listFindings

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

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

        @Deprecated
        default void runAssetDiscovery​(RunAssetDiscoveryRequest request,
                                       io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
        Deprecated.
         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.
         
      • setFindingState

        default void setFindingState​(SetFindingStateRequest request,
                                     io.grpc.stub.StreamObserver<Finding> responseObserver)
         Updates the state of a finding.
         
      • setMute

        default void setMute​(SetMuteRequest request,
                             io.grpc.stub.StreamObserver<Finding> responseObserver)
         Updates the mute state of a finding.
         
      • 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.
         
      • 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.
         
      • updateExternalSystem

        default void updateExternalSystem​(UpdateExternalSystemRequest request,
                                          io.grpc.stub.StreamObserver<ExternalSystem> responseObserver)
         Updates external system. This is for a given finding.
         
      • updateFinding

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

        default void updateMuteConfig​(UpdateMuteConfigRequest request,
                                      io.grpc.stub.StreamObserver<MuteConfig> responseObserver)
         Updates a mute config.
         
      • 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
         
      • updateSecurityHealthAnalyticsCustomModule

        default void updateSecurityHealthAnalyticsCustomModule​(UpdateSecurityHealthAnalyticsCustomModuleRequest request,
                                                               io.grpc.stub.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.
         
      • updateSource

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

        default void deleteBigQueryExport​(DeleteBigQueryExportRequest request,
                                          io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Deletes an existing BigQuery export.
         
      • 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.