SecurityCenter

google.cloud.securitycenter.v1. SecurityCenter

Represents a SecurityCenter

Constructor

new SecurityCenter(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new SecurityCenter service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

batchCreateResourceValueConfigs(request, callback) → {undefined}

Calls BatchCreateResourceValueConfigs.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IBatchCreateResourceValueConfigsRequest

BatchCreateResourceValueConfigsRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.BatchCreateResourceValueConfigsCallback

Node-style callback called with the error, if any, and BatchCreateResourceValueConfigsResponse

Returns:
Type Description
undefined

batchCreateResourceValueConfigs(request) → {Promise.<google.cloud.securitycenter.v1.BatchCreateResourceValueConfigsResponse>}

Calls BatchCreateResourceValueConfigs.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IBatchCreateResourceValueConfigsRequest

BatchCreateResourceValueConfigsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.BatchCreateResourceValueConfigsResponse>

Promise

bulkMuteFindings(request, callback) → {undefined}

Calls BulkMuteFindings.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IBulkMuteFindingsRequest

BulkMuteFindingsRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.BulkMuteFindingsCallback

Node-style callback called with the error, if any, and Operation

Returns:
Type Description
undefined

bulkMuteFindings(request) → {Promise.<google.longrunning.Operation>}

Calls BulkMuteFindings.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IBulkMuteFindingsRequest

BulkMuteFindingsRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

createBigQueryExport(request, callback) → {undefined}

Calls CreateBigQueryExport.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ICreateBigQueryExportRequest

CreateBigQueryExportRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.CreateBigQueryExportCallback

Node-style callback called with the error, if any, and BigQueryExport

Returns:
Type Description
undefined

createBigQueryExport(request) → {Promise.<google.cloud.securitycenter.v1.BigQueryExport>}

Calls CreateBigQueryExport.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ICreateBigQueryExportRequest

CreateBigQueryExportRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.BigQueryExport>

Promise

createEventThreatDetectionCustomModule(request, callback) → {undefined}

Calls CreateEventThreatDetectionCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ICreateEventThreatDetectionCustomModuleRequest

CreateEventThreatDetectionCustomModuleRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.CreateEventThreatDetectionCustomModuleCallback

Node-style callback called with the error, if any, and EventThreatDetectionCustomModule

Returns:
Type Description
undefined

createEventThreatDetectionCustomModule(request) → {Promise.<google.cloud.securitycenter.v1.EventThreatDetectionCustomModule>}

Calls CreateEventThreatDetectionCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ICreateEventThreatDetectionCustomModuleRequest

CreateEventThreatDetectionCustomModuleRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.EventThreatDetectionCustomModule>

Promise

createFinding(request, callback) → {undefined}

Calls CreateFinding.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ICreateFindingRequest

CreateFindingRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.CreateFindingCallback

Node-style callback called with the error, if any, and Finding

Returns:
Type Description
undefined

createFinding(request) → {Promise.<google.cloud.securitycenter.v1.Finding>}

Calls CreateFinding.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ICreateFindingRequest

CreateFindingRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.Finding>

Promise

createMuteConfig(request, callback) → {undefined}

Calls CreateMuteConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ICreateMuteConfigRequest

CreateMuteConfigRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.CreateMuteConfigCallback

Node-style callback called with the error, if any, and MuteConfig

Returns:
Type Description
undefined

createMuteConfig(request) → {Promise.<google.cloud.securitycenter.v1.MuteConfig>}

Calls CreateMuteConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ICreateMuteConfigRequest

CreateMuteConfigRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.MuteConfig>

Promise

createNotificationConfig(request, callback) → {undefined}

Calls CreateNotificationConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ICreateNotificationConfigRequest

CreateNotificationConfigRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.CreateNotificationConfigCallback

Node-style callback called with the error, if any, and NotificationConfig

Returns:
Type Description
undefined

createNotificationConfig(request) → {Promise.<google.cloud.securitycenter.v1.NotificationConfig>}

Calls CreateNotificationConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ICreateNotificationConfigRequest

CreateNotificationConfigRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.NotificationConfig>

Promise

createSecurityHealthAnalyticsCustomModule(request, callback) → {undefined}

Calls CreateSecurityHealthAnalyticsCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ICreateSecurityHealthAnalyticsCustomModuleRequest

CreateSecurityHealthAnalyticsCustomModuleRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.CreateSecurityHealthAnalyticsCustomModuleCallback

Node-style callback called with the error, if any, and SecurityHealthAnalyticsCustomModule

Returns:
Type Description
undefined

createSecurityHealthAnalyticsCustomModule(request) → {Promise.<google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule>}

Calls CreateSecurityHealthAnalyticsCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ICreateSecurityHealthAnalyticsCustomModuleRequest

CreateSecurityHealthAnalyticsCustomModuleRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule>

Promise

createSource(request, callback) → {undefined}

Calls CreateSource.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ICreateSourceRequest

CreateSourceRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.CreateSourceCallback

Node-style callback called with the error, if any, and Source

Returns:
Type Description
undefined

createSource(request) → {Promise.<google.cloud.securitycenter.v1.Source>}

Calls CreateSource.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ICreateSourceRequest

CreateSourceRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.Source>

Promise

deleteBigQueryExport(request, callback) → {undefined}

Calls DeleteBigQueryExport.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IDeleteBigQueryExportRequest

DeleteBigQueryExportRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.DeleteBigQueryExportCallback

Node-style callback called with the error, if any, and Empty

Returns:
Type Description
undefined

deleteBigQueryExport(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteBigQueryExport.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IDeleteBigQueryExportRequest

DeleteBigQueryExportRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteEventThreatDetectionCustomModule(request, callback) → {undefined}

Calls DeleteEventThreatDetectionCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IDeleteEventThreatDetectionCustomModuleRequest

DeleteEventThreatDetectionCustomModuleRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.DeleteEventThreatDetectionCustomModuleCallback

Node-style callback called with the error, if any, and Empty

Returns:
Type Description
undefined

deleteEventThreatDetectionCustomModule(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteEventThreatDetectionCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IDeleteEventThreatDetectionCustomModuleRequest

DeleteEventThreatDetectionCustomModuleRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteMuteConfig(request, callback) → {undefined}

Calls DeleteMuteConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IDeleteMuteConfigRequest

DeleteMuteConfigRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.DeleteMuteConfigCallback

Node-style callback called with the error, if any, and Empty

Returns:
Type Description
undefined

deleteMuteConfig(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteMuteConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IDeleteMuteConfigRequest

DeleteMuteConfigRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteNotificationConfig(request, callback) → {undefined}

Calls DeleteNotificationConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IDeleteNotificationConfigRequest

DeleteNotificationConfigRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.DeleteNotificationConfigCallback

Node-style callback called with the error, if any, and Empty

Returns:
Type Description
undefined

deleteNotificationConfig(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteNotificationConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IDeleteNotificationConfigRequest

DeleteNotificationConfigRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteResourceValueConfig(request, callback) → {undefined}

Calls DeleteResourceValueConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IDeleteResourceValueConfigRequest

DeleteResourceValueConfigRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.DeleteResourceValueConfigCallback

Node-style callback called with the error, if any, and Empty

Returns:
Type Description
undefined

deleteResourceValueConfig(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteResourceValueConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IDeleteResourceValueConfigRequest

DeleteResourceValueConfigRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteSecurityHealthAnalyticsCustomModule(request, callback) → {undefined}

Calls DeleteSecurityHealthAnalyticsCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IDeleteSecurityHealthAnalyticsCustomModuleRequest

DeleteSecurityHealthAnalyticsCustomModuleRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.DeleteSecurityHealthAnalyticsCustomModuleCallback

Node-style callback called with the error, if any, and Empty

Returns:
Type Description
undefined

deleteSecurityHealthAnalyticsCustomModule(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteSecurityHealthAnalyticsCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IDeleteSecurityHealthAnalyticsCustomModuleRequest

DeleteSecurityHealthAnalyticsCustomModuleRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

getBigQueryExport(request, callback) → {undefined}

Calls GetBigQueryExport.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetBigQueryExportRequest

GetBigQueryExportRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.GetBigQueryExportCallback

Node-style callback called with the error, if any, and BigQueryExport

Returns:
Type Description
undefined

getBigQueryExport(request) → {Promise.<google.cloud.securitycenter.v1.BigQueryExport>}

Calls GetBigQueryExport.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetBigQueryExportRequest

GetBigQueryExportRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.BigQueryExport>

Promise

getEffectiveEventThreatDetectionCustomModule(request, callback) → {undefined}

Calls GetEffectiveEventThreatDetectionCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetEffectiveEventThreatDetectionCustomModuleRequest

GetEffectiveEventThreatDetectionCustomModuleRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.GetEffectiveEventThreatDetectionCustomModuleCallback

Node-style callback called with the error, if any, and EffectiveEventThreatDetectionCustomModule

Returns:
Type Description
undefined

getEffectiveEventThreatDetectionCustomModule(request) → {Promise.<google.cloud.securitycenter.v1.EffectiveEventThreatDetectionCustomModule>}

Calls GetEffectiveEventThreatDetectionCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetEffectiveEventThreatDetectionCustomModuleRequest

GetEffectiveEventThreatDetectionCustomModuleRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.EffectiveEventThreatDetectionCustomModule>

Promise

getEffectiveSecurityHealthAnalyticsCustomModule(request, callback) → {undefined}

Calls GetEffectiveSecurityHealthAnalyticsCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetEffectiveSecurityHealthAnalyticsCustomModuleRequest

GetEffectiveSecurityHealthAnalyticsCustomModuleRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.GetEffectiveSecurityHealthAnalyticsCustomModuleCallback

Node-style callback called with the error, if any, and EffectiveSecurityHealthAnalyticsCustomModule

Returns:
Type Description
undefined

getEffectiveSecurityHealthAnalyticsCustomModule(request) → {Promise.<google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule>}

Calls GetEffectiveSecurityHealthAnalyticsCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetEffectiveSecurityHealthAnalyticsCustomModuleRequest

GetEffectiveSecurityHealthAnalyticsCustomModuleRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule>

Promise

getEventThreatDetectionCustomModule(request, callback) → {undefined}

Calls GetEventThreatDetectionCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetEventThreatDetectionCustomModuleRequest

GetEventThreatDetectionCustomModuleRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.GetEventThreatDetectionCustomModuleCallback

Node-style callback called with the error, if any, and EventThreatDetectionCustomModule

Returns:
Type Description
undefined

getEventThreatDetectionCustomModule(request) → {Promise.<google.cloud.securitycenter.v1.EventThreatDetectionCustomModule>}

Calls GetEventThreatDetectionCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetEventThreatDetectionCustomModuleRequest

GetEventThreatDetectionCustomModuleRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.EventThreatDetectionCustomModule>

Promise

getIamPolicy(request, callback) → {undefined}

Calls GetIamPolicy.

Parameters:
Name Type Description
request google.iam.v1.IGetIamPolicyRequest

GetIamPolicyRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.GetIamPolicyCallback

Node-style callback called with the error, if any, and Policy

Returns:
Type Description
undefined

getIamPolicy(request) → {Promise.<google.iam.v1.Policy>}

Calls GetIamPolicy.

Parameters:
Name Type Description
request google.iam.v1.IGetIamPolicyRequest

GetIamPolicyRequest message or plain object

Returns:
Type Description
Promise.<google.iam.v1.Policy>

Promise

getMuteConfig(request, callback) → {undefined}

Calls GetMuteConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetMuteConfigRequest

GetMuteConfigRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.GetMuteConfigCallback

Node-style callback called with the error, if any, and MuteConfig

Returns:
Type Description
undefined

getMuteConfig(request) → {Promise.<google.cloud.securitycenter.v1.MuteConfig>}

Calls GetMuteConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetMuteConfigRequest

GetMuteConfigRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.MuteConfig>

Promise

getNotificationConfig(request, callback) → {undefined}

Calls GetNotificationConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetNotificationConfigRequest

GetNotificationConfigRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.GetNotificationConfigCallback

Node-style callback called with the error, if any, and NotificationConfig

Returns:
Type Description
undefined

getNotificationConfig(request) → {Promise.<google.cloud.securitycenter.v1.NotificationConfig>}

Calls GetNotificationConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetNotificationConfigRequest

GetNotificationConfigRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.NotificationConfig>

Promise

getOrganizationSettings(request, callback) → {undefined}

Calls GetOrganizationSettings.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetOrganizationSettingsRequest

GetOrganizationSettingsRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.GetOrganizationSettingsCallback

Node-style callback called with the error, if any, and OrganizationSettings

Returns:
Type Description
undefined

getOrganizationSettings(request) → {Promise.<google.cloud.securitycenter.v1.OrganizationSettings>}

Calls GetOrganizationSettings.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetOrganizationSettingsRequest

GetOrganizationSettingsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.OrganizationSettings>

Promise

getResourceValueConfig(request, callback) → {undefined}

Calls GetResourceValueConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetResourceValueConfigRequest

GetResourceValueConfigRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.GetResourceValueConfigCallback

Node-style callback called with the error, if any, and ResourceValueConfig

Returns:
Type Description
undefined

getResourceValueConfig(request) → {Promise.<google.cloud.securitycenter.v1.ResourceValueConfig>}

Calls GetResourceValueConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetResourceValueConfigRequest

GetResourceValueConfigRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ResourceValueConfig>

Promise

getSecurityHealthAnalyticsCustomModule(request, callback) → {undefined}

Calls GetSecurityHealthAnalyticsCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetSecurityHealthAnalyticsCustomModuleRequest

GetSecurityHealthAnalyticsCustomModuleRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.GetSecurityHealthAnalyticsCustomModuleCallback

Node-style callback called with the error, if any, and SecurityHealthAnalyticsCustomModule

Returns:
Type Description
undefined

getSecurityHealthAnalyticsCustomModule(request) → {Promise.<google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule>}

Calls GetSecurityHealthAnalyticsCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetSecurityHealthAnalyticsCustomModuleRequest

GetSecurityHealthAnalyticsCustomModuleRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule>

Promise

getSimulation(request, callback) → {undefined}

Calls GetSimulation.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetSimulationRequest

GetSimulationRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.GetSimulationCallback

Node-style callback called with the error, if any, and Simulation

Returns:
Type Description
undefined

getSimulation(request) → {Promise.<google.cloud.securitycenter.v1.Simulation>}

Calls GetSimulation.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetSimulationRequest

GetSimulationRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.Simulation>

Promise

getSource(request, callback) → {undefined}

Calls GetSource.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetSourceRequest

GetSourceRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.GetSourceCallback

Node-style callback called with the error, if any, and Source

Returns:
Type Description
undefined

getSource(request) → {Promise.<google.cloud.securitycenter.v1.Source>}

Calls GetSource.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetSourceRequest

GetSourceRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.Source>

Promise

getValuedResource(request, callback) → {undefined}

Calls GetValuedResource.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetValuedResourceRequest

GetValuedResourceRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.GetValuedResourceCallback

Node-style callback called with the error, if any, and ValuedResource

Returns:
Type Description
undefined

getValuedResource(request) → {Promise.<google.cloud.securitycenter.v1.ValuedResource>}

Calls GetValuedResource.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGetValuedResourceRequest

GetValuedResourceRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ValuedResource>

Promise

groupAssets(request, callback) → {undefined}

Calls GroupAssets.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGroupAssetsRequest

GroupAssetsRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.GroupAssetsCallback

Node-style callback called with the error, if any, and GroupAssetsResponse

Returns:
Type Description
undefined

groupAssets(request) → {Promise.<google.cloud.securitycenter.v1.GroupAssetsResponse>}

Calls GroupAssets.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGroupAssetsRequest

GroupAssetsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.GroupAssetsResponse>

Promise

groupFindings(request, callback) → {undefined}

Calls GroupFindings.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGroupFindingsRequest

GroupFindingsRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.GroupFindingsCallback

Node-style callback called with the error, if any, and GroupFindingsResponse

Returns:
Type Description
undefined

groupFindings(request) → {Promise.<google.cloud.securitycenter.v1.GroupFindingsResponse>}

Calls GroupFindings.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IGroupFindingsRequest

GroupFindingsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.GroupFindingsResponse>

Promise

listAssets(request, callback) → {undefined}

Calls ListAssets.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListAssetsRequest

ListAssetsRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.ListAssetsCallback

Node-style callback called with the error, if any, and ListAssetsResponse

Returns:
Type Description
undefined

listAssets(request) → {Promise.<google.cloud.securitycenter.v1.ListAssetsResponse>}

Calls ListAssets.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListAssetsRequest

ListAssetsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ListAssetsResponse>

Promise

listAttackPaths(request, callback) → {undefined}

Calls ListAttackPaths.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListAttackPathsRequest

ListAttackPathsRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.ListAttackPathsCallback

Node-style callback called with the error, if any, and ListAttackPathsResponse

Returns:
Type Description
undefined

listAttackPaths(request) → {Promise.<google.cloud.securitycenter.v1.ListAttackPathsResponse>}

Calls ListAttackPaths.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListAttackPathsRequest

ListAttackPathsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ListAttackPathsResponse>

Promise

listBigQueryExports(request, callback) → {undefined}

Calls ListBigQueryExports.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListBigQueryExportsRequest

ListBigQueryExportsRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.ListBigQueryExportsCallback

Node-style callback called with the error, if any, and ListBigQueryExportsResponse

Returns:
Type Description
undefined

listBigQueryExports(request) → {Promise.<google.cloud.securitycenter.v1.ListBigQueryExportsResponse>}

Calls ListBigQueryExports.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListBigQueryExportsRequest

ListBigQueryExportsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ListBigQueryExportsResponse>

Promise

listDescendantEventThreatDetectionCustomModules(request, callback) → {undefined}

Calls ListDescendantEventThreatDetectionCustomModules.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListDescendantEventThreatDetectionCustomModulesRequest

ListDescendantEventThreatDetectionCustomModulesRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.ListDescendantEventThreatDetectionCustomModulesCallback

Node-style callback called with the error, if any, and ListDescendantEventThreatDetectionCustomModulesResponse

Returns:
Type Description
undefined

listDescendantEventThreatDetectionCustomModules(request) → {Promise.<google.cloud.securitycenter.v1.ListDescendantEventThreatDetectionCustomModulesResponse>}

Calls ListDescendantEventThreatDetectionCustomModules.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListDescendantEventThreatDetectionCustomModulesRequest

ListDescendantEventThreatDetectionCustomModulesRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ListDescendantEventThreatDetectionCustomModulesResponse>

Promise

listDescendantSecurityHealthAnalyticsCustomModules(request, callback) → {undefined}

Calls ListDescendantSecurityHealthAnalyticsCustomModules.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListDescendantSecurityHealthAnalyticsCustomModulesRequest

ListDescendantSecurityHealthAnalyticsCustomModulesRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.ListDescendantSecurityHealthAnalyticsCustomModulesCallback

Node-style callback called with the error, if any, and ListDescendantSecurityHealthAnalyticsCustomModulesResponse

Returns:
Type Description
undefined

listDescendantSecurityHealthAnalyticsCustomModules(request) → {Promise.<google.cloud.securitycenter.v1.ListDescendantSecurityHealthAnalyticsCustomModulesResponse>}

Calls ListDescendantSecurityHealthAnalyticsCustomModules.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListDescendantSecurityHealthAnalyticsCustomModulesRequest

ListDescendantSecurityHealthAnalyticsCustomModulesRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ListDescendantSecurityHealthAnalyticsCustomModulesResponse>

Promise

listEffectiveEventThreatDetectionCustomModules(request, callback) → {undefined}

Calls ListEffectiveEventThreatDetectionCustomModules.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListEffectiveEventThreatDetectionCustomModulesRequest

ListEffectiveEventThreatDetectionCustomModulesRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.ListEffectiveEventThreatDetectionCustomModulesCallback

Node-style callback called with the error, if any, and ListEffectiveEventThreatDetectionCustomModulesResponse

Returns:
Type Description
undefined

listEffectiveEventThreatDetectionCustomModules(request) → {Promise.<google.cloud.securitycenter.v1.ListEffectiveEventThreatDetectionCustomModulesResponse>}

Calls ListEffectiveEventThreatDetectionCustomModules.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListEffectiveEventThreatDetectionCustomModulesRequest

ListEffectiveEventThreatDetectionCustomModulesRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ListEffectiveEventThreatDetectionCustomModulesResponse>

Promise

listEffectiveSecurityHealthAnalyticsCustomModules(request, callback) → {undefined}

Calls ListEffectiveSecurityHealthAnalyticsCustomModules.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListEffectiveSecurityHealthAnalyticsCustomModulesRequest

ListEffectiveSecurityHealthAnalyticsCustomModulesRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.ListEffectiveSecurityHealthAnalyticsCustomModulesCallback

Node-style callback called with the error, if any, and ListEffectiveSecurityHealthAnalyticsCustomModulesResponse

Returns:
Type Description
undefined

listEffectiveSecurityHealthAnalyticsCustomModules(request) → {Promise.<google.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse>}

Calls ListEffectiveSecurityHealthAnalyticsCustomModules.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListEffectiveSecurityHealthAnalyticsCustomModulesRequest

ListEffectiveSecurityHealthAnalyticsCustomModulesRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse>

Promise

listEventThreatDetectionCustomModules(request, callback) → {undefined}

Calls ListEventThreatDetectionCustomModules.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListEventThreatDetectionCustomModulesRequest

ListEventThreatDetectionCustomModulesRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.ListEventThreatDetectionCustomModulesCallback

Node-style callback called with the error, if any, and ListEventThreatDetectionCustomModulesResponse

Returns:
Type Description
undefined

listEventThreatDetectionCustomModules(request) → {Promise.<google.cloud.securitycenter.v1.ListEventThreatDetectionCustomModulesResponse>}

Calls ListEventThreatDetectionCustomModules.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListEventThreatDetectionCustomModulesRequest

ListEventThreatDetectionCustomModulesRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ListEventThreatDetectionCustomModulesResponse>

Promise

listFindings(request, callback) → {undefined}

Calls ListFindings.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListFindingsRequest

ListFindingsRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.ListFindingsCallback

Node-style callback called with the error, if any, and ListFindingsResponse

Returns:
Type Description
undefined

listFindings(request) → {Promise.<google.cloud.securitycenter.v1.ListFindingsResponse>}

Calls ListFindings.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListFindingsRequest

ListFindingsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ListFindingsResponse>

Promise

listMuteConfigs(request, callback) → {undefined}

Calls ListMuteConfigs.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListMuteConfigsRequest

ListMuteConfigsRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.ListMuteConfigsCallback

Node-style callback called with the error, if any, and ListMuteConfigsResponse

Returns:
Type Description
undefined

listMuteConfigs(request) → {Promise.<google.cloud.securitycenter.v1.ListMuteConfigsResponse>}

Calls ListMuteConfigs.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListMuteConfigsRequest

ListMuteConfigsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ListMuteConfigsResponse>

Promise

listNotificationConfigs(request, callback) → {undefined}

Calls ListNotificationConfigs.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListNotificationConfigsRequest

ListNotificationConfigsRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.ListNotificationConfigsCallback

Node-style callback called with the error, if any, and ListNotificationConfigsResponse

Returns:
Type Description
undefined

listNotificationConfigs(request) → {Promise.<google.cloud.securitycenter.v1.ListNotificationConfigsResponse>}

Calls ListNotificationConfigs.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListNotificationConfigsRequest

ListNotificationConfigsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ListNotificationConfigsResponse>

Promise

listResourceValueConfigs(request, callback) → {undefined}

Calls ListResourceValueConfigs.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListResourceValueConfigsRequest

ListResourceValueConfigsRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.ListResourceValueConfigsCallback

Node-style callback called with the error, if any, and ListResourceValueConfigsResponse

Returns:
Type Description
undefined

listResourceValueConfigs(request) → {Promise.<google.cloud.securitycenter.v1.ListResourceValueConfigsResponse>}

Calls ListResourceValueConfigs.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListResourceValueConfigsRequest

ListResourceValueConfigsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ListResourceValueConfigsResponse>

Promise

listSecurityHealthAnalyticsCustomModules(request, callback) → {undefined}

Calls ListSecurityHealthAnalyticsCustomModules.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListSecurityHealthAnalyticsCustomModulesRequest

ListSecurityHealthAnalyticsCustomModulesRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.ListSecurityHealthAnalyticsCustomModulesCallback

Node-style callback called with the error, if any, and ListSecurityHealthAnalyticsCustomModulesResponse

Returns:
Type Description
undefined

listSecurityHealthAnalyticsCustomModules(request) → {Promise.<google.cloud.securitycenter.v1.ListSecurityHealthAnalyticsCustomModulesResponse>}

Calls ListSecurityHealthAnalyticsCustomModules.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListSecurityHealthAnalyticsCustomModulesRequest

ListSecurityHealthAnalyticsCustomModulesRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ListSecurityHealthAnalyticsCustomModulesResponse>

Promise

listSources(request, callback) → {undefined}

Calls ListSources.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListSourcesRequest

ListSourcesRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.ListSourcesCallback

Node-style callback called with the error, if any, and ListSourcesResponse

Returns:
Type Description
undefined

listSources(request) → {Promise.<google.cloud.securitycenter.v1.ListSourcesResponse>}

Calls ListSources.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListSourcesRequest

ListSourcesRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ListSourcesResponse>

Promise

listValuedResources(request, callback) → {undefined}

Calls ListValuedResources.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListValuedResourcesRequest

ListValuedResourcesRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.ListValuedResourcesCallback

Node-style callback called with the error, if any, and ListValuedResourcesResponse

Returns:
Type Description
undefined

listValuedResources(request) → {Promise.<google.cloud.securitycenter.v1.ListValuedResourcesResponse>}

Calls ListValuedResources.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IListValuedResourcesRequest

ListValuedResourcesRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ListValuedResourcesResponse>

Promise

runAssetDiscovery(request, callback) → {undefined}

Calls RunAssetDiscovery.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IRunAssetDiscoveryRequest

RunAssetDiscoveryRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.RunAssetDiscoveryCallback

Node-style callback called with the error, if any, and Operation

Returns:
Type Description
undefined

runAssetDiscovery(request) → {Promise.<google.longrunning.Operation>}

Calls RunAssetDiscovery.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IRunAssetDiscoveryRequest

RunAssetDiscoveryRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

setFindingState(request, callback) → {undefined}

Calls SetFindingState.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ISetFindingStateRequest

SetFindingStateRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.SetFindingStateCallback

Node-style callback called with the error, if any, and Finding

Returns:
Type Description
undefined

setFindingState(request) → {Promise.<google.cloud.securitycenter.v1.Finding>}

Calls SetFindingState.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ISetFindingStateRequest

SetFindingStateRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.Finding>

Promise

setIamPolicy(request, callback) → {undefined}

Calls SetIamPolicy.

Parameters:
Name Type Description
request google.iam.v1.ISetIamPolicyRequest

SetIamPolicyRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.SetIamPolicyCallback

Node-style callback called with the error, if any, and Policy

Returns:
Type Description
undefined

setIamPolicy(request) → {Promise.<google.iam.v1.Policy>}

Calls SetIamPolicy.

Parameters:
Name Type Description
request google.iam.v1.ISetIamPolicyRequest

SetIamPolicyRequest message or plain object

Returns:
Type Description
Promise.<google.iam.v1.Policy>

Promise

setMute(request, callback) → {undefined}

Calls SetMute.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ISetMuteRequest

SetMuteRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.SetMuteCallback

Node-style callback called with the error, if any, and Finding

Returns:
Type Description
undefined

setMute(request) → {Promise.<google.cloud.securitycenter.v1.Finding>}

Calls SetMute.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ISetMuteRequest

SetMuteRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.Finding>

Promise

simulateSecurityHealthAnalyticsCustomModule(request, callback) → {undefined}

Calls SimulateSecurityHealthAnalyticsCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ISimulateSecurityHealthAnalyticsCustomModuleRequest

SimulateSecurityHealthAnalyticsCustomModuleRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.SimulateSecurityHealthAnalyticsCustomModuleCallback

Node-style callback called with the error, if any, and SimulateSecurityHealthAnalyticsCustomModuleResponse

Returns:
Type Description
undefined

simulateSecurityHealthAnalyticsCustomModule(request) → {Promise.<google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse>}

Calls SimulateSecurityHealthAnalyticsCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.ISimulateSecurityHealthAnalyticsCustomModuleRequest

SimulateSecurityHealthAnalyticsCustomModuleRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse>

Promise

testIamPermissions(request, callback) → {undefined}

Calls TestIamPermissions.

Parameters:
Name Type Description
request google.iam.v1.ITestIamPermissionsRequest

TestIamPermissionsRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.TestIamPermissionsCallback

Node-style callback called with the error, if any, and TestIamPermissionsResponse

Returns:
Type Description
undefined

testIamPermissions(request) → {Promise.<google.iam.v1.TestIamPermissionsResponse>}

Calls TestIamPermissions.

Parameters:
Name Type Description
request google.iam.v1.ITestIamPermissionsRequest

TestIamPermissionsRequest message or plain object

Returns:
Type Description
Promise.<google.iam.v1.TestIamPermissionsResponse>

Promise

updateBigQueryExport(request, callback) → {undefined}

Calls UpdateBigQueryExport.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateBigQueryExportRequest

UpdateBigQueryExportRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.UpdateBigQueryExportCallback

Node-style callback called with the error, if any, and BigQueryExport

Returns:
Type Description
undefined

updateBigQueryExport(request) → {Promise.<google.cloud.securitycenter.v1.BigQueryExport>}

Calls UpdateBigQueryExport.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateBigQueryExportRequest

UpdateBigQueryExportRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.BigQueryExport>

Promise

updateEventThreatDetectionCustomModule(request, callback) → {undefined}

Calls UpdateEventThreatDetectionCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateEventThreatDetectionCustomModuleRequest

UpdateEventThreatDetectionCustomModuleRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.UpdateEventThreatDetectionCustomModuleCallback

Node-style callback called with the error, if any, and EventThreatDetectionCustomModule

Returns:
Type Description
undefined

updateEventThreatDetectionCustomModule(request) → {Promise.<google.cloud.securitycenter.v1.EventThreatDetectionCustomModule>}

Calls UpdateEventThreatDetectionCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateEventThreatDetectionCustomModuleRequest

UpdateEventThreatDetectionCustomModuleRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.EventThreatDetectionCustomModule>

Promise

updateExternalSystem(request, callback) → {undefined}

Calls UpdateExternalSystem.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateExternalSystemRequest

UpdateExternalSystemRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.UpdateExternalSystemCallback

Node-style callback called with the error, if any, and ExternalSystem

Returns:
Type Description
undefined

updateExternalSystem(request) → {Promise.<google.cloud.securitycenter.v1.ExternalSystem>}

Calls UpdateExternalSystem.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateExternalSystemRequest

UpdateExternalSystemRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ExternalSystem>

Promise

updateFinding(request, callback) → {undefined}

Calls UpdateFinding.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateFindingRequest

UpdateFindingRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.UpdateFindingCallback

Node-style callback called with the error, if any, and Finding

Returns:
Type Description
undefined

updateFinding(request) → {Promise.<google.cloud.securitycenter.v1.Finding>}

Calls UpdateFinding.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateFindingRequest

UpdateFindingRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.Finding>

Promise

updateMuteConfig(request, callback) → {undefined}

Calls UpdateMuteConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateMuteConfigRequest

UpdateMuteConfigRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.UpdateMuteConfigCallback

Node-style callback called with the error, if any, and MuteConfig

Returns:
Type Description
undefined

updateMuteConfig(request) → {Promise.<google.cloud.securitycenter.v1.MuteConfig>}

Calls UpdateMuteConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateMuteConfigRequest

UpdateMuteConfigRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.MuteConfig>

Promise

updateNotificationConfig(request, callback) → {undefined}

Calls UpdateNotificationConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateNotificationConfigRequest

UpdateNotificationConfigRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.UpdateNotificationConfigCallback

Node-style callback called with the error, if any, and NotificationConfig

Returns:
Type Description
undefined

updateNotificationConfig(request) → {Promise.<google.cloud.securitycenter.v1.NotificationConfig>}

Calls UpdateNotificationConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateNotificationConfigRequest

UpdateNotificationConfigRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.NotificationConfig>

Promise

updateOrganizationSettings(request, callback) → {undefined}

Calls UpdateOrganizationSettings.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateOrganizationSettingsRequest

UpdateOrganizationSettingsRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.UpdateOrganizationSettingsCallback

Node-style callback called with the error, if any, and OrganizationSettings

Returns:
Type Description
undefined

updateOrganizationSettings(request) → {Promise.<google.cloud.securitycenter.v1.OrganizationSettings>}

Calls UpdateOrganizationSettings.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateOrganizationSettingsRequest

UpdateOrganizationSettingsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.OrganizationSettings>

Promise

updateResourceValueConfig(request, callback) → {undefined}

Calls UpdateResourceValueConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateResourceValueConfigRequest

UpdateResourceValueConfigRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.UpdateResourceValueConfigCallback

Node-style callback called with the error, if any, and ResourceValueConfig

Returns:
Type Description
undefined

updateResourceValueConfig(request) → {Promise.<google.cloud.securitycenter.v1.ResourceValueConfig>}

Calls UpdateResourceValueConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateResourceValueConfigRequest

UpdateResourceValueConfigRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ResourceValueConfig>

Promise

updateSecurityHealthAnalyticsCustomModule(request, callback) → {undefined}

Calls UpdateSecurityHealthAnalyticsCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateSecurityHealthAnalyticsCustomModuleRequest

UpdateSecurityHealthAnalyticsCustomModuleRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.UpdateSecurityHealthAnalyticsCustomModuleCallback

Node-style callback called with the error, if any, and SecurityHealthAnalyticsCustomModule

Returns:
Type Description
undefined

updateSecurityHealthAnalyticsCustomModule(request) → {Promise.<google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule>}

Calls UpdateSecurityHealthAnalyticsCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateSecurityHealthAnalyticsCustomModuleRequest

UpdateSecurityHealthAnalyticsCustomModuleRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule>

Promise

updateSecurityMarks(request, callback) → {undefined}

Calls UpdateSecurityMarks.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateSecurityMarksRequest

UpdateSecurityMarksRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.UpdateSecurityMarksCallback

Node-style callback called with the error, if any, and SecurityMarks

Returns:
Type Description
undefined

updateSecurityMarks(request) → {Promise.<google.cloud.securitycenter.v1.SecurityMarks>}

Calls UpdateSecurityMarks.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateSecurityMarksRequest

UpdateSecurityMarksRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.SecurityMarks>

Promise

updateSource(request, callback) → {undefined}

Calls UpdateSource.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateSourceRequest

UpdateSourceRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.UpdateSourceCallback

Node-style callback called with the error, if any, and Source

Returns:
Type Description
undefined

updateSource(request) → {Promise.<google.cloud.securitycenter.v1.Source>}

Calls UpdateSource.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IUpdateSourceRequest

UpdateSourceRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.Source>

Promise

validateEventThreatDetectionCustomModule(request, callback) → {undefined}

Calls ValidateEventThreatDetectionCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IValidateEventThreatDetectionCustomModuleRequest

ValidateEventThreatDetectionCustomModuleRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.ValidateEventThreatDetectionCustomModuleCallback

Node-style callback called with the error, if any, and ValidateEventThreatDetectionCustomModuleResponse

Returns:
Type Description
undefined

validateEventThreatDetectionCustomModule(request) → {Promise.<google.cloud.securitycenter.v1.ValidateEventThreatDetectionCustomModuleResponse>}

Calls ValidateEventThreatDetectionCustomModule.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1.IValidateEventThreatDetectionCustomModuleRequest

ValidateEventThreatDetectionCustomModuleRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1.ValidateEventThreatDetectionCustomModuleResponse>

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {SecurityCenter}

Creates new SecurityCenter service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
SecurityCenter

RPC service. Useful where requests and/or responses are streamed.

Type Definitions

BatchCreateResourceValueConfigsCallback(error, responseopt)

Callback as used by batchCreateResourceValueConfigs.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.BatchCreateResourceValueConfigsResponse <optional>

BatchCreateResourceValueConfigsResponse

BulkMuteFindingsCallback(error, responseopt)

Callback as used by bulkMuteFindings.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

CreateBigQueryExportCallback(error, responseopt)

Callback as used by createBigQueryExport.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.BigQueryExport <optional>

BigQueryExport

CreateEventThreatDetectionCustomModuleCallback(error, responseopt)

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.EventThreatDetectionCustomModule <optional>

EventThreatDetectionCustomModule

CreateFindingCallback(error, responseopt)

Callback as used by createFinding.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.Finding <optional>

Finding

CreateMuteConfigCallback(error, responseopt)

Callback as used by createMuteConfig.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.MuteConfig <optional>

MuteConfig

CreateNotificationConfigCallback(error, responseopt)

Callback as used by createNotificationConfig.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.NotificationConfig <optional>

NotificationConfig

CreateSecurityHealthAnalyticsCustomModuleCallback(error, responseopt)

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule <optional>

SecurityHealthAnalyticsCustomModule

CreateSourceCallback(error, responseopt)

Callback as used by createSource.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.Source <optional>

Source

DeleteBigQueryExportCallback(error, responseopt)

Callback as used by deleteBigQueryExport.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteEventThreatDetectionCustomModuleCallback(error, responseopt)

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteMuteConfigCallback(error, responseopt)

Callback as used by deleteMuteConfig.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteNotificationConfigCallback(error, responseopt)

Callback as used by deleteNotificationConfig.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteResourceValueConfigCallback(error, responseopt)

Callback as used by deleteResourceValueConfig.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteSecurityHealthAnalyticsCustomModuleCallback(error, responseopt)

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

GetBigQueryExportCallback(error, responseopt)

Callback as used by getBigQueryExport.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.BigQueryExport <optional>

BigQueryExport

GetEffectiveEventThreatDetectionCustomModuleCallback(error, responseopt)

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.EffectiveEventThreatDetectionCustomModule <optional>

EffectiveEventThreatDetectionCustomModule

GetEffectiveSecurityHealthAnalyticsCustomModuleCallback(error, responseopt)

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule <optional>

EffectiveSecurityHealthAnalyticsCustomModule

GetEventThreatDetectionCustomModuleCallback(error, responseopt)

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.EventThreatDetectionCustomModule <optional>

EventThreatDetectionCustomModule

GetIamPolicyCallback(error, responseopt)

Callback as used by getIamPolicy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.iam.v1.Policy <optional>

Policy

GetMuteConfigCallback(error, responseopt)

Callback as used by getMuteConfig.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.MuteConfig <optional>

MuteConfig

GetNotificationConfigCallback(error, responseopt)

Callback as used by getNotificationConfig.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.NotificationConfig <optional>

NotificationConfig

GetOrganizationSettingsCallback(error, responseopt)

Callback as used by getOrganizationSettings.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.OrganizationSettings <optional>

OrganizationSettings

GetResourceValueConfigCallback(error, responseopt)

Callback as used by getResourceValueConfig.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ResourceValueConfig <optional>

ResourceValueConfig

GetSecurityHealthAnalyticsCustomModuleCallback(error, responseopt)

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule <optional>

SecurityHealthAnalyticsCustomModule

GetSimulationCallback(error, responseopt)

Callback as used by getSimulation.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.Simulation <optional>

Simulation

GetSourceCallback(error, responseopt)

Callback as used by getSource.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.Source <optional>

Source

GetValuedResourceCallback(error, responseopt)

Callback as used by getValuedResource.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ValuedResource <optional>

ValuedResource

GroupAssetsCallback(error, responseopt)

Callback as used by groupAssets.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.GroupAssetsResponse <optional>

GroupAssetsResponse

GroupFindingsCallback(error, responseopt)

Callback as used by groupFindings.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.GroupFindingsResponse <optional>

GroupFindingsResponse

ListAssetsCallback(error, responseopt)

Callback as used by listAssets.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ListAssetsResponse <optional>

ListAssetsResponse

ListAttackPathsCallback(error, responseopt)

Callback as used by listAttackPaths.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ListAttackPathsResponse <optional>

ListAttackPathsResponse

ListBigQueryExportsCallback(error, responseopt)

Callback as used by listBigQueryExports.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ListBigQueryExportsResponse <optional>

ListBigQueryExportsResponse

ListDescendantEventThreatDetectionCustomModulesCallback(error, responseopt)

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ListDescendantEventThreatDetectionCustomModulesResponse <optional>

ListDescendantEventThreatDetectionCustomModulesResponse

ListDescendantSecurityHealthAnalyticsCustomModulesCallback(error, responseopt)

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ListDescendantSecurityHealthAnalyticsCustomModulesResponse <optional>

ListDescendantSecurityHealthAnalyticsCustomModulesResponse

ListEffectiveEventThreatDetectionCustomModulesCallback(error, responseopt)

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ListEffectiveEventThreatDetectionCustomModulesResponse <optional>

ListEffectiveEventThreatDetectionCustomModulesResponse

ListEffectiveSecurityHealthAnalyticsCustomModulesCallback(error, responseopt)

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse <optional>

ListEffectiveSecurityHealthAnalyticsCustomModulesResponse

ListEventThreatDetectionCustomModulesCallback(error, responseopt)

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ListEventThreatDetectionCustomModulesResponse <optional>

ListEventThreatDetectionCustomModulesResponse

ListFindingsCallback(error, responseopt)

Callback as used by listFindings.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ListFindingsResponse <optional>

ListFindingsResponse

ListMuteConfigsCallback(error, responseopt)

Callback as used by listMuteConfigs.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ListMuteConfigsResponse <optional>

ListMuteConfigsResponse

ListNotificationConfigsCallback(error, responseopt)

Callback as used by listNotificationConfigs.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ListNotificationConfigsResponse <optional>

ListNotificationConfigsResponse

ListResourceValueConfigsCallback(error, responseopt)

Callback as used by listResourceValueConfigs.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ListResourceValueConfigsResponse <optional>

ListResourceValueConfigsResponse

ListSecurityHealthAnalyticsCustomModulesCallback(error, responseopt)

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ListSecurityHealthAnalyticsCustomModulesResponse <optional>

ListSecurityHealthAnalyticsCustomModulesResponse

ListSourcesCallback(error, responseopt)

Callback as used by listSources.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ListSourcesResponse <optional>

ListSourcesResponse

ListValuedResourcesCallback(error, responseopt)

Callback as used by listValuedResources.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ListValuedResourcesResponse <optional>

ListValuedResourcesResponse

RunAssetDiscoveryCallback(error, responseopt)

Callback as used by runAssetDiscovery.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

SetFindingStateCallback(error, responseopt)

Callback as used by setFindingState.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.Finding <optional>

Finding

SetIamPolicyCallback(error, responseopt)

Callback as used by setIamPolicy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.iam.v1.Policy <optional>

Policy

SetMuteCallback(error, responseopt)

Callback as used by setMute.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.Finding <optional>

Finding

SimulateSecurityHealthAnalyticsCustomModuleCallback(error, responseopt)

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse <optional>

SimulateSecurityHealthAnalyticsCustomModuleResponse

TestIamPermissionsCallback(error, responseopt)

Callback as used by testIamPermissions.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.iam.v1.TestIamPermissionsResponse <optional>

TestIamPermissionsResponse

UpdateBigQueryExportCallback(error, responseopt)

Callback as used by updateBigQueryExport.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.BigQueryExport <optional>

BigQueryExport

UpdateEventThreatDetectionCustomModuleCallback(error, responseopt)

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.EventThreatDetectionCustomModule <optional>

EventThreatDetectionCustomModule

UpdateExternalSystemCallback(error, responseopt)

Callback as used by updateExternalSystem.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ExternalSystem <optional>

ExternalSystem

UpdateFindingCallback(error, responseopt)

Callback as used by updateFinding.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.Finding <optional>

Finding

UpdateMuteConfigCallback(error, responseopt)

Callback as used by updateMuteConfig.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.MuteConfig <optional>

MuteConfig

UpdateNotificationConfigCallback(error, responseopt)

Callback as used by updateNotificationConfig.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.NotificationConfig <optional>

NotificationConfig

UpdateOrganizationSettingsCallback(error, responseopt)

Callback as used by updateOrganizationSettings.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.OrganizationSettings <optional>

OrganizationSettings

UpdateResourceValueConfigCallback(error, responseopt)

Callback as used by updateResourceValueConfig.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ResourceValueConfig <optional>

ResourceValueConfig

UpdateSecurityHealthAnalyticsCustomModuleCallback(error, responseopt)

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule <optional>

SecurityHealthAnalyticsCustomModule

UpdateSecurityMarksCallback(error, responseopt)

Callback as used by updateSecurityMarks.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.SecurityMarks <optional>

SecurityMarks

UpdateSourceCallback(error, responseopt)

Callback as used by updateSource.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.Source <optional>

Source

ValidateEventThreatDetectionCustomModuleCallback(error, responseopt)

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.securitycenter.v1.ValidateEventThreatDetectionCustomModuleResponse <optional>

ValidateEventThreatDetectionCustomModuleResponse