public sealed class SecurityCenterClientImpl : SecurityCenterClientReference documentation and code samples for the Security Command Center v2 API class SecurityCenterClientImpl.
SecurityCenter client wrapper implementation, for convenient use.
Namespace
Google.Cloud.SecurityCenter.V2Assembly
Google.Cloud.SecurityCenter.V2.dll
Remarks
V2 APIs for Security Center service.
Constructors
SecurityCenterClientImpl(SecurityCenterClient, SecurityCenterSettings, ILogger)
public SecurityCenterClientImpl(SecurityCenter.SecurityCenterClient grpcClient, SecurityCenterSettings settings, ILogger logger)Constructs a client wrapper for the SecurityCenter service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
SecurityCenterSecurityCenterClientThe underlying gRPC client. |
settings |
SecurityCenterSettingsThe base SecurityCenterSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
BulkMuteFindingsOperationsClient
public override OperationsClient BulkMuteFindingsOperationsClient { get; }The long-running operations client for BulkMuteFindings.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override SecurityCenter.SecurityCenterClient GrpcClient { get; }The underlying gRPC SecurityCenter client
| Property Value | |
|---|---|
| Type | Description |
SecurityCenterSecurityCenterClient |
|
Methods
BatchCreateResourceValueConfigs(BatchCreateResourceValueConfigsRequest, CallSettings)
public override BatchCreateResourceValueConfigsResponse BatchCreateResourceValueConfigs(BatchCreateResourceValueConfigsRequest request, CallSettings callSettings = null)Creates a ResourceValueConfig for an organization. Maps user's tags to difference resource values for use by the attack path simulation.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchCreateResourceValueConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
BatchCreateResourceValueConfigsResponse |
The RPC response. |
BatchCreateResourceValueConfigsAsync(BatchCreateResourceValueConfigsRequest, CallSettings)
public override Task<BatchCreateResourceValueConfigsResponse> BatchCreateResourceValueConfigsAsync(BatchCreateResourceValueConfigsRequest request, CallSettings callSettings = null)Creates a ResourceValueConfig for an organization. Maps user's tags to difference resource values for use by the attack path simulation.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchCreateResourceValueConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskBatchCreateResourceValueConfigsResponse |
A Task containing the RPC response. |
BulkMuteFindings(BulkMuteFindingsRequest, CallSettings)
public override Operation<BulkMuteFindingsResponse, Empty> BulkMuteFindings(BulkMuteFindingsRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
BulkMuteFindingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationBulkMuteFindingsResponseEmpty |
The RPC response. |
BulkMuteFindingsAsync(BulkMuteFindingsRequest, CallSettings)
public override Task<Operation<BulkMuteFindingsResponse, Empty>> BulkMuteFindingsAsync(BulkMuteFindingsRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
BulkMuteFindingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationBulkMuteFindingsResponseEmpty |
A Task containing the RPC response. |
CreateBigQueryExport(CreateBigQueryExportRequest, CallSettings)
public override BigQueryExport CreateBigQueryExport(CreateBigQueryExportRequest request, CallSettings callSettings = null)Creates a BigQuery export.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateBigQueryExportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
BigQueryExport |
The RPC response. |
CreateBigQueryExportAsync(CreateBigQueryExportRequest, CallSettings)
public override Task<BigQueryExport> CreateBigQueryExportAsync(CreateBigQueryExportRequest request, CallSettings callSettings = null)Creates a BigQuery export.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateBigQueryExportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskBigQueryExport |
A Task containing the RPC response. |
CreateFinding(CreateFindingRequest, CallSettings)
public override Finding CreateFinding(CreateFindingRequest request, CallSettings callSettings = null)Creates a finding in a location. The corresponding source must exist for finding creation to succeed.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateFindingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Finding |
The RPC response. |
CreateFindingAsync(CreateFindingRequest, CallSettings)
public override Task<Finding> CreateFindingAsync(CreateFindingRequest request, CallSettings callSettings = null)Creates a finding in a location. The corresponding source must exist for finding creation to succeed.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateFindingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFinding |
A Task containing the RPC response. |
CreateMuteConfig(CreateMuteConfigRequest, CallSettings)
public override MuteConfig CreateMuteConfig(CreateMuteConfigRequest request, CallSettings callSettings = null)Creates a mute config.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMuteConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MuteConfig |
The RPC response. |
CreateMuteConfigAsync(CreateMuteConfigRequest, CallSettings)
public override Task<MuteConfig> CreateMuteConfigAsync(CreateMuteConfigRequest request, CallSettings callSettings = null)Creates a mute config.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMuteConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMuteConfig |
A Task containing the RPC response. |
CreateNotificationConfig(CreateNotificationConfigRequest, CallSettings)
public override NotificationConfig CreateNotificationConfig(CreateNotificationConfigRequest request, CallSettings callSettings = null)Creates a notification config.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateNotificationConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NotificationConfig |
The RPC response. |
CreateNotificationConfigAsync(CreateNotificationConfigRequest, CallSettings)
public override Task<NotificationConfig> CreateNotificationConfigAsync(CreateNotificationConfigRequest request, CallSettings callSettings = null)Creates a notification config.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateNotificationConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNotificationConfig |
A Task containing the RPC response. |
CreateSource(CreateSourceRequest, CallSettings)
public override Source CreateSource(CreateSourceRequest request, CallSettings callSettings = null)Creates a source.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSourceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Source |
The RPC response. |
CreateSourceAsync(CreateSourceRequest, CallSettings)
public override Task<Source> CreateSourceAsync(CreateSourceRequest request, CallSettings callSettings = null)Creates a source.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSourceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSource |
A Task containing the RPC response. |
DeleteBigQueryExport(DeleteBigQueryExportRequest, CallSettings)
public override void DeleteBigQueryExport(DeleteBigQueryExportRequest request, CallSettings callSettings = null)Deletes an existing BigQuery export.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteBigQueryExportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteBigQueryExportAsync(DeleteBigQueryExportRequest, CallSettings)
public override Task DeleteBigQueryExportAsync(DeleteBigQueryExportRequest request, CallSettings callSettings = null)Deletes an existing BigQuery export.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteBigQueryExportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
DeleteMuteConfig(DeleteMuteConfigRequest, CallSettings)
public override void DeleteMuteConfig(DeleteMuteConfigRequest request, CallSettings callSettings = null)Deletes an existing mute config. If no location is specified, default is global.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMuteConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteMuteConfigAsync(DeleteMuteConfigRequest, CallSettings)
public override Task DeleteMuteConfigAsync(DeleteMuteConfigRequest request, CallSettings callSettings = null)Deletes an existing mute config. If no location is specified, default is global.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMuteConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
DeleteNotificationConfig(DeleteNotificationConfigRequest, CallSettings)
public override void DeleteNotificationConfig(DeleteNotificationConfigRequest request, CallSettings callSettings = null)Deletes a notification config.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteNotificationConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteNotificationConfigAsync(DeleteNotificationConfigRequest, CallSettings)
public override Task DeleteNotificationConfigAsync(DeleteNotificationConfigRequest request, CallSettings callSettings = null)Deletes a notification config.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteNotificationConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
DeleteResourceValueConfig(DeleteResourceValueConfigRequest, CallSettings)
public override void DeleteResourceValueConfig(DeleteResourceValueConfigRequest request, CallSettings callSettings = null)Deletes a ResourceValueConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteResourceValueConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteResourceValueConfigAsync(DeleteResourceValueConfigRequest, CallSettings)
public override Task DeleteResourceValueConfigAsync(DeleteResourceValueConfigRequest request, CallSettings callSettings = null)Deletes a ResourceValueConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteResourceValueConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
GetBigQueryExport(GetBigQueryExportRequest, CallSettings)
public override BigQueryExport GetBigQueryExport(GetBigQueryExportRequest request, CallSettings callSettings = null)Gets a BigQuery export.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBigQueryExportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
BigQueryExport |
The RPC response. |
GetBigQueryExportAsync(GetBigQueryExportRequest, CallSettings)
public override Task<BigQueryExport> GetBigQueryExportAsync(GetBigQueryExportRequest request, CallSettings callSettings = null)Gets a BigQuery export.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBigQueryExportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskBigQueryExport |
A Task containing the RPC response. |
GetIamPolicy(GetIamPolicyRequest, CallSettings)
public override Policy GetIamPolicy(GetIamPolicyRequest request, CallSettings callSettings = null)Gets the access control policy on the specified Source.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
GetIamPolicyAsync(GetIamPolicyRequest, CallSettings)
public override Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallSettings callSettings = null)Gets the access control policy on the specified Source.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
GetMuteConfig(GetMuteConfigRequest, CallSettings)
public override MuteConfig GetMuteConfig(GetMuteConfigRequest request, CallSettings callSettings = null)Gets a mute config. If no location is specified, default is global.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMuteConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MuteConfig |
The RPC response. |
GetMuteConfigAsync(GetMuteConfigRequest, CallSettings)
public override Task<MuteConfig> GetMuteConfigAsync(GetMuteConfigRequest request, CallSettings callSettings = null)Gets a mute config. If no location is specified, default is global.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMuteConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMuteConfig |
A Task containing the RPC response. |
GetNotificationConfig(GetNotificationConfigRequest, CallSettings)
public override NotificationConfig GetNotificationConfig(GetNotificationConfigRequest request, CallSettings callSettings = null)Gets a notification config.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNotificationConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NotificationConfig |
The RPC response. |
GetNotificationConfigAsync(GetNotificationConfigRequest, CallSettings)
public override Task<NotificationConfig> GetNotificationConfigAsync(GetNotificationConfigRequest request, CallSettings callSettings = null)Gets a notification config.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNotificationConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNotificationConfig |
A Task containing the RPC response. |
GetResourceValueConfig(GetResourceValueConfigRequest, CallSettings)
public override ResourceValueConfig GetResourceValueConfig(GetResourceValueConfigRequest request, CallSettings callSettings = null)Gets a ResourceValueConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
GetResourceValueConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig |
The RPC response. |
GetResourceValueConfigAsync(GetResourceValueConfigRequest, CallSettings)
public override Task<ResourceValueConfig> GetResourceValueConfigAsync(GetResourceValueConfigRequest request, CallSettings callSettings = null)Gets a ResourceValueConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
GetResourceValueConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskResourceValueConfig |
A Task containing the RPC response. |
GetSimulation(GetSimulationRequest, CallSettings)
public override Simulation GetSimulation(GetSimulationRequest request, CallSettings callSettings = null)Get the simulation by name or the latest simulation for the given organization.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSimulationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Simulation |
The RPC response. |
GetSimulationAsync(GetSimulationRequest, CallSettings)
public override Task<Simulation> GetSimulationAsync(GetSimulationRequest request, CallSettings callSettings = null)Get the simulation by name or the latest simulation for the given organization.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSimulationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSimulation |
A Task containing the RPC response. |
GetSource(GetSourceRequest, CallSettings)
public override Source GetSource(GetSourceRequest request, CallSettings callSettings = null)Gets a source.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSourceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Source |
The RPC response. |
GetSourceAsync(GetSourceRequest, CallSettings)
public override Task<Source> GetSourceAsync(GetSourceRequest request, CallSettings callSettings = null)Gets a source.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSourceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSource |
A Task containing the RPC response. |
GetValuedResource(GetValuedResourceRequest, CallSettings)
public override ValuedResource GetValuedResource(GetValuedResourceRequest request, CallSettings callSettings = null)Get the valued resource by name
| Parameters | |
|---|---|
| Name | Description |
request |
GetValuedResourceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ValuedResource |
The RPC response. |
GetValuedResourceAsync(GetValuedResourceRequest, CallSettings)
public override Task<ValuedResource> GetValuedResourceAsync(GetValuedResourceRequest request, CallSettings callSettings = null)Get the valued resource by name
| Parameters | |
|---|---|
| Name | Description |
request |
GetValuedResourceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskValuedResource |
A Task containing the RPC response. |
GroupFindings(GroupFindingsRequest, CallSettings)
public override PagedEnumerable<GroupFindingsResponse, GroupResult> GroupFindings(GroupFindingsRequest request, CallSettings callSettings = null)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
| Parameters | |
|---|---|
| Name | Description |
request |
GroupFindingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableGroupFindingsResponseGroupResult |
A pageable sequence of GroupResult resources. |
GroupFindingsAsync(GroupFindingsRequest, CallSettings)
public override PagedAsyncEnumerable<GroupFindingsResponse, GroupResult> GroupFindingsAsync(GroupFindingsRequest request, CallSettings callSettings = null)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
| Parameters | |
|---|---|
| Name | Description |
request |
GroupFindingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableGroupFindingsResponseGroupResult |
A pageable asynchronous sequence of GroupResult resources. |
ListAttackPaths(ListAttackPathsRequest, CallSettings)
public override PagedEnumerable<ListAttackPathsResponse, AttackPath> ListAttackPaths(ListAttackPathsRequest request, CallSettings callSettings = null)Lists the attack paths for a set of simulation results or valued resources and filter.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAttackPathsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAttackPathsResponseAttackPath |
A pageable sequence of AttackPath resources. |
ListAttackPathsAsync(ListAttackPathsRequest, CallSettings)
public override PagedAsyncEnumerable<ListAttackPathsResponse, AttackPath> ListAttackPathsAsync(ListAttackPathsRequest request, CallSettings callSettings = null)Lists the attack paths for a set of simulation results or valued resources and filter.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAttackPathsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAttackPathsResponseAttackPath |
A pageable asynchronous sequence of AttackPath resources. |
ListBigQueryExports(ListBigQueryExportsRequest, CallSettings)
public override PagedEnumerable<ListBigQueryExportsResponse, BigQueryExport> ListBigQueryExports(ListBigQueryExportsRequest request, CallSettings callSettings = null)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 |
ListBigQueryExportsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListBigQueryExportsResponseBigQueryExport |
A pageable sequence of BigQueryExport resources. |
ListBigQueryExportsAsync(ListBigQueryExportsRequest, CallSettings)
public override PagedAsyncEnumerable<ListBigQueryExportsResponse, BigQueryExport> ListBigQueryExportsAsync(ListBigQueryExportsRequest request, CallSettings callSettings = null)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 |
ListBigQueryExportsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListBigQueryExportsResponseBigQueryExport |
A pageable asynchronous sequence of BigQueryExport resources. |
ListFindings(ListFindingsRequest, CallSettings)
public override PagedEnumerable<ListFindingsResponse, ListFindingsResponse.Types.ListFindingsResult> ListFindings(ListFindingsRequest request, CallSettings callSettings = null)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
| Parameters | |
|---|---|
| Name | Description |
request |
ListFindingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListFindingsResponseListFindingsResponseTypesListFindingsResult |
A pageable sequence of ListFindingsResponse.Types.ListFindingsResult resources. |
ListFindingsAsync(ListFindingsRequest, CallSettings)
public override PagedAsyncEnumerable<ListFindingsResponse, ListFindingsResponse.Types.ListFindingsResult> ListFindingsAsync(ListFindingsRequest request, CallSettings callSettings = null)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
| Parameters | |
|---|---|
| Name | Description |
request |
ListFindingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListFindingsResponseListFindingsResponseTypesListFindingsResult |
A pageable asynchronous sequence of ListFindingsResponse.Types.ListFindingsResult resources. |
ListMuteConfigs(ListMuteConfigsRequest, CallSettings)
public override PagedEnumerable<ListMuteConfigsResponse, MuteConfig> ListMuteConfigs(ListMuteConfigsRequest request, CallSettings callSettings = null)Lists mute configs. If no location is specified, default is global.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMuteConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMuteConfigsResponseMuteConfig |
A pageable sequence of MuteConfig resources. |
ListMuteConfigsAsync(ListMuteConfigsRequest, CallSettings)
public override PagedAsyncEnumerable<ListMuteConfigsResponse, MuteConfig> ListMuteConfigsAsync(ListMuteConfigsRequest request, CallSettings callSettings = null)Lists mute configs. If no location is specified, default is global.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMuteConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMuteConfigsResponseMuteConfig |
A pageable asynchronous sequence of MuteConfig resources. |
ListNotificationConfigs(ListNotificationConfigsRequest, CallSettings)
public override PagedEnumerable<ListNotificationConfigsResponse, NotificationConfig> ListNotificationConfigs(ListNotificationConfigsRequest request, CallSettings callSettings = null)Lists notification configs.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNotificationConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListNotificationConfigsResponseNotificationConfig |
A pageable sequence of NotificationConfig resources. |
ListNotificationConfigsAsync(ListNotificationConfigsRequest, CallSettings)
public override PagedAsyncEnumerable<ListNotificationConfigsResponse, NotificationConfig> ListNotificationConfigsAsync(ListNotificationConfigsRequest request, CallSettings callSettings = null)Lists notification configs.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNotificationConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListNotificationConfigsResponseNotificationConfig |
A pageable asynchronous sequence of NotificationConfig resources. |
ListResourceValueConfigs(ListResourceValueConfigsRequest, CallSettings)
public override PagedEnumerable<ListResourceValueConfigsResponse, ResourceValueConfig> ListResourceValueConfigs(ListResourceValueConfigsRequest request, CallSettings callSettings = null)Lists all ResourceValueConfigs.
| Parameters | |
|---|---|
| Name | Description |
request |
ListResourceValueConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListResourceValueConfigsResponseResourceValueConfig |
A pageable sequence of ResourceValueConfig resources. |
ListResourceValueConfigsAsync(ListResourceValueConfigsRequest, CallSettings)
public override PagedAsyncEnumerable<ListResourceValueConfigsResponse, ResourceValueConfig> ListResourceValueConfigsAsync(ListResourceValueConfigsRequest request, CallSettings callSettings = null)Lists all ResourceValueConfigs.
| Parameters | |
|---|---|
| Name | Description |
request |
ListResourceValueConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListResourceValueConfigsResponseResourceValueConfig |
A pageable asynchronous sequence of ResourceValueConfig resources. |
ListSources(ListSourcesRequest, CallSettings)
public override PagedEnumerable<ListSourcesResponse, Source> ListSources(ListSourcesRequest request, CallSettings callSettings = null)Lists all sources belonging to an organization.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSourcesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListSourcesResponseSource |
A pageable sequence of Source resources. |
ListSourcesAsync(ListSourcesRequest, CallSettings)
public override PagedAsyncEnumerable<ListSourcesResponse, Source> ListSourcesAsync(ListSourcesRequest request, CallSettings callSettings = null)Lists all sources belonging to an organization.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSourcesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListSourcesResponseSource |
A pageable asynchronous sequence of Source resources. |
ListValuedResources(ListValuedResourcesRequest, CallSettings)
public override PagedEnumerable<ListValuedResourcesResponse, ValuedResource> ListValuedResources(ListValuedResourcesRequest request, CallSettings callSettings = null)Lists the valued resources for a set of simulation results and filter.
| Parameters | |
|---|---|
| Name | Description |
request |
ListValuedResourcesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListValuedResourcesResponseValuedResource |
A pageable sequence of ValuedResource resources. |
ListValuedResourcesAsync(ListValuedResourcesRequest, CallSettings)
public override PagedAsyncEnumerable<ListValuedResourcesResponse, ValuedResource> ListValuedResourcesAsync(ListValuedResourcesRequest request, CallSettings callSettings = null)Lists the valued resources for a set of simulation results and filter.
| Parameters | |
|---|---|
| Name | Description |
request |
ListValuedResourcesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListValuedResourcesResponseValuedResource |
A pageable asynchronous sequence of ValuedResource resources. |
SetFindingState(SetFindingStateRequest, CallSettings)
public override Finding SetFindingState(SetFindingStateRequest request, CallSettings callSettings = null)Updates the state of a finding. If no location is specified, finding is assumed to be in global
| Parameters | |
|---|---|
| Name | Description |
request |
SetFindingStateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Finding |
The RPC response. |
SetFindingStateAsync(SetFindingStateRequest, CallSettings)
public override Task<Finding> SetFindingStateAsync(SetFindingStateRequest request, CallSettings callSettings = null)Updates the state of a finding. If no location is specified, finding is assumed to be in global
| Parameters | |
|---|---|
| Name | Description |
request |
SetFindingStateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFinding |
A Task containing the RPC response. |
SetIamPolicy(SetIamPolicyRequest, CallSettings)
public override Policy SetIamPolicy(SetIamPolicyRequest request, CallSettings callSettings = null)Sets the access control policy on the specified Source.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
SetIamPolicyAsync(SetIamPolicyRequest, CallSettings)
public override Task<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallSettings callSettings = null)Sets the access control policy on the specified Source.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
SetMute(SetMuteRequest, CallSettings)
public override Finding SetMute(SetMuteRequest request, CallSettings callSettings = null)Updates the mute state of a finding. If no location is specified, finding is assumed to be in global
| Parameters | |
|---|---|
| Name | Description |
request |
SetMuteRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Finding |
The RPC response. |
SetMuteAsync(SetMuteRequest, CallSettings)
public override Task<Finding> SetMuteAsync(SetMuteRequest request, CallSettings callSettings = null)Updates the mute state of a finding. If no location is specified, finding is assumed to be in global
| Parameters | |
|---|---|
| Name | Description |
request |
SetMuteRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFinding |
A Task containing the RPC response. |
TestIamPermissions(TestIamPermissionsRequest, CallSettings)
public override TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallSettings callSettings = null)Returns the permissions that a caller has on the specified source.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsResponse |
The RPC response. |
TestIamPermissionsAsync(TestIamPermissionsRequest, CallSettings)
public override Task<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CallSettings callSettings = null)Returns the permissions that a caller has on the specified source.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTestIamPermissionsResponse |
A Task containing the RPC response. |
UpdateBigQueryExport(UpdateBigQueryExportRequest, CallSettings)
public override BigQueryExport UpdateBigQueryExport(UpdateBigQueryExportRequest request, CallSettings callSettings = null)Updates a BigQuery export.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateBigQueryExportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
BigQueryExport |
The RPC response. |
UpdateBigQueryExportAsync(UpdateBigQueryExportRequest, CallSettings)
public override Task<BigQueryExport> UpdateBigQueryExportAsync(UpdateBigQueryExportRequest request, CallSettings callSettings = null)Updates a BigQuery export.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateBigQueryExportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskBigQueryExport |
A Task containing the RPC response. |
UpdateExternalSystem(UpdateExternalSystemRequest, CallSettings)
public override ExternalSystem UpdateExternalSystem(UpdateExternalSystemRequest request, CallSettings callSettings = null)Updates external system. This is for a given finding. If no location is specified, finding is assumed to be in global
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateExternalSystemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ExternalSystem |
The RPC response. |
UpdateExternalSystemAsync(UpdateExternalSystemRequest, CallSettings)
public override Task<ExternalSystem> UpdateExternalSystemAsync(UpdateExternalSystemRequest request, CallSettings callSettings = null)Updates external system. This is for a given finding. If no location is specified, finding is assumed to be in global
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateExternalSystemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExternalSystem |
A Task containing the RPC response. |
UpdateFinding(UpdateFindingRequest, CallSettings)
public override Finding UpdateFinding(UpdateFindingRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFindingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Finding |
The RPC response. |
UpdateFindingAsync(UpdateFindingRequest, CallSettings)
public override Task<Finding> UpdateFindingAsync(UpdateFindingRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFindingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFinding |
A Task containing the RPC response. |
UpdateMuteConfig(UpdateMuteConfigRequest, CallSettings)
public override MuteConfig UpdateMuteConfig(UpdateMuteConfigRequest request, CallSettings callSettings = null)Updates a mute config. If no location is specified, default is global.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMuteConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MuteConfig |
The RPC response. |
UpdateMuteConfigAsync(UpdateMuteConfigRequest, CallSettings)
public override Task<MuteConfig> UpdateMuteConfigAsync(UpdateMuteConfigRequest request, CallSettings callSettings = null)Updates a mute config. If no location is specified, default is global.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMuteConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMuteConfig |
A Task containing the RPC response. |
UpdateNotificationConfig(UpdateNotificationConfigRequest, CallSettings)
public override NotificationConfig UpdateNotificationConfig(UpdateNotificationConfigRequest request, CallSettings callSettings = null)Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateNotificationConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NotificationConfig |
The RPC response. |
UpdateNotificationConfigAsync(UpdateNotificationConfigRequest, CallSettings)
public override Task<NotificationConfig> UpdateNotificationConfigAsync(UpdateNotificationConfigRequest request, CallSettings callSettings = null)Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateNotificationConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNotificationConfig |
A Task containing the RPC response. |
UpdateResourceValueConfig(UpdateResourceValueConfigRequest, CallSettings)
public override ResourceValueConfig UpdateResourceValueConfig(UpdateResourceValueConfigRequest request, CallSettings callSettings = null)Updates an existing ResourceValueConfigs with new rules.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateResourceValueConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig |
The RPC response. |
UpdateResourceValueConfigAsync(UpdateResourceValueConfigRequest, CallSettings)
public override Task<ResourceValueConfig> UpdateResourceValueConfigAsync(UpdateResourceValueConfigRequest request, CallSettings callSettings = null)Updates an existing ResourceValueConfigs with new rules.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateResourceValueConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskResourceValueConfig |
A Task containing the RPC response. |
UpdateSecurityMarks(UpdateSecurityMarksRequest, CallSettings)
public override SecurityMarks UpdateSecurityMarks(UpdateSecurityMarksRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSecurityMarksRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SecurityMarks |
The RPC response. |
UpdateSecurityMarksAsync(UpdateSecurityMarksRequest, CallSettings)
public override Task<SecurityMarks> UpdateSecurityMarksAsync(UpdateSecurityMarksRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSecurityMarksRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSecurityMarks |
A Task containing the RPC response. |
UpdateSource(UpdateSourceRequest, CallSettings)
public override Source UpdateSource(UpdateSourceRequest request, CallSettings callSettings = null)Updates a source.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSourceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Source |
The RPC response. |
UpdateSourceAsync(UpdateSourceRequest, CallSettings)
public override Task<Source> UpdateSourceAsync(UpdateSourceRequest request, CallSettings callSettings = null)Updates a source.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSourceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSource |
A Task containing the RPC response. |