Summary of entries of Methods for securitycenter.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient
SecurityCenterAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.securitycenter_v1.services.security_center.transports.base.SecurityCenterTransport, typing.Callable[[...], google.cloud.securitycenter_v1.services.security_center.transports.base.SecurityCenterTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the security center async client.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.asset_path
asset_path(organization: str, asset: str) -> str
Returns a fully-qualified asset string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.asset_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.big_query_export_path
big_query_export_path(organization: str, export: str) -> str
Returns a fully-qualified big_query_export string.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.bulk_mute_findings
bulk_mute_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.BulkMuteFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Kicks off an LRO to bulk mute findings for a parent based on a filter.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.bulk_mute_findings
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.cancel_operation
cancel_operation(
request: typing.Optional[
google.longrunning.operations_pb2.CancelOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Starts asynchronous cancellation on a long-running operation.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.cancel_operation
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.common_folder_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.create_big_query_export
create_big_query_export(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.CreateBigQueryExportRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
big_query_export: typing.Optional[
google.cloud.securitycenter_v1.types.bigquery_export.BigQueryExport
] = None,
big_query_export_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.bigquery_export.BigQueryExport
Creates a BigQuery export.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.create_finding
create_finding(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.CreateFindingRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
finding_id: typing.Optional[str] = None,
finding: typing.Optional[
google.cloud.securitycenter_v1.types.finding.Finding
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.finding.Finding
Creates a finding.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.create_finding
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.create_mute_config
create_mute_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.CreateMuteConfigRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
mute_config: typing.Optional[
google.cloud.securitycenter_v1.types.mute_config.MuteConfig
] = None,
mute_config_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.mute_config.MuteConfig
Creates a mute config.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.create_mute_config
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.create_notification_config
create_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.CreateNotificationConfigRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
config_id: typing.Optional[str] = None,
notification_config: typing.Optional[
google.cloud.securitycenter_v1.types.notification_config.NotificationConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.notification_config.NotificationConfig
Creates a notification config.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.create_security_health_analytics_custom_module
create_security_health_analytics_custom_module(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.CreateSecurityHealthAnalyticsCustomModuleRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
security_health_analytics_custom_module: typing.Optional[
google.cloud.securitycenter_v1.types.security_health_analytics_custom_module.SecurityHealthAnalyticsCustomModule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.types.security_health_analytics_custom_module.SecurityHealthAnalyticsCustomModule
)
Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants of the given parent.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.create_source
create_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.CreateSourceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
source: typing.Optional[google.cloud.securitycenter_v1.types.source.Source] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.source.Source
Creates a source.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.create_source
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.delete_big_query_export
delete_big_query_export(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.DeleteBigQueryExportRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an existing BigQuery export.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.delete_mute_config
delete_mute_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.DeleteMuteConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an existing mute config.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.delete_mute_config
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.delete_notification_config
delete_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.DeleteNotificationConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a notification config.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.delete_operation
delete_operation(
request: typing.Optional[
google.longrunning.operations_pb2.DeleteOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a long-running operation.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.delete_operation
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.delete_security_health_analytics_custom_module
delete_security_health_analytics_custom_module(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.DeleteSecurityHealthAnalyticsCustomModuleRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the CRM hierarchy.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.dlp_job_path
dlp_job_path(project: str, dlp_job: str) -> str
Returns a fully-qualified dlp_job string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.dlp_job_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.effective_security_health_analytics_custom_module_path
effective_security_health_analytics_custom_module_path(
organization: str, effective_custom_module: str
) -> str
Returns a fully-qualified effective_security_health_analytics_custom_module string.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.external_system_path
external_system_path(
organization: str, source: str, finding: str, externalsystem: str
) -> str
Returns a fully-qualified external_system string.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.finding_path
finding_path(organization: str, source: str, finding: str) -> str
Returns a fully-qualified finding string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.finding_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.get_big_query_export
get_big_query_export(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.GetBigQueryExportRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.bigquery_export.BigQueryExport
Gets a BigQuery export.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.get_effective_security_health_analytics_custom_module
get_effective_security_health_analytics_custom_module(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.GetEffectiveSecurityHealthAnalyticsCustomModuleRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.types.effective_security_health_analytics_custom_module.EffectiveSecurityHealthAnalyticsCustomModule
)
Retrieves an EffectiveSecurityHealthAnalyticsCustomModule.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the access control policy on the specified Source.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.get_iam_policy
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.get_mute_config
get_mute_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.GetMuteConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.mute_config.MuteConfig
Gets a mute config.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.get_mute_config
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.get_notification_config
get_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.GetNotificationConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.notification_config.NotificationConfig
Gets a notification config.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.get_operation
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.get_organization_settings
get_organization_settings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.GetOrganizationSettingsRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.organization_settings.OrganizationSettings
Gets the settings for an organization.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.get_security_health_analytics_custom_module
get_security_health_analytics_custom_module(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.GetSecurityHealthAnalyticsCustomModuleRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.types.security_health_analytics_custom_module.SecurityHealthAnalyticsCustomModule
)
Retrieves a SecurityHealthAnalyticsCustomModule.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.get_source
get_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.GetSourceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.source.Source
Gets a source.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.get_source
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.securitycenter_v1.services.security_center.transports.base.SecurityCenterTransport
]
)
Returns an appropriate transport class.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.group_assets
group_assets(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.GroupAssetsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.services.security_center.pagers.GroupAssetsAsyncPager
)
Filters an organization's assets and groups them by their specified properties.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.group_assets
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.group_findings
group_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.GroupFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
group_by: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.services.security_center.pagers.GroupFindingsAsyncPager
)
Filters an organization or source's findings and groups them by their specified properties.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.group_findings
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.list_assets
list_assets(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.ListAssetsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.services.security_center.pagers.ListAssetsAsyncPager
)
Lists an organization's assets.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.list_assets
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.list_big_query_exports
list_big_query_exports(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.ListBigQueryExportsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.services.security_center.pagers.ListBigQueryExportsAsyncPager
)
Lists BigQuery exports.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.list_descendant_security_health_analytics_custom_modules
list_descendant_security_health_analytics_custom_modules(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.ListDescendantSecurityHealthAnalyticsCustomModulesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.services.security_center.pagers.ListDescendantSecurityHealthAnalyticsCustomModulesAsyncPager
)
Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent’s CRM descendants.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.list_effective_security_health_analytics_custom_modules
list_effective_security_health_analytics_custom_modules(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.ListEffectiveSecurityHealthAnalyticsCustomModulesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.services.security_center.pagers.ListEffectiveSecurityHealthAnalyticsCustomModulesAsyncPager
)
Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.list_findings
list_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.ListFindingsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.services.security_center.pagers.ListFindingsAsyncPager
)
Lists an organization or source's findings.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.list_findings
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.list_mute_configs
list_mute_configs(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.ListMuteConfigsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.services.security_center.pagers.ListMuteConfigsAsyncPager
)
Lists mute configs.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.list_mute_configs
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.list_notification_configs
list_notification_configs(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.ListNotificationConfigsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.services.security_center.pagers.ListNotificationConfigsAsyncPager
)
Lists notification configs.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.list_operations
list_operations(
request: typing.Optional[
google.longrunning.operations_pb2.ListOperationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.list_operations
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.list_security_health_analytics_custom_modules
list_security_health_analytics_custom_modules(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.ListSecurityHealthAnalyticsCustomModulesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.services.security_center.pagers.ListSecurityHealthAnalyticsCustomModulesAsyncPager
)
Returns a list of all SecurityHealthAnalyticsCustomModules for the given parent.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.list_sources
list_sources(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.ListSourcesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.services.security_center.pagers.ListSourcesAsyncPager
)
Lists all sources belonging to an organization.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.list_sources
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.mute_config_path
mute_config_path(organization: str, mute_config: str) -> str
Returns a fully-qualified mute_config string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.mute_config_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.notification_config_path
notification_config_path(organization: str, notification_config: str) -> str
Returns a fully-qualified notification_config string.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.organization_settings_path
organization_settings_path(organization: str) -> str
Returns a fully-qualified organization_settings string.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_asset_path
parse_asset_path(path: str) -> typing.Dict[str, str]
Parses a asset path into its component segments.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_asset_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_big_query_export_path
parse_big_query_export_path(path: str) -> typing.Dict[str, str]
Parses a big_query_export path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_dlp_job_path
parse_dlp_job_path(path: str) -> typing.Dict[str, str]
Parses a dlp_job path into its component segments.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_dlp_job_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_effective_security_health_analytics_custom_module_path
parse_effective_security_health_analytics_custom_module_path(
path: str,
) -> typing.Dict[str, str]
Parses a effective_security_health_analytics_custom_module path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_external_system_path
parse_external_system_path(path: str) -> typing.Dict[str, str]
Parses a external_system path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_finding_path
parse_finding_path(path: str) -> typing.Dict[str, str]
Parses a finding path into its component segments.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_finding_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_mute_config_path
parse_mute_config_path(path: str) -> typing.Dict[str, str]
Parses a mute_config path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_notification_config_path
parse_notification_config_path(path: str) -> typing.Dict[str, str]
Parses a notification_config path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_organization_settings_path
parse_organization_settings_path(path: str) -> typing.Dict[str, str]
Parses a organization_settings path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_policy_path
parse_policy_path(path: str) -> typing.Dict[str, str]
Parses a policy path into its component segments.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_policy_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_security_health_analytics_custom_module_path
parse_security_health_analytics_custom_module_path(
path: str,
) -> typing.Dict[str, str]
Parses a security_health_analytics_custom_module path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_security_marks_path
parse_security_marks_path(path: str) -> typing.Dict[str, str]
Parses a security_marks path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_source_path
parse_source_path(path: str) -> typing.Dict[str, str]
Parses a source path into its component segments.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_source_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_table_data_profile_path
parse_table_data_profile_path(path: str) -> typing.Dict[str, str]
Parses a table_data_profile path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_topic_path
parse_topic_path(path: str) -> typing.Dict[str, str]
Parses a topic path into its component segments.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.parse_topic_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.policy_path
policy_path(organization: str, constraint_name: str) -> str
Returns a fully-qualified policy string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.policy_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.run_asset_discovery
run_asset_discovery(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.RunAssetDiscoveryRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Runs asset discovery.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.security_health_analytics_custom_module_path
security_health_analytics_custom_module_path(
organization: str, custom_module: str
) -> str
Returns a fully-qualified security_health_analytics_custom_module string.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.security_marks_path
security_marks_path(organization: str, asset: str) -> str
Returns a fully-qualified security_marks string.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.set_finding_state
set_finding_state(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.SetFindingStateRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
state: typing.Optional[
google.cloud.securitycenter_v1.types.finding.Finding.State
] = None,
start_time: typing.Optional[google.protobuf.timestamp_pb2.Timestamp] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.finding.Finding
Updates the state of a finding.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.set_finding_state
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the access control policy on the specified Source.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.set_iam_policy
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.set_mute
set_mute(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.SetMuteRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
mute: typing.Optional[
google.cloud.securitycenter_v1.types.finding.Finding.Mute
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.finding.Finding
Updates the mute state of a finding.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.set_mute
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.simulate_security_health_analytics_custom_module
simulate_security_health_analytics_custom_module(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.SimulateSecurityHealthAnalyticsCustomModuleRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
custom_config: typing.Optional[
google.cloud.securitycenter_v1.types.security_health_analytics_custom_config.CustomConfig
] = None,
resource: typing.Optional[
google.cloud.securitycenter_v1.types.securitycenter_service.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.types.securitycenter_service.SimulateSecurityHealthAnalyticsCustomModuleResponse
)
Simulates a given SecurityHealthAnalyticsCustomModule and Resource.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.source_path
source_path(organization: str, source: str) -> str
Returns a fully-qualified source string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.source_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.table_data_profile_path
table_data_profile_path(project: str, table_profile: str) -> str
Returns a fully-qualified table_data_profile string.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
permissions: typing.Optional[typing.MutableSequence[str]] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns the permissions that a caller has on the specified source.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.topic_path
topic_path(project: str, topic: str) -> str
Returns a fully-qualified topic string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.topic_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.update_big_query_export
update_big_query_export(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.UpdateBigQueryExportRequest,
dict,
]
] = None,
*,
big_query_export: typing.Optional[
google.cloud.securitycenter_v1.types.bigquery_export.BigQueryExport
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.bigquery_export.BigQueryExport
Updates a BigQuery export.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.update_external_system
update_external_system(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.UpdateExternalSystemRequest,
dict,
]
] = None,
*,
external_system: typing.Optional[
google.cloud.securitycenter_v1.types.external_system.ExternalSystem
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.external_system.ExternalSystem
Updates external system.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.update_finding
update_finding(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.UpdateFindingRequest,
dict,
]
] = None,
*,
finding: typing.Optional[
google.cloud.securitycenter_v1.types.finding.Finding
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.finding.Finding
Creates or updates a finding.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.update_finding
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.update_mute_config
update_mute_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.UpdateMuteConfigRequest,
dict,
]
] = None,
*,
mute_config: typing.Optional[
google.cloud.securitycenter_v1.types.mute_config.MuteConfig
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.mute_config.MuteConfig
Updates a mute config.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.update_mute_config
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.update_notification_config
update_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.UpdateNotificationConfigRequest,
dict,
]
] = None,
*,
notification_config: typing.Optional[
google.cloud.securitycenter_v1.types.notification_config.NotificationConfig
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.notification_config.NotificationConfig
Updates a notification config.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.update_organization_settings
update_organization_settings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.UpdateOrganizationSettingsRequest,
dict,
]
] = None,
*,
organization_settings: typing.Optional[
google.cloud.securitycenter_v1.types.organization_settings.OrganizationSettings
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.organization_settings.OrganizationSettings
Updates an organization's settings.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.update_security_health_analytics_custom_module
update_security_health_analytics_custom_module(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.UpdateSecurityHealthAnalyticsCustomModuleRequest,
dict,
]
] = None,
*,
security_health_analytics_custom_module: typing.Optional[
google.cloud.securitycenter_v1.types.security_health_analytics_custom_module.SecurityHealthAnalyticsCustomModule
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.types.security_health_analytics_custom_module.SecurityHealthAnalyticsCustomModule
)
Updates the SecurityHealthAnalyticsCustomModule under the given name based on the given update mask.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.update_security_marks
update_security_marks(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.UpdateSecurityMarksRequest,
dict,
]
] = None,
*,
security_marks: typing.Optional[
google.cloud.securitycenter_v1.types.security_marks.SecurityMarks
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.security_marks.SecurityMarks
Updates security marks.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.update_source
update_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.UpdateSourceRequest,
dict,
]
] = None,
*,
source: typing.Optional[google.cloud.securitycenter_v1.types.source.Source] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.source.Source
Updates a source.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterAsyncClient.update_source
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient
SecurityCenterClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.securitycenter_v1.services.security_center.transports.base.SecurityCenterTransport, typing.Callable[[...], google.cloud.securitycenter_v1.services.security_center.transports.base.SecurityCenterTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the security center client.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.exit
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.asset_path
asset_path(organization: str, asset: str) -> str
Returns a fully-qualified asset string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.asset_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.big_query_export_path
big_query_export_path(organization: str, export: str) -> str
Returns a fully-qualified big_query_export string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.big_query_export_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.bulk_mute_findings
bulk_mute_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.BulkMuteFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Kicks off an LRO to bulk mute findings for a parent based on a filter.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.bulk_mute_findings
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.cancel_operation
cancel_operation(
request: typing.Optional[
google.longrunning.operations_pb2.CancelOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Starts asynchronous cancellation on a long-running operation.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.cancel_operation
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.common_folder_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.common_location_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.common_project_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.create_big_query_export
create_big_query_export(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.CreateBigQueryExportRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
big_query_export: typing.Optional[
google.cloud.securitycenter_v1.types.bigquery_export.BigQueryExport
] = None,
big_query_export_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.bigquery_export.BigQueryExport
Creates a BigQuery export.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.create_big_query_export
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.create_finding
create_finding(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.CreateFindingRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
finding_id: typing.Optional[str] = None,
finding: typing.Optional[
google.cloud.securitycenter_v1.types.finding.Finding
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.finding.Finding
Creates a finding.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.create_finding
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.create_mute_config
create_mute_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.CreateMuteConfigRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
mute_config: typing.Optional[
google.cloud.securitycenter_v1.types.mute_config.MuteConfig
] = None,
mute_config_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.mute_config.MuteConfig
Creates a mute config.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.create_mute_config
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.create_notification_config
create_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.CreateNotificationConfigRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
config_id: typing.Optional[str] = None,
notification_config: typing.Optional[
google.cloud.securitycenter_v1.types.notification_config.NotificationConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.notification_config.NotificationConfig
Creates a notification config.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.create_security_health_analytics_custom_module
create_security_health_analytics_custom_module(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.CreateSecurityHealthAnalyticsCustomModuleRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
security_health_analytics_custom_module: typing.Optional[
google.cloud.securitycenter_v1.types.security_health_analytics_custom_module.SecurityHealthAnalyticsCustomModule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.types.security_health_analytics_custom_module.SecurityHealthAnalyticsCustomModule
)
Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants of the given parent.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.create_source
create_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.CreateSourceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
source: typing.Optional[google.cloud.securitycenter_v1.types.source.Source] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.source.Source
Creates a source.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.create_source
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.delete_big_query_export
delete_big_query_export(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.DeleteBigQueryExportRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an existing BigQuery export.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.delete_big_query_export
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.delete_mute_config
delete_mute_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.DeleteMuteConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an existing mute config.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.delete_mute_config
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.delete_notification_config
delete_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.DeleteNotificationConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a notification config.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.delete_operation
delete_operation(
request: typing.Optional[
google.longrunning.operations_pb2.DeleteOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a long-running operation.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.delete_operation
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.delete_security_health_analytics_custom_module
delete_security_health_analytics_custom_module(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.DeleteSecurityHealthAnalyticsCustomModuleRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the CRM hierarchy.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.dlp_job_path
dlp_job_path(project: str, dlp_job: str) -> str
Returns a fully-qualified dlp_job string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.dlp_job_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.effective_security_health_analytics_custom_module_path
effective_security_health_analytics_custom_module_path(
organization: str, effective_custom_module: str
) -> str
Returns a fully-qualified effective_security_health_analytics_custom_module string.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.external_system_path
external_system_path(
organization: str, source: str, finding: str, externalsystem: str
) -> str
Returns a fully-qualified external_system string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.external_system_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.finding_path
finding_path(organization: str, source: str, finding: str) -> str
Returns a fully-qualified finding string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.finding_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.get_big_query_export
get_big_query_export(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.GetBigQueryExportRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.bigquery_export.BigQueryExport
Gets a BigQuery export.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.get_big_query_export
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.get_effective_security_health_analytics_custom_module
get_effective_security_health_analytics_custom_module(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.GetEffectiveSecurityHealthAnalyticsCustomModuleRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.types.effective_security_health_analytics_custom_module.EffectiveSecurityHealthAnalyticsCustomModule
)
Retrieves an EffectiveSecurityHealthAnalyticsCustomModule.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the access control policy on the specified Source.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.get_iam_policy
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.get_mute_config
get_mute_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.GetMuteConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.mute_config.MuteConfig
Gets a mute config.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.get_mute_config
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.get_notification_config
get_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.GetNotificationConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.notification_config.NotificationConfig
Gets a notification config.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.get_notification_config
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.get_operation
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.get_organization_settings
get_organization_settings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.GetOrganizationSettingsRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.organization_settings.OrganizationSettings
Gets the settings for an organization.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.get_security_health_analytics_custom_module
get_security_health_analytics_custom_module(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.GetSecurityHealthAnalyticsCustomModuleRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.types.security_health_analytics_custom_module.SecurityHealthAnalyticsCustomModule
)
Retrieves a SecurityHealthAnalyticsCustomModule.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.get_source
get_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.GetSourceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.source.Source
Gets a source.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.get_source
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.group_assets
group_assets(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.GroupAssetsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.services.security_center.pagers.GroupAssetsPager
Filters an organization's assets and groups them by their specified properties.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.group_assets
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.group_findings
group_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.GroupFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
group_by: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.services.security_center.pagers.GroupFindingsPager
Filters an organization or source's findings and groups them by their specified properties.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.group_findings
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.list_assets
list_assets(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.ListAssetsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.services.security_center.pagers.ListAssetsPager
Lists an organization's assets.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.list_assets
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.list_big_query_exports
list_big_query_exports(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.ListBigQueryExportsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.services.security_center.pagers.ListBigQueryExportsPager
)
Lists BigQuery exports.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.list_big_query_exports
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.list_descendant_security_health_analytics_custom_modules
list_descendant_security_health_analytics_custom_modules(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.ListDescendantSecurityHealthAnalyticsCustomModulesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.services.security_center.pagers.ListDescendantSecurityHealthAnalyticsCustomModulesPager
)
Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent’s CRM descendants.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.list_effective_security_health_analytics_custom_modules
list_effective_security_health_analytics_custom_modules(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.ListEffectiveSecurityHealthAnalyticsCustomModulesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.services.security_center.pagers.ListEffectiveSecurityHealthAnalyticsCustomModulesPager
)
Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.list_findings
list_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.ListFindingsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.services.security_center.pagers.ListFindingsPager
Lists an organization or source's findings.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.list_findings
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.list_mute_configs
list_mute_configs(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.ListMuteConfigsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.services.security_center.pagers.ListMuteConfigsPager
)
Lists mute configs.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.list_mute_configs
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.list_notification_configs
list_notification_configs(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.ListNotificationConfigsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.services.security_center.pagers.ListNotificationConfigsPager
)
Lists notification configs.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.list_operations
list_operations(
request: typing.Optional[
google.longrunning.operations_pb2.ListOperationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.list_operations
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.list_security_health_analytics_custom_modules
list_security_health_analytics_custom_modules(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.ListSecurityHealthAnalyticsCustomModulesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.services.security_center.pagers.ListSecurityHealthAnalyticsCustomModulesPager
)
Returns a list of all SecurityHealthAnalyticsCustomModules for the given parent.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.list_sources
list_sources(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.ListSourcesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.services.security_center.pagers.ListSourcesPager
Lists all sources belonging to an organization.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.list_sources
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.mute_config_path
mute_config_path(organization: str, mute_config: str) -> str
Returns a fully-qualified mute_config string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.mute_config_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.notification_config_path
notification_config_path(organization: str, notification_config: str) -> str
Returns a fully-qualified notification_config string.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.organization_settings_path
organization_settings_path(organization: str) -> str
Returns a fully-qualified organization_settings string.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_asset_path
parse_asset_path(path: str) -> typing.Dict[str, str]
Parses a asset path into its component segments.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_asset_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_big_query_export_path
parse_big_query_export_path(path: str) -> typing.Dict[str, str]
Parses a big_query_export path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_dlp_job_path
parse_dlp_job_path(path: str) -> typing.Dict[str, str]
Parses a dlp_job path into its component segments.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_dlp_job_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_effective_security_health_analytics_custom_module_path
parse_effective_security_health_analytics_custom_module_path(
path: str,
) -> typing.Dict[str, str]
Parses a effective_security_health_analytics_custom_module path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_external_system_path
parse_external_system_path(path: str) -> typing.Dict[str, str]
Parses a external_system path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_finding_path
parse_finding_path(path: str) -> typing.Dict[str, str]
Parses a finding path into its component segments.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_finding_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_mute_config_path
parse_mute_config_path(path: str) -> typing.Dict[str, str]
Parses a mute_config path into its component segments.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_mute_config_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_notification_config_path
parse_notification_config_path(path: str) -> typing.Dict[str, str]
Parses a notification_config path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_organization_settings_path
parse_organization_settings_path(path: str) -> typing.Dict[str, str]
Parses a organization_settings path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_policy_path
parse_policy_path(path: str) -> typing.Dict[str, str]
Parses a policy path into its component segments.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_policy_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_security_health_analytics_custom_module_path
parse_security_health_analytics_custom_module_path(
path: str,
) -> typing.Dict[str, str]
Parses a security_health_analytics_custom_module path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_security_marks_path
parse_security_marks_path(path: str) -> typing.Dict[str, str]
Parses a security_marks path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_source_path
parse_source_path(path: str) -> typing.Dict[str, str]
Parses a source path into its component segments.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_source_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_table_data_profile_path
parse_table_data_profile_path(path: str) -> typing.Dict[str, str]
Parses a table_data_profile path into its component segments.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_topic_path
parse_topic_path(path: str) -> typing.Dict[str, str]
Parses a topic path into its component segments.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.parse_topic_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.policy_path
policy_path(organization: str, constraint_name: str) -> str
Returns a fully-qualified policy string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.policy_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.run_asset_discovery
run_asset_discovery(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.RunAssetDiscoveryRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Runs asset discovery.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.run_asset_discovery
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.security_health_analytics_custom_module_path
security_health_analytics_custom_module_path(
organization: str, custom_module: str
) -> str
Returns a fully-qualified security_health_analytics_custom_module string.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.security_marks_path
security_marks_path(organization: str, asset: str) -> str
Returns a fully-qualified security_marks string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.security_marks_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.set_finding_state
set_finding_state(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.SetFindingStateRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
state: typing.Optional[
google.cloud.securitycenter_v1.types.finding.Finding.State
] = None,
start_time: typing.Optional[google.protobuf.timestamp_pb2.Timestamp] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.finding.Finding
Updates the state of a finding.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.set_finding_state
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the access control policy on the specified Source.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.set_iam_policy
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.set_mute
set_mute(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.SetMuteRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
mute: typing.Optional[
google.cloud.securitycenter_v1.types.finding.Finding.Mute
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.finding.Finding
Updates the mute state of a finding.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.set_mute
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.simulate_security_health_analytics_custom_module
simulate_security_health_analytics_custom_module(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.SimulateSecurityHealthAnalyticsCustomModuleRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
custom_config: typing.Optional[
google.cloud.securitycenter_v1.types.security_health_analytics_custom_config.CustomConfig
] = None,
resource: typing.Optional[
google.cloud.securitycenter_v1.types.securitycenter_service.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResource
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.types.securitycenter_service.SimulateSecurityHealthAnalyticsCustomModuleResponse
)
Simulates a given SecurityHealthAnalyticsCustomModule and Resource.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.source_path
source_path(organization: str, source: str) -> str
Returns a fully-qualified source string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.source_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.table_data_profile_path
table_data_profile_path(project: str, table_profile: str) -> str
Returns a fully-qualified table_data_profile string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.table_data_profile_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
permissions: typing.Optional[typing.MutableSequence[str]] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns the permissions that a caller has on the specified source.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.test_iam_permissions
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.topic_path
topic_path(project: str, topic: str) -> str
Returns a fully-qualified topic string.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.topic_path
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.update_big_query_export
update_big_query_export(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.UpdateBigQueryExportRequest,
dict,
]
] = None,
*,
big_query_export: typing.Optional[
google.cloud.securitycenter_v1.types.bigquery_export.BigQueryExport
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.bigquery_export.BigQueryExport
Updates a BigQuery export.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.update_big_query_export
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.update_external_system
update_external_system(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.UpdateExternalSystemRequest,
dict,
]
] = None,
*,
external_system: typing.Optional[
google.cloud.securitycenter_v1.types.external_system.ExternalSystem
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.external_system.ExternalSystem
Updates external system.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.update_external_system
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.update_finding
update_finding(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.UpdateFindingRequest,
dict,
]
] = None,
*,
finding: typing.Optional[
google.cloud.securitycenter_v1.types.finding.Finding
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.finding.Finding
Creates or updates a finding.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.update_finding
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.update_mute_config
update_mute_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.UpdateMuteConfigRequest,
dict,
]
] = None,
*,
mute_config: typing.Optional[
google.cloud.securitycenter_v1.types.mute_config.MuteConfig
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.mute_config.MuteConfig
Updates a mute config.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.update_mute_config
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.update_notification_config
update_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.UpdateNotificationConfigRequest,
dict,
]
] = None,
*,
notification_config: typing.Optional[
google.cloud.securitycenter_v1.types.notification_config.NotificationConfig
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.notification_config.NotificationConfig
Updates a notification config.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.update_organization_settings
update_organization_settings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.UpdateOrganizationSettingsRequest,
dict,
]
] = None,
*,
organization_settings: typing.Optional[
google.cloud.securitycenter_v1.types.organization_settings.OrganizationSettings
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.organization_settings.OrganizationSettings
Updates an organization's settings.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.update_security_health_analytics_custom_module
update_security_health_analytics_custom_module(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.UpdateSecurityHealthAnalyticsCustomModuleRequest,
dict,
]
] = None,
*,
security_health_analytics_custom_module: typing.Optional[
google.cloud.securitycenter_v1.types.security_health_analytics_custom_module.SecurityHealthAnalyticsCustomModule
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1.types.security_health_analytics_custom_module.SecurityHealthAnalyticsCustomModule
)
Updates the SecurityHealthAnalyticsCustomModule under the given name based on the given update mask.
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.update_security_marks
update_security_marks(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.UpdateSecurityMarksRequest,
dict,
]
] = None,
*,
security_marks: typing.Optional[
google.cloud.securitycenter_v1.types.security_marks.SecurityMarks
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.security_marks.SecurityMarks
Updates security marks.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.update_security_marks
google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.update_source
update_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1.types.securitycenter_service.UpdateSourceRequest,
dict,
]
] = None,
*,
source: typing.Optional[google.cloud.securitycenter_v1.types.source.Source] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1.types.source.Source
Updates a source.
See more: google.cloud.securitycenter_v1.services.security_center.SecurityCenterClient.update_source
google.cloud.securitycenter_v1.services.security_center.pagers.GroupAssetsAsyncPager
GroupAssetsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1.types.securitycenter_service.GroupAssetsResponse
],
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.GroupAssetsRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.GroupAssetsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v1.services.security_center.pagers.GroupAssetsAsyncPager
google.cloud.securitycenter_v1.services.security_center.pagers.GroupAssetsPager
GroupAssetsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1.types.securitycenter_service.GroupAssetsResponse,
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.GroupAssetsRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.GroupAssetsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1.services.security_center.pagers.GroupAssetsPager
google.cloud.securitycenter_v1.services.security_center.pagers.GroupFindingsAsyncPager
GroupFindingsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1.types.securitycenter_service.GroupFindingsResponse
],
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.GroupFindingsRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.GroupFindingsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v1.services.security_center.pagers.GroupFindingsAsyncPager
google.cloud.securitycenter_v1.services.security_center.pagers.GroupFindingsPager
GroupFindingsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1.types.securitycenter_service.GroupFindingsResponse,
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.GroupFindingsRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.GroupFindingsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1.services.security_center.pagers.GroupFindingsPager
google.cloud.securitycenter_v1.services.security_center.pagers.ListAssetsAsyncPager
ListAssetsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1.types.securitycenter_service.ListAssetsResponse
],
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListAssetsRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListAssetsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v1.services.security_center.pagers.ListAssetsAsyncPager
google.cloud.securitycenter_v1.services.security_center.pagers.ListAssetsPager
ListAssetsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1.types.securitycenter_service.ListAssetsResponse,
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListAssetsRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListAssetsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1.services.security_center.pagers.ListAssetsPager
google.cloud.securitycenter_v1.services.security_center.pagers.ListBigQueryExportsAsyncPager
ListBigQueryExportsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1.types.securitycenter_service.ListBigQueryExportsResponse
],
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListBigQueryExportsRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListBigQueryExportsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v1.services.security_center.pagers.ListBigQueryExportsAsyncPager
google.cloud.securitycenter_v1.services.security_center.pagers.ListBigQueryExportsPager
ListBigQueryExportsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1.types.securitycenter_service.ListBigQueryExportsResponse,
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListBigQueryExportsRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListBigQueryExportsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1.services.security_center.pagers.ListBigQueryExportsPager
google.cloud.securitycenter_v1.services.security_center.pagers.ListDescendantSecurityHealthAnalyticsCustomModulesAsyncPager
ListDescendantSecurityHealthAnalyticsCustomModulesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1.types.securitycenter_service.ListDescendantSecurityHealthAnalyticsCustomModulesResponse
],
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListDescendantSecurityHealthAnalyticsCustomModulesRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListDescendantSecurityHealthAnalyticsCustomModulesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
google.cloud.securitycenter_v1.services.security_center.pagers.ListDescendantSecurityHealthAnalyticsCustomModulesPager
ListDescendantSecurityHealthAnalyticsCustomModulesPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1.types.securitycenter_service.ListDescendantSecurityHealthAnalyticsCustomModulesResponse,
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListDescendantSecurityHealthAnalyticsCustomModulesRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListDescendantSecurityHealthAnalyticsCustomModulesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
google.cloud.securitycenter_v1.services.security_center.pagers.ListEffectiveSecurityHealthAnalyticsCustomModulesAsyncPager
ListEffectiveSecurityHealthAnalyticsCustomModulesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1.types.securitycenter_service.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse
],
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListEffectiveSecurityHealthAnalyticsCustomModulesRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
google.cloud.securitycenter_v1.services.security_center.pagers.ListEffectiveSecurityHealthAnalyticsCustomModulesPager
ListEffectiveSecurityHealthAnalyticsCustomModulesPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1.types.securitycenter_service.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse,
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListEffectiveSecurityHealthAnalyticsCustomModulesRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
google.cloud.securitycenter_v1.services.security_center.pagers.ListFindingsAsyncPager
ListFindingsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1.types.securitycenter_service.ListFindingsResponse
],
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListFindingsRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListFindingsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v1.services.security_center.pagers.ListFindingsAsyncPager
google.cloud.securitycenter_v1.services.security_center.pagers.ListFindingsPager
ListFindingsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1.types.securitycenter_service.ListFindingsResponse,
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListFindingsRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListFindingsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1.services.security_center.pagers.ListFindingsPager
google.cloud.securitycenter_v1.services.security_center.pagers.ListMuteConfigsAsyncPager
ListMuteConfigsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1.types.securitycenter_service.ListMuteConfigsResponse
],
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListMuteConfigsRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListMuteConfigsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v1.services.security_center.pagers.ListMuteConfigsAsyncPager
google.cloud.securitycenter_v1.services.security_center.pagers.ListMuteConfigsPager
ListMuteConfigsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1.types.securitycenter_service.ListMuteConfigsResponse,
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListMuteConfigsRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListMuteConfigsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1.services.security_center.pagers.ListMuteConfigsPager
google.cloud.securitycenter_v1.services.security_center.pagers.ListNotificationConfigsAsyncPager
ListNotificationConfigsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1.types.securitycenter_service.ListNotificationConfigsResponse
],
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListNotificationConfigsRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListNotificationConfigsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v1.services.security_center.pagers.ListNotificationConfigsAsyncPager
google.cloud.securitycenter_v1.services.security_center.pagers.ListNotificationConfigsPager
ListNotificationConfigsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1.types.securitycenter_service.ListNotificationConfigsResponse,
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListNotificationConfigsRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListNotificationConfigsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1.services.security_center.pagers.ListNotificationConfigsPager
google.cloud.securitycenter_v1.services.security_center.pagers.ListSecurityHealthAnalyticsCustomModulesAsyncPager
ListSecurityHealthAnalyticsCustomModulesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1.types.securitycenter_service.ListSecurityHealthAnalyticsCustomModulesResponse
],
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListSecurityHealthAnalyticsCustomModulesRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListSecurityHealthAnalyticsCustomModulesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
google.cloud.securitycenter_v1.services.security_center.pagers.ListSecurityHealthAnalyticsCustomModulesPager
ListSecurityHealthAnalyticsCustomModulesPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1.types.securitycenter_service.ListSecurityHealthAnalyticsCustomModulesResponse,
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListSecurityHealthAnalyticsCustomModulesRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListSecurityHealthAnalyticsCustomModulesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
google.cloud.securitycenter_v1.services.security_center.pagers.ListSourcesAsyncPager
ListSourcesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1.types.securitycenter_service.ListSourcesResponse
],
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListSourcesRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListSourcesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v1.services.security_center.pagers.ListSourcesAsyncPager
google.cloud.securitycenter_v1.services.security_center.pagers.ListSourcesPager
ListSourcesPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1.types.securitycenter_service.ListSourcesResponse,
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListSourcesRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListSourcesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1.services.security_center.pagers.ListSourcesPager
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient
SecurityCenterAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.securitycenter_v1beta1.services.security_center.transports.base.SecurityCenterTransport, typing.Callable[[...], google.cloud.securitycenter_v1beta1.services.security_center.transports.base.SecurityCenterTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the security center async client.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.asset_path
asset_path(organization: str, asset: str) -> str
Returns a fully-qualified asset string.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.asset_path
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.create_finding
create_finding(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.CreateFindingRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
finding_id: typing.Optional[str] = None,
finding: typing.Optional[
google.cloud.securitycenter_v1beta1.types.finding.Finding
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1beta1.types.finding.Finding
Creates a finding.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.create_source
create_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.CreateSourceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
source: typing.Optional[
google.cloud.securitycenter_v1beta1.types.source.Source
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1beta1.types.source.Source
Creates a source.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.create_source
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.finding_path
finding_path(organization: str, source: str, finding: str) -> str
Returns a fully-qualified finding string.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.finding_path
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the access control policy on the specified Source.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.get_organization_settings
get_organization_settings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.GetOrganizationSettingsRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1beta1.types.organization_settings.OrganizationSettings
)
Gets the settings for an organization.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.get_source
get_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.GetSourceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1beta1.types.source.Source
Gets a source.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.get_source
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.securitycenter_v1beta1.services.security_center.transports.base.SecurityCenterTransport
]
)
Returns an appropriate transport class.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.group_assets
group_assets(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupAssetsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1beta1.services.security_center.pagers.GroupAssetsAsyncPager
)
Filters an organization's assets and groups them by their specified properties.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.group_assets
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.group_findings
group_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
group_by: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1beta1.services.security_center.pagers.GroupFindingsAsyncPager
)
Filters an organization or source's findings and groups them by their specified properties.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.list_assets
list_assets(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListAssetsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1beta1.services.security_center.pagers.ListAssetsAsyncPager
)
Lists an organization's assets.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.list_assets
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.list_findings
list_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListFindingsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1beta1.services.security_center.pagers.ListFindingsAsyncPager
)
Lists an organization or source's findings.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.list_findings
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.list_sources
list_sources(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListSourcesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1beta1.services.security_center.pagers.ListSourcesAsyncPager
)
Lists all sources belonging to an organization.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.list_sources
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.organization_settings_path
organization_settings_path(organization: str) -> str
Returns a fully-qualified organization_settings string.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.parse_asset_path
parse_asset_path(path: str) -> typing.Dict[str, str]
Parses a asset path into its component segments.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.parse_finding_path
parse_finding_path(path: str) -> typing.Dict[str, str]
Parses a finding path into its component segments.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.parse_organization_settings_path
parse_organization_settings_path(path: str) -> typing.Dict[str, str]
Parses a organization_settings path into its component segments.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.parse_security_marks_path
parse_security_marks_path(path: str) -> typing.Dict[str, str]
Parses a security_marks path into its component segments.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.parse_source_path
parse_source_path(path: str) -> typing.Dict[str, str]
Parses a source path into its component segments.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.run_asset_discovery
run_asset_discovery(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.RunAssetDiscoveryRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Runs asset discovery.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.security_marks_path
security_marks_path(organization: str, asset: str) -> str
Returns a fully-qualified security_marks string.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.set_finding_state
set_finding_state(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.SetFindingStateRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
state: typing.Optional[
google.cloud.securitycenter_v1beta1.types.finding.Finding.State
] = None,
start_time: typing.Optional[google.protobuf.timestamp_pb2.Timestamp] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1beta1.types.finding.Finding
Updates the state of a finding.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the access control policy on the specified Source.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.source_path
source_path(organization: str, source: str) -> str
Returns a fully-qualified source string.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.source_path
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
permissions: typing.Optional[typing.MutableSequence[str]] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns the permissions that a caller has on the specified source.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.update_finding
update_finding(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.UpdateFindingRequest,
dict,
]
] = None,
*,
finding: typing.Optional[
google.cloud.securitycenter_v1beta1.types.finding.Finding
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1beta1.types.finding.Finding
Creates or updates a finding.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.update_organization_settings
update_organization_settings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.UpdateOrganizationSettingsRequest,
dict,
]
] = None,
*,
organization_settings: typing.Optional[
google.cloud.securitycenter_v1beta1.types.organization_settings.OrganizationSettings
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1beta1.types.organization_settings.OrganizationSettings
)
Updates an organization's settings.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.update_security_marks
update_security_marks(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.UpdateSecurityMarksRequest,
dict,
]
] = None,
*,
security_marks: typing.Optional[
google.cloud.securitycenter_v1beta1.types.security_marks.SecurityMarks
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1beta1.types.security_marks.SecurityMarks
Updates security marks.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.update_source
update_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.UpdateSourceRequest,
dict,
]
] = None,
*,
source: typing.Optional[
google.cloud.securitycenter_v1beta1.types.source.Source
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1beta1.types.source.Source
Updates a source.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterAsyncClient.update_source
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient
SecurityCenterClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.securitycenter_v1beta1.services.security_center.transports.base.SecurityCenterTransport, typing.Callable[[...], google.cloud.securitycenter_v1beta1.services.security_center.transports.base.SecurityCenterTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the security center client.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.exit
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.asset_path
asset_path(organization: str, asset: str) -> str
Returns a fully-qualified asset string.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.asset_path
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.common_folder_path
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.create_finding
create_finding(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.CreateFindingRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
finding_id: typing.Optional[str] = None,
finding: typing.Optional[
google.cloud.securitycenter_v1beta1.types.finding.Finding
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1beta1.types.finding.Finding
Creates a finding.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.create_finding
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.create_source
create_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.CreateSourceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
source: typing.Optional[
google.cloud.securitycenter_v1beta1.types.source.Source
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1beta1.types.source.Source
Creates a source.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.create_source
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.finding_path
finding_path(organization: str, source: str, finding: str) -> str
Returns a fully-qualified finding string.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.finding_path
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the access control policy on the specified Source.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.get_iam_policy
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.get_organization_settings
get_organization_settings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.GetOrganizationSettingsRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1beta1.types.organization_settings.OrganizationSettings
)
Gets the settings for an organization.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.get_source
get_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.GetSourceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1beta1.types.source.Source
Gets a source.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.get_source
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.group_assets
group_assets(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupAssetsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1beta1.services.security_center.pagers.GroupAssetsPager
)
Filters an organization's assets and groups them by their specified properties.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.group_assets
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.group_findings
group_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
group_by: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1beta1.services.security_center.pagers.GroupFindingsPager
)
Filters an organization or source's findings and groups them by their specified properties.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.group_findings
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.list_assets
list_assets(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListAssetsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1beta1.services.security_center.pagers.ListAssetsPager
)
Lists an organization's assets.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.list_assets
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.list_findings
list_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListFindingsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1beta1.services.security_center.pagers.ListFindingsPager
)
Lists an organization or source's findings.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.list_findings
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.list_sources
list_sources(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListSourcesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1beta1.services.security_center.pagers.ListSourcesPager
)
Lists all sources belonging to an organization.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.list_sources
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.organization_settings_path
organization_settings_path(organization: str) -> str
Returns a fully-qualified organization_settings string.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.parse_asset_path
parse_asset_path(path: str) -> typing.Dict[str, str]
Parses a asset path into its component segments.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.parse_asset_path
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.parse_finding_path
parse_finding_path(path: str) -> typing.Dict[str, str]
Parses a finding path into its component segments.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.parse_finding_path
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.parse_organization_settings_path
parse_organization_settings_path(path: str) -> typing.Dict[str, str]
Parses a organization_settings path into its component segments.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.parse_security_marks_path
parse_security_marks_path(path: str) -> typing.Dict[str, str]
Parses a security_marks path into its component segments.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.parse_source_path
parse_source_path(path: str) -> typing.Dict[str, str]
Parses a source path into its component segments.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.parse_source_path
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.run_asset_discovery
run_asset_discovery(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.RunAssetDiscoveryRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Runs asset discovery.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.security_marks_path
security_marks_path(organization: str, asset: str) -> str
Returns a fully-qualified security_marks string.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.set_finding_state
set_finding_state(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.SetFindingStateRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
state: typing.Optional[
google.cloud.securitycenter_v1beta1.types.finding.Finding.State
] = None,
start_time: typing.Optional[google.protobuf.timestamp_pb2.Timestamp] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1beta1.types.finding.Finding
Updates the state of a finding.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.set_finding_state
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the access control policy on the specified Source.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.set_iam_policy
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.source_path
source_path(organization: str, source: str) -> str
Returns a fully-qualified source string.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.source_path
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
permissions: typing.Optional[typing.MutableSequence[str]] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns the permissions that a caller has on the specified source.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.update_finding
update_finding(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.UpdateFindingRequest,
dict,
]
] = None,
*,
finding: typing.Optional[
google.cloud.securitycenter_v1beta1.types.finding.Finding
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1beta1.types.finding.Finding
Creates or updates a finding.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.update_finding
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.update_organization_settings
update_organization_settings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.UpdateOrganizationSettingsRequest,
dict,
]
] = None,
*,
organization_settings: typing.Optional[
google.cloud.securitycenter_v1beta1.types.organization_settings.OrganizationSettings
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1beta1.types.organization_settings.OrganizationSettings
)
Updates an organization's settings.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.update_security_marks
update_security_marks(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.UpdateSecurityMarksRequest,
dict,
]
] = None,
*,
security_marks: typing.Optional[
google.cloud.securitycenter_v1beta1.types.security_marks.SecurityMarks
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1beta1.types.security_marks.SecurityMarks
Updates security marks.
google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.update_source
update_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.UpdateSourceRequest,
dict,
]
] = None,
*,
source: typing.Optional[
google.cloud.securitycenter_v1beta1.types.source.Source
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1beta1.types.source.Source
Updates a source.
See more: google.cloud.securitycenter_v1beta1.services.security_center.SecurityCenterClient.update_source
google.cloud.securitycenter_v1beta1.services.security_center.pagers.GroupAssetsAsyncPager
GroupAssetsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupAssetsResponse
],
],
request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupAssetsRequest,
response: google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupAssetsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v1beta1.services.security_center.pagers.GroupAssetsAsyncPager
google.cloud.securitycenter_v1beta1.services.security_center.pagers.GroupAssetsPager
GroupAssetsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupAssetsResponse,
],
request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupAssetsRequest,
response: google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupAssetsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1beta1.services.security_center.pagers.GroupAssetsPager
google.cloud.securitycenter_v1beta1.services.security_center.pagers.GroupFindingsAsyncPager
GroupFindingsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupFindingsResponse
],
],
request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupFindingsRequest,
response: google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupFindingsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v1beta1.services.security_center.pagers.GroupFindingsAsyncPager
google.cloud.securitycenter_v1beta1.services.security_center.pagers.GroupFindingsPager
GroupFindingsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupFindingsResponse,
],
request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupFindingsRequest,
response: google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupFindingsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1beta1.services.security_center.pagers.GroupFindingsPager
google.cloud.securitycenter_v1beta1.services.security_center.pagers.ListAssetsAsyncPager
ListAssetsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListAssetsResponse
],
],
request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListAssetsRequest,
response: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListAssetsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v1beta1.services.security_center.pagers.ListAssetsAsyncPager
google.cloud.securitycenter_v1beta1.services.security_center.pagers.ListAssetsPager
ListAssetsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListAssetsResponse,
],
request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListAssetsRequest,
response: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListAssetsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1beta1.services.security_center.pagers.ListAssetsPager
google.cloud.securitycenter_v1beta1.services.security_center.pagers.ListFindingsAsyncPager
ListFindingsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListFindingsResponse
],
],
request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListFindingsRequest,
response: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListFindingsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v1beta1.services.security_center.pagers.ListFindingsAsyncPager
google.cloud.securitycenter_v1beta1.services.security_center.pagers.ListFindingsPager
ListFindingsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListFindingsResponse,
],
request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListFindingsRequest,
response: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListFindingsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1beta1.services.security_center.pagers.ListFindingsPager
google.cloud.securitycenter_v1beta1.services.security_center.pagers.ListSourcesAsyncPager
ListSourcesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListSourcesResponse
],
],
request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListSourcesRequest,
response: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListSourcesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v1beta1.services.security_center.pagers.ListSourcesAsyncPager
google.cloud.securitycenter_v1beta1.services.security_center.pagers.ListSourcesPager
ListSourcesPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListSourcesResponse,
],
request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListSourcesRequest,
response: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListSourcesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1beta1.services.security_center.pagers.ListSourcesPager
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient
SecurityCenterAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.securitycenter_v1p1beta1.services.security_center.transports.base.SecurityCenterTransport, typing.Callable[[...], google.cloud.securitycenter_v1p1beta1.services.security_center.transports.base.SecurityCenterTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the security center async client.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.asset_path
asset_path(organization: str, asset: str) -> str
Returns a fully-qualified asset string.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.asset_path
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.create_finding
create_finding(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.CreateFindingRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
finding_id: typing.Optional[str] = None,
finding: typing.Optional[
google.cloud.securitycenter_v1p1beta1.types.finding.Finding
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.finding.Finding
Creates a finding.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.create_notification_config
create_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.CreateNotificationConfigRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
config_id: typing.Optional[str] = None,
notification_config: typing.Optional[
google.cloud.securitycenter_v1p1beta1.types.notification_config.NotificationConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.notification_config.NotificationConfig
Creates a notification config.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.create_source
create_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.CreateSourceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
source: typing.Optional[
google.cloud.securitycenter_v1p1beta1.types.source.Source
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.source.Source
Creates a source.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.delete_notification_config
delete_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.DeleteNotificationConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a notification config.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.finding_path
finding_path(organization: str, source: str, finding: str) -> str
Returns a fully-qualified finding string.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the access control policy on the specified Source.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.get_notification_config
get_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GetNotificationConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.notification_config.NotificationConfig
Gets a notification config.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.get_organization_settings
get_organization_settings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GetOrganizationSettingsRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1p1beta1.types.organization_settings.OrganizationSettings
)
Gets the settings for an organization.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.get_source
get_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GetSourceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.source.Source
Gets a source.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.get_source
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.securitycenter_v1p1beta1.services.security_center.transports.base.SecurityCenterTransport
]
)
Returns an appropriate transport class.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.group_assets
group_assets(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupAssetsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.GroupAssetsAsyncPager
)
Filters an organization's assets and groups them by their specified properties.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.group_findings
group_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
group_by: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.GroupFindingsAsyncPager
)
Filters an organization or source's findings and groups them by their specified properties.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.list_assets
list_assets(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListAssetsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListAssetsAsyncPager
)
Lists an organization's assets.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.list_assets
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.list_findings
list_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListFindingsAsyncPager
)
Lists an organization or source's findings.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.list_notification_configs
list_notification_configs(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListNotificationConfigsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListNotificationConfigsAsyncPager
)
Lists notification configs.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.list_sources
list_sources(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListSourcesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListSourcesAsyncPager
)
Lists all sources belonging to an organization.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.notification_config_path
notification_config_path(organization: str, notification_config: str) -> str
Returns a fully-qualified notification_config string.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.organization_settings_path
organization_settings_path(organization: str) -> str
Returns a fully-qualified organization_settings string.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.parse_asset_path
parse_asset_path(path: str) -> typing.Dict[str, str]
Parses a asset path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.parse_finding_path
parse_finding_path(path: str) -> typing.Dict[str, str]
Parses a finding path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.parse_notification_config_path
parse_notification_config_path(path: str) -> typing.Dict[str, str]
Parses a notification_config path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.parse_organization_settings_path
parse_organization_settings_path(path: str) -> typing.Dict[str, str]
Parses a organization_settings path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.parse_security_marks_path
parse_security_marks_path(path: str) -> typing.Dict[str, str]
Parses a security_marks path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.parse_source_path
parse_source_path(path: str) -> typing.Dict[str, str]
Parses a source path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.parse_topic_path
parse_topic_path(path: str) -> typing.Dict[str, str]
Parses a topic path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.run_asset_discovery
run_asset_discovery(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.RunAssetDiscoveryRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Runs asset discovery.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.security_marks_path
security_marks_path(organization: str, asset: str) -> str
Returns a fully-qualified security_marks string.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.set_finding_state
set_finding_state(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.SetFindingStateRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
state: typing.Optional[
google.cloud.securitycenter_v1p1beta1.types.finding.Finding.State
] = None,
start_time: typing.Optional[google.protobuf.timestamp_pb2.Timestamp] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.finding.Finding
Updates the state of a finding.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the access control policy on the specified Source.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.source_path
source_path(organization: str, source: str) -> str
Returns a fully-qualified source string.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.source_path
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
permissions: typing.Optional[typing.MutableSequence[str]] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns the permissions that a caller has on the specified source.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.topic_path
topic_path(project: str, topic: str) -> str
Returns a fully-qualified topic string.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.topic_path
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.update_finding
update_finding(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.UpdateFindingRequest,
dict,
]
] = None,
*,
finding: typing.Optional[
google.cloud.securitycenter_v1p1beta1.types.finding.Finding
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.finding.Finding
Creates or updates a finding.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.update_notification_config
update_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.UpdateNotificationConfigRequest,
dict,
]
] = None,
*,
notification_config: typing.Optional[
google.cloud.securitycenter_v1p1beta1.types.notification_config.NotificationConfig
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.notification_config.NotificationConfig
Updates a notification config.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.update_organization_settings
update_organization_settings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.UpdateOrganizationSettingsRequest,
dict,
]
] = None,
*,
organization_settings: typing.Optional[
google.cloud.securitycenter_v1p1beta1.types.organization_settings.OrganizationSettings
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1p1beta1.types.organization_settings.OrganizationSettings
)
Updates an organization's settings.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.update_security_marks
update_security_marks(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.UpdateSecurityMarksRequest,
dict,
]
] = None,
*,
security_marks: typing.Optional[
google.cloud.securitycenter_v1p1beta1.types.security_marks.SecurityMarks
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.security_marks.SecurityMarks
Updates security marks.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterAsyncClient.update_source
update_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.UpdateSourceRequest,
dict,
]
] = None,
*,
source: typing.Optional[
google.cloud.securitycenter_v1p1beta1.types.source.Source
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.source.Source
Updates a source.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient
SecurityCenterClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.securitycenter_v1p1beta1.services.security_center.transports.base.SecurityCenterTransport, typing.Callable[[...], google.cloud.securitycenter_v1p1beta1.services.security_center.transports.base.SecurityCenterTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the security center client.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.exit
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.asset_path
asset_path(organization: str, asset: str) -> str
Returns a fully-qualified asset string.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.asset_path
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.create_finding
create_finding(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.CreateFindingRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
finding_id: typing.Optional[str] = None,
finding: typing.Optional[
google.cloud.securitycenter_v1p1beta1.types.finding.Finding
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.finding.Finding
Creates a finding.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.create_finding
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.create_notification_config
create_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.CreateNotificationConfigRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
config_id: typing.Optional[str] = None,
notification_config: typing.Optional[
google.cloud.securitycenter_v1p1beta1.types.notification_config.NotificationConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.notification_config.NotificationConfig
Creates a notification config.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.create_source
create_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.CreateSourceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
source: typing.Optional[
google.cloud.securitycenter_v1p1beta1.types.source.Source
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.source.Source
Creates a source.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.create_source
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.delete_notification_config
delete_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.DeleteNotificationConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a notification config.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.finding_path
finding_path(organization: str, source: str, finding: str) -> str
Returns a fully-qualified finding string.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.finding_path
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the access control policy on the specified Source.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.get_iam_policy
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.get_notification_config
get_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GetNotificationConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.notification_config.NotificationConfig
Gets a notification config.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.get_organization_settings
get_organization_settings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GetOrganizationSettingsRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1p1beta1.types.organization_settings.OrganizationSettings
)
Gets the settings for an organization.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.get_source
get_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GetSourceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.source.Source
Gets a source.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.get_source
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.group_assets
group_assets(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupAssetsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.GroupAssetsPager
)
Filters an organization's assets and groups them by their specified properties.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.group_assets
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.group_findings
group_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
group_by: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.GroupFindingsPager
)
Filters an organization or source's findings and groups them by their specified properties.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.group_findings
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.list_assets
list_assets(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListAssetsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListAssetsPager
)
Lists an organization's assets.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.list_assets
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.list_findings
list_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListFindingsPager
)
Lists an organization or source's findings.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.list_findings
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.list_notification_configs
list_notification_configs(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListNotificationConfigsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListNotificationConfigsPager
)
Lists notification configs.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.list_sources
list_sources(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListSourcesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListSourcesPager
)
Lists all sources belonging to an organization.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.list_sources
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.notification_config_path
notification_config_path(organization: str, notification_config: str) -> str
Returns a fully-qualified notification_config string.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.organization_settings_path
organization_settings_path(organization: str) -> str
Returns a fully-qualified organization_settings string.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.parse_asset_path
parse_asset_path(path: str) -> typing.Dict[str, str]
Parses a asset path into its component segments.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.parse_asset_path
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.parse_finding_path
parse_finding_path(path: str) -> typing.Dict[str, str]
Parses a finding path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.parse_notification_config_path
parse_notification_config_path(path: str) -> typing.Dict[str, str]
Parses a notification_config path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.parse_organization_settings_path
parse_organization_settings_path(path: str) -> typing.Dict[str, str]
Parses a organization_settings path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.parse_security_marks_path
parse_security_marks_path(path: str) -> typing.Dict[str, str]
Parses a security_marks path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.parse_source_path
parse_source_path(path: str) -> typing.Dict[str, str]
Parses a source path into its component segments.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.parse_topic_path
parse_topic_path(path: str) -> typing.Dict[str, str]
Parses a topic path into its component segments.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.parse_topic_path
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.run_asset_discovery
run_asset_discovery(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.RunAssetDiscoveryRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Runs asset discovery.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.security_marks_path
security_marks_path(organization: str, asset: str) -> str
Returns a fully-qualified security_marks string.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.set_finding_state
set_finding_state(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.SetFindingStateRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
state: typing.Optional[
google.cloud.securitycenter_v1p1beta1.types.finding.Finding.State
] = None,
start_time: typing.Optional[google.protobuf.timestamp_pb2.Timestamp] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.finding.Finding
Updates the state of a finding.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the access control policy on the specified Source.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.set_iam_policy
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.source_path
source_path(organization: str, source: str) -> str
Returns a fully-qualified source string.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.source_path
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
permissions: typing.Optional[typing.MutableSequence[str]] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns the permissions that a caller has on the specified source.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.topic_path
topic_path(project: str, topic: str) -> str
Returns a fully-qualified topic string.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.topic_path
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.update_finding
update_finding(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.UpdateFindingRequest,
dict,
]
] = None,
*,
finding: typing.Optional[
google.cloud.securitycenter_v1p1beta1.types.finding.Finding
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.finding.Finding
Creates or updates a finding.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.update_finding
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.update_notification_config
update_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.UpdateNotificationConfigRequest,
dict,
]
] = None,
*,
notification_config: typing.Optional[
google.cloud.securitycenter_v1p1beta1.types.notification_config.NotificationConfig
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.notification_config.NotificationConfig
Updates a notification config.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.update_organization_settings
update_organization_settings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.UpdateOrganizationSettingsRequest,
dict,
]
] = None,
*,
organization_settings: typing.Optional[
google.cloud.securitycenter_v1p1beta1.types.organization_settings.OrganizationSettings
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v1p1beta1.types.organization_settings.OrganizationSettings
)
Updates an organization's settings.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.update_security_marks
update_security_marks(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.UpdateSecurityMarksRequest,
dict,
]
] = None,
*,
security_marks: typing.Optional[
google.cloud.securitycenter_v1p1beta1.types.security_marks.SecurityMarks
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.security_marks.SecurityMarks
Updates security marks.
google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.update_source
update_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.UpdateSourceRequest,
dict,
]
] = None,
*,
source: typing.Optional[
google.cloud.securitycenter_v1p1beta1.types.source.Source
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v1p1beta1.types.source.Source
Updates a source.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.SecurityCenterClient.update_source
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.GroupAssetsAsyncPager
GroupAssetsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupAssetsResponse
],
],
request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupAssetsRequest,
response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupAssetsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.GroupAssetsAsyncPager
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.GroupAssetsPager
GroupAssetsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupAssetsResponse,
],
request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupAssetsRequest,
response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupAssetsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.GroupAssetsPager
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.GroupFindingsAsyncPager
GroupFindingsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupFindingsResponse
],
],
request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupFindingsRequest,
response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupFindingsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.GroupFindingsAsyncPager
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.GroupFindingsPager
GroupFindingsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupFindingsResponse,
],
request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupFindingsRequest,
response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupFindingsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.GroupFindingsPager
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListAssetsAsyncPager
ListAssetsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListAssetsResponse
],
],
request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListAssetsRequest,
response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListAssetsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListAssetsAsyncPager
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListAssetsPager
ListAssetsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListAssetsResponse,
],
request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListAssetsRequest,
response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListAssetsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListAssetsPager
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListFindingsAsyncPager
ListFindingsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListFindingsResponse
],
],
request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListFindingsRequest,
response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListFindingsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListFindingsAsyncPager
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListFindingsPager
ListFindingsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListFindingsResponse,
],
request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListFindingsRequest,
response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListFindingsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListFindingsPager
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListNotificationConfigsAsyncPager
ListNotificationConfigsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListNotificationConfigsResponse
],
],
request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListNotificationConfigsRequest,
response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListNotificationConfigsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListNotificationConfigsPager
ListNotificationConfigsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListNotificationConfigsResponse,
],
request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListNotificationConfigsRequest,
response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListNotificationConfigsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListNotificationConfigsPager
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListSourcesAsyncPager
ListSourcesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListSourcesResponse
],
],
request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListSourcesRequest,
response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListSourcesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListSourcesAsyncPager
google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListSourcesPager
ListSourcesPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListSourcesResponse,
],
request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListSourcesRequest,
response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListSourcesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v1p1beta1.services.security_center.pagers.ListSourcesPager
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient
SecurityCenterAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.securitycenter_v2.services.security_center.transports.base.SecurityCenterTransport, typing.Callable[[...], google.cloud.securitycenter_v2.services.security_center.transports.base.SecurityCenterTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the security center async client.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.attack_path_path
attack_path_path(
organization: str, simulation: str, valued_resource: str, attack_path: str
) -> str
Returns a fully-qualified attack_path string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.attack_path_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.batch_create_resource_value_configs
batch_create_resource_value_configs(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.BatchCreateResourceValueConfigsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.securitycenter_v2.types.securitycenter_service.CreateResourceValueConfigRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v2.types.securitycenter_service.BatchCreateResourceValueConfigsResponse
)
Creates a ResourceValueConfig for an organization.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.big_query_export_path
big_query_export_path(organization: str, location: str, export: str) -> str
Returns a fully-qualified big_query_export string.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.bulk_mute_findings
bulk_mute_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.BulkMuteFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Kicks off an LRO to bulk mute findings for a parent based on a filter.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.bulk_mute_findings
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.cancel_operation
cancel_operation(
request: typing.Optional[
google.longrunning.operations_pb2.CancelOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Starts asynchronous cancellation on a long-running operation.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.cancel_operation
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.common_folder_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.create_big_query_export
create_big_query_export(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.CreateBigQueryExportRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
big_query_export: typing.Optional[
google.cloud.securitycenter_v2.types.bigquery_export.BigQueryExport
] = None,
big_query_export_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.bigquery_export.BigQueryExport
Creates a BigQuery export.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.create_finding
create_finding(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.CreateFindingRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
finding: typing.Optional[
google.cloud.securitycenter_v2.types.finding.Finding
] = None,
finding_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.finding.Finding
Creates a finding in a location.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.create_finding
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.create_mute_config
create_mute_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.CreateMuteConfigRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
mute_config: typing.Optional[
google.cloud.securitycenter_v2.types.mute_config.MuteConfig
] = None,
mute_config_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.mute_config.MuteConfig
Creates a mute config.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.create_mute_config
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.create_notification_config
create_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.CreateNotificationConfigRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
notification_config: typing.Optional[
google.cloud.securitycenter_v2.types.notification_config.NotificationConfig
] = None,
config_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.notification_config.NotificationConfig
Creates a notification config.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.create_source
create_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.CreateSourceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
source: typing.Optional[google.cloud.securitycenter_v2.types.source.Source] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.source.Source
Creates a source.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.create_source
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.delete_big_query_export
delete_big_query_export(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.DeleteBigQueryExportRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an existing BigQuery export.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.delete_mute_config
delete_mute_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.DeleteMuteConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an existing mute config.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.delete_mute_config
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.delete_notification_config
delete_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.DeleteNotificationConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a notification config.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.delete_operation
delete_operation(
request: typing.Optional[
google.longrunning.operations_pb2.DeleteOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a long-running operation.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.delete_operation
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.delete_resource_value_config
delete_resource_value_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.DeleteResourceValueConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a ResourceValueConfig.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.dlp_job_path
dlp_job_path(project: str, dlp_job: str) -> str
Returns a fully-qualified dlp_job string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.dlp_job_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.external_system_path
external_system_path(
organization: str, source: str, finding: str, externalsystem: str
) -> str
Returns a fully-qualified external_system string.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.finding_path
finding_path(organization: str, source: str, finding: str) -> str
Returns a fully-qualified finding string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.finding_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.get_big_query_export
get_big_query_export(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.GetBigQueryExportRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.bigquery_export.BigQueryExport
Gets a BigQuery export.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the access control policy on the specified Source.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.get_iam_policy
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.get_mute_config
get_mute_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.GetMuteConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.mute_config.MuteConfig
Gets a mute config.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.get_mute_config
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.get_notification_config
get_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.GetNotificationConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.notification_config.NotificationConfig
Gets a notification config.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.get_operation
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.get_resource_value_config
get_resource_value_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.GetResourceValueConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.resource_value_config.ResourceValueConfig
Gets a ResourceValueConfig.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.get_simulation
get_simulation(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.GetSimulationRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.simulation.Simulation
Get the simulation by name or the latest simulation for the given organization.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.get_simulation
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.get_source
get_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.GetSourceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.source.Source
Gets a source.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.get_source
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.securitycenter_v2.services.security_center.transports.base.SecurityCenterTransport
]
)
Returns an appropriate transport class.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.get_valued_resource
get_valued_resource(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.GetValuedResourceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.valued_resource.ValuedResource
Get the valued resource by name.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.group_findings
group_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.GroupFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
group_by: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v2.services.security_center.pagers.GroupFindingsAsyncPager
)
Filters an organization or source's findings and groups them by their specified properties in a location.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.group_findings
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.list_attack_paths
list_attack_paths(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.ListAttackPathsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v2.services.security_center.pagers.ListAttackPathsAsyncPager
)
Lists the attack paths for a set of simulation results or valued resources and filter.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.list_attack_paths
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.list_big_query_exports
list_big_query_exports(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.ListBigQueryExportsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v2.services.security_center.pagers.ListBigQueryExportsAsyncPager
)
Lists BigQuery exports.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.list_findings
list_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.ListFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v2.services.security_center.pagers.ListFindingsAsyncPager
)
Lists an organization or source's findings.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.list_findings
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.list_mute_configs
list_mute_configs(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.ListMuteConfigsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v2.services.security_center.pagers.ListMuteConfigsAsyncPager
)
Lists mute configs.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.list_mute_configs
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.list_notification_configs
list_notification_configs(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.ListNotificationConfigsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v2.services.security_center.pagers.ListNotificationConfigsAsyncPager
)
Lists notification configs.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.list_operations
list_operations(
request: typing.Optional[
google.longrunning.operations_pb2.ListOperationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.list_operations
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.list_resource_value_configs
list_resource_value_configs(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.ListResourceValueConfigsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v2.services.security_center.pagers.ListResourceValueConfigsAsyncPager
)
Lists all ResourceValueConfigs.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.list_sources
list_sources(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.ListSourcesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v2.services.security_center.pagers.ListSourcesAsyncPager
)
Lists all sources belonging to an organization.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.list_sources
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.list_valued_resources
list_valued_resources(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.ListValuedResourcesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v2.services.security_center.pagers.ListValuedResourcesAsyncPager
)
Lists the valued resources for a set of simulation results and filter.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.mute_config_path
mute_config_path(organization: str, mute_config: str) -> str
Returns a fully-qualified mute_config string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.mute_config_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.notification_config_path
notification_config_path(
organization: str, location: str, notification_config: str
) -> str
Returns a fully-qualified notification_config string.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_attack_path_path
parse_attack_path_path(path: str) -> typing.Dict[str, str]
Parses a attack_path path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_big_query_export_path
parse_big_query_export_path(path: str) -> typing.Dict[str, str]
Parses a big_query_export path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_dlp_job_path
parse_dlp_job_path(path: str) -> typing.Dict[str, str]
Parses a dlp_job path into its component segments.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_dlp_job_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_external_system_path
parse_external_system_path(path: str) -> typing.Dict[str, str]
Parses a external_system path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_finding_path
parse_finding_path(path: str) -> typing.Dict[str, str]
Parses a finding path into its component segments.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_finding_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_mute_config_path
parse_mute_config_path(path: str) -> typing.Dict[str, str]
Parses a mute_config path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_notification_config_path
parse_notification_config_path(path: str) -> typing.Dict[str, str]
Parses a notification_config path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_policy_path
parse_policy_path(path: str) -> typing.Dict[str, str]
Parses a policy path into its component segments.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_policy_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_resource_value_config_path
parse_resource_value_config_path(path: str) -> typing.Dict[str, str]
Parses a resource_value_config path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_security_marks_path
parse_security_marks_path(path: str) -> typing.Dict[str, str]
Parses a security_marks path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_simulation_path
parse_simulation_path(path: str) -> typing.Dict[str, str]
Parses a simulation path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_source_path
parse_source_path(path: str) -> typing.Dict[str, str]
Parses a source path into its component segments.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_source_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_table_data_profile_path
parse_table_data_profile_path(path: str) -> typing.Dict[str, str]
Parses a table_data_profile path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_topic_path
parse_topic_path(path: str) -> typing.Dict[str, str]
Parses a topic path into its component segments.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_topic_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.parse_valued_resource_path
parse_valued_resource_path(path: str) -> typing.Dict[str, str]
Parses a valued_resource path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.policy_path
policy_path(organization: str, constraint_name: str) -> str
Returns a fully-qualified policy string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.policy_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.resource_value_config_path
resource_value_config_path(organization: str, resource_value_config: str) -> str
Returns a fully-qualified resource_value_config string.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.security_marks_path
security_marks_path(organization: str, asset: str) -> str
Returns a fully-qualified security_marks string.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.set_finding_state
set_finding_state(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.SetFindingStateRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
state: typing.Optional[
google.cloud.securitycenter_v2.types.finding.Finding.State
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.finding.Finding
Updates the state of a finding.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.set_finding_state
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the access control policy on the specified Source.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.set_iam_policy
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.set_mute
set_mute(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.SetMuteRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
mute: typing.Optional[
google.cloud.securitycenter_v2.types.finding.Finding.Mute
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.finding.Finding
Updates the mute state of a finding.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.set_mute
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.simulation_path
simulation_path(organization: str, simulation: str) -> str
Returns a fully-qualified simulation string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.simulation_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.source_path
source_path(organization: str, source: str) -> str
Returns a fully-qualified source string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.source_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.table_data_profile_path
table_data_profile_path(project: str, table_profile: str) -> str
Returns a fully-qualified table_data_profile string.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
permissions: typing.Optional[typing.MutableSequence[str]] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns the permissions that a caller has on the specified source.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.topic_path
topic_path(project: str, topic: str) -> str
Returns a fully-qualified topic string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.topic_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.update_big_query_export
update_big_query_export(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.UpdateBigQueryExportRequest,
dict,
]
] = None,
*,
big_query_export: typing.Optional[
google.cloud.securitycenter_v2.types.bigquery_export.BigQueryExport
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.bigquery_export.BigQueryExport
Updates a BigQuery export.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.update_external_system
update_external_system(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.UpdateExternalSystemRequest,
dict,
]
] = None,
*,
external_system: typing.Optional[
google.cloud.securitycenter_v2.types.external_system.ExternalSystem
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.external_system.ExternalSystem
Updates external system.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.update_finding
update_finding(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.UpdateFindingRequest,
dict,
]
] = None,
*,
finding: typing.Optional[
google.cloud.securitycenter_v2.types.finding.Finding
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.finding.Finding
Creates or updates a finding.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.update_finding
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.update_mute_config
update_mute_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.UpdateMuteConfigRequest,
dict,
]
] = None,
*,
mute_config: typing.Optional[
google.cloud.securitycenter_v2.types.mute_config.MuteConfig
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.mute_config.MuteConfig
Updates a mute config.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.update_mute_config
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.update_notification_config
update_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.UpdateNotificationConfigRequest,
dict,
]
] = None,
*,
notification_config: typing.Optional[
google.cloud.securitycenter_v2.types.notification_config.NotificationConfig
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.notification_config.NotificationConfig
Updates a notification config.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.update_resource_value_config
update_resource_value_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.UpdateResourceValueConfigRequest,
dict,
]
] = None,
*,
resource_value_config: typing.Optional[
google.cloud.securitycenter_v2.types.resource_value_config.ResourceValueConfig
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.resource_value_config.ResourceValueConfig
Updates an existing ResourceValueConfigs with new rules.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.update_security_marks
update_security_marks(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.UpdateSecurityMarksRequest,
dict,
]
] = None,
*,
security_marks: typing.Optional[
google.cloud.securitycenter_v2.types.security_marks.SecurityMarks
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.security_marks.SecurityMarks
Updates security marks.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.update_source
update_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.UpdateSourceRequest,
dict,
]
] = None,
*,
source: typing.Optional[google.cloud.securitycenter_v2.types.source.Source] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.source.Source
Updates a source.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.update_source
google.cloud.securitycenter_v2.services.security_center.SecurityCenterAsyncClient.valued_resource_path
valued_resource_path(
organization: str, simulation: str, valued_resource: str
) -> str
Returns a fully-qualified valued_resource string.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient
SecurityCenterClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.securitycenter_v2.services.security_center.transports.base.SecurityCenterTransport, typing.Callable[[...], google.cloud.securitycenter_v2.services.security_center.transports.base.SecurityCenterTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the security center client.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.exit
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.attack_path_path
attack_path_path(
organization: str, simulation: str, valued_resource: str, attack_path: str
) -> str
Returns a fully-qualified attack_path string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.attack_path_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.batch_create_resource_value_configs
batch_create_resource_value_configs(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.BatchCreateResourceValueConfigsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.securitycenter_v2.types.securitycenter_service.CreateResourceValueConfigRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v2.types.securitycenter_service.BatchCreateResourceValueConfigsResponse
)
Creates a ResourceValueConfig for an organization.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.big_query_export_path
big_query_export_path(organization: str, location: str, export: str) -> str
Returns a fully-qualified big_query_export string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.big_query_export_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.bulk_mute_findings
bulk_mute_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.BulkMuteFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Kicks off an LRO to bulk mute findings for a parent based on a filter.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.bulk_mute_findings
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.cancel_operation
cancel_operation(
request: typing.Optional[
google.longrunning.operations_pb2.CancelOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Starts asynchronous cancellation on a long-running operation.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.cancel_operation
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.common_folder_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.common_location_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.common_project_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.create_big_query_export
create_big_query_export(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.CreateBigQueryExportRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
big_query_export: typing.Optional[
google.cloud.securitycenter_v2.types.bigquery_export.BigQueryExport
] = None,
big_query_export_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.bigquery_export.BigQueryExport
Creates a BigQuery export.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.create_big_query_export
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.create_finding
create_finding(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.CreateFindingRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
finding: typing.Optional[
google.cloud.securitycenter_v2.types.finding.Finding
] = None,
finding_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.finding.Finding
Creates a finding in a location.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.create_finding
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.create_mute_config
create_mute_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.CreateMuteConfigRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
mute_config: typing.Optional[
google.cloud.securitycenter_v2.types.mute_config.MuteConfig
] = None,
mute_config_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.mute_config.MuteConfig
Creates a mute config.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.create_mute_config
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.create_notification_config
create_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.CreateNotificationConfigRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
notification_config: typing.Optional[
google.cloud.securitycenter_v2.types.notification_config.NotificationConfig
] = None,
config_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.notification_config.NotificationConfig
Creates a notification config.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.create_source
create_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.CreateSourceRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
source: typing.Optional[google.cloud.securitycenter_v2.types.source.Source] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.source.Source
Creates a source.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.create_source
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.delete_big_query_export
delete_big_query_export(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.DeleteBigQueryExportRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an existing BigQuery export.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.delete_big_query_export
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.delete_mute_config
delete_mute_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.DeleteMuteConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an existing mute config.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.delete_mute_config
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.delete_notification_config
delete_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.DeleteNotificationConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a notification config.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.delete_operation
delete_operation(
request: typing.Optional[
google.longrunning.operations_pb2.DeleteOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a long-running operation.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.delete_operation
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.delete_resource_value_config
delete_resource_value_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.DeleteResourceValueConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes a ResourceValueConfig.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.dlp_job_path
dlp_job_path(project: str, dlp_job: str) -> str
Returns a fully-qualified dlp_job string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.dlp_job_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.external_system_path
external_system_path(
organization: str, source: str, finding: str, externalsystem: str
) -> str
Returns a fully-qualified external_system string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.external_system_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.finding_path
finding_path(organization: str, source: str, finding: str) -> str
Returns a fully-qualified finding string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.finding_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.get_big_query_export
get_big_query_export(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.GetBigQueryExportRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.bigquery_export.BigQueryExport
Gets a BigQuery export.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.get_big_query_export
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.GetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Gets the access control policy on the specified Source.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.get_iam_policy
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.get_mute_config
get_mute_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.GetMuteConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.mute_config.MuteConfig
Gets a mute config.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.get_mute_config
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.get_notification_config
get_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.GetNotificationConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.notification_config.NotificationConfig
Gets a notification config.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.get_notification_config
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.get_operation
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.get_resource_value_config
get_resource_value_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.GetResourceValueConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.resource_value_config.ResourceValueConfig
Gets a ResourceValueConfig.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.get_simulation
get_simulation(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.GetSimulationRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.simulation.Simulation
Get the simulation by name or the latest simulation for the given organization.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.get_simulation
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.get_source
get_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.GetSourceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.source.Source
Gets a source.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.get_source
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.get_valued_resource
get_valued_resource(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.GetValuedResourceRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.valued_resource.ValuedResource
Get the valued resource by name.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.get_valued_resource
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.group_findings
group_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.GroupFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
group_by: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.services.security_center.pagers.GroupFindingsPager
Filters an organization or source's findings and groups them by their specified properties in a location.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.group_findings
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.list_attack_paths
list_attack_paths(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.ListAttackPathsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v2.services.security_center.pagers.ListAttackPathsPager
)
Lists the attack paths for a set of simulation results or valued resources and filter.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.list_attack_paths
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.list_big_query_exports
list_big_query_exports(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.ListBigQueryExportsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v2.services.security_center.pagers.ListBigQueryExportsPager
)
Lists BigQuery exports.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.list_big_query_exports
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.list_findings
list_findings(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.ListFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.services.security_center.pagers.ListFindingsPager
Lists an organization or source's findings.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.list_findings
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.list_mute_configs
list_mute_configs(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.ListMuteConfigsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v2.services.security_center.pagers.ListMuteConfigsPager
)
Lists mute configs.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.list_mute_configs
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.list_notification_configs
list_notification_configs(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.ListNotificationConfigsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v2.services.security_center.pagers.ListNotificationConfigsPager
)
Lists notification configs.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.list_operations
list_operations(
request: typing.Optional[
google.longrunning.operations_pb2.ListOperationsRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.list_operations
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.list_resource_value_configs
list_resource_value_configs(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.ListResourceValueConfigsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v2.services.security_center.pagers.ListResourceValueConfigsPager
)
Lists all ResourceValueConfigs.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.list_sources
list_sources(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.ListSourcesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.services.security_center.pagers.ListSourcesPager
Lists all sources belonging to an organization.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.list_sources
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.list_valued_resources
list_valued_resources(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.ListValuedResourcesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.securitycenter_v2.services.security_center.pagers.ListValuedResourcesPager
)
Lists the valued resources for a set of simulation results and filter.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.list_valued_resources
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.mute_config_path
mute_config_path(organization: str, mute_config: str) -> str
Returns a fully-qualified mute_config string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.mute_config_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.notification_config_path
notification_config_path(
organization: str, location: str, notification_config: str
) -> str
Returns a fully-qualified notification_config string.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_attack_path_path
parse_attack_path_path(path: str) -> typing.Dict[str, str]
Parses a attack_path path into its component segments.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_attack_path_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_big_query_export_path
parse_big_query_export_path(path: str) -> typing.Dict[str, str]
Parses a big_query_export path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_dlp_job_path
parse_dlp_job_path(path: str) -> typing.Dict[str, str]
Parses a dlp_job path into its component segments.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_dlp_job_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_external_system_path
parse_external_system_path(path: str) -> typing.Dict[str, str]
Parses a external_system path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_finding_path
parse_finding_path(path: str) -> typing.Dict[str, str]
Parses a finding path into its component segments.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_finding_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_mute_config_path
parse_mute_config_path(path: str) -> typing.Dict[str, str]
Parses a mute_config path into its component segments.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_mute_config_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_notification_config_path
parse_notification_config_path(path: str) -> typing.Dict[str, str]
Parses a notification_config path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_policy_path
parse_policy_path(path: str) -> typing.Dict[str, str]
Parses a policy path into its component segments.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_policy_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_resource_value_config_path
parse_resource_value_config_path(path: str) -> typing.Dict[str, str]
Parses a resource_value_config path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_security_marks_path
parse_security_marks_path(path: str) -> typing.Dict[str, str]
Parses a security_marks path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_simulation_path
parse_simulation_path(path: str) -> typing.Dict[str, str]
Parses a simulation path into its component segments.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_simulation_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_source_path
parse_source_path(path: str) -> typing.Dict[str, str]
Parses a source path into its component segments.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_source_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_table_data_profile_path
parse_table_data_profile_path(path: str) -> typing.Dict[str, str]
Parses a table_data_profile path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_topic_path
parse_topic_path(path: str) -> typing.Dict[str, str]
Parses a topic path into its component segments.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_topic_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.parse_valued_resource_path
parse_valued_resource_path(path: str) -> typing.Dict[str, str]
Parses a valued_resource path into its component segments.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.policy_path
policy_path(organization: str, constraint_name: str) -> str
Returns a fully-qualified policy string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.policy_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.resource_value_config_path
resource_value_config_path(organization: str, resource_value_config: str) -> str
Returns a fully-qualified resource_value_config string.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.security_marks_path
security_marks_path(organization: str, asset: str) -> str
Returns a fully-qualified security_marks string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.security_marks_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.set_finding_state
set_finding_state(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.SetFindingStateRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
state: typing.Optional[
google.cloud.securitycenter_v2.types.finding.Finding.State
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.finding.Finding
Updates the state of a finding.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.set_finding_state
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.SetIamPolicyRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.policy_pb2.Policy
Sets the access control policy on the specified Source.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.set_iam_policy
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.set_mute
set_mute(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.SetMuteRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
mute: typing.Optional[
google.cloud.securitycenter_v2.types.finding.Finding.Mute
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.finding.Finding
Updates the mute state of a finding.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.set_mute
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.simulation_path
simulation_path(organization: str, simulation: str) -> str
Returns a fully-qualified simulation string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.simulation_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.source_path
source_path(organization: str, source: str) -> str
Returns a fully-qualified source string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.source_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.table_data_profile_path
table_data_profile_path(project: str, table_profile: str) -> str
Returns a fully-qualified table_data_profile string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.table_data_profile_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[google.iam.v1.iam_policy_pb2.TestIamPermissionsRequest, dict]
] = None,
*,
resource: typing.Optional[str] = None,
permissions: typing.Optional[typing.MutableSequence[str]] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.iam.v1.iam_policy_pb2.TestIamPermissionsResponse
Returns the permissions that a caller has on the specified source.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.test_iam_permissions
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.topic_path
topic_path(project: str, topic: str) -> str
Returns a fully-qualified topic string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.topic_path
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.update_big_query_export
update_big_query_export(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.UpdateBigQueryExportRequest,
dict,
]
] = None,
*,
big_query_export: typing.Optional[
google.cloud.securitycenter_v2.types.bigquery_export.BigQueryExport
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.bigquery_export.BigQueryExport
Updates a BigQuery export.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.update_big_query_export
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.update_external_system
update_external_system(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.UpdateExternalSystemRequest,
dict,
]
] = None,
*,
external_system: typing.Optional[
google.cloud.securitycenter_v2.types.external_system.ExternalSystem
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.external_system.ExternalSystem
Updates external system.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.update_external_system
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.update_finding
update_finding(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.UpdateFindingRequest,
dict,
]
] = None,
*,
finding: typing.Optional[
google.cloud.securitycenter_v2.types.finding.Finding
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.finding.Finding
Creates or updates a finding.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.update_finding
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.update_mute_config
update_mute_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.UpdateMuteConfigRequest,
dict,
]
] = None,
*,
mute_config: typing.Optional[
google.cloud.securitycenter_v2.types.mute_config.MuteConfig
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.mute_config.MuteConfig
Updates a mute config.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.update_mute_config
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.update_notification_config
update_notification_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.UpdateNotificationConfigRequest,
dict,
]
] = None,
*,
notification_config: typing.Optional[
google.cloud.securitycenter_v2.types.notification_config.NotificationConfig
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.notification_config.NotificationConfig
Updates a notification config.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.update_resource_value_config
update_resource_value_config(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.UpdateResourceValueConfigRequest,
dict,
]
] = None,
*,
resource_value_config: typing.Optional[
google.cloud.securitycenter_v2.types.resource_value_config.ResourceValueConfig
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.resource_value_config.ResourceValueConfig
Updates an existing ResourceValueConfigs with new rules.
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.update_security_marks
update_security_marks(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.UpdateSecurityMarksRequest,
dict,
]
] = None,
*,
security_marks: typing.Optional[
google.cloud.securitycenter_v2.types.security_marks.SecurityMarks
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.security_marks.SecurityMarks
Updates security marks.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.update_security_marks
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.update_source
update_source(
request: typing.Optional[
typing.Union[
google.cloud.securitycenter_v2.types.securitycenter_service.UpdateSourceRequest,
dict,
]
] = None,
*,
source: typing.Optional[google.cloud.securitycenter_v2.types.source.Source] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.securitycenter_v2.types.source.Source
Updates a source.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.update_source
google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.valued_resource_path
valued_resource_path(
organization: str, simulation: str, valued_resource: str
) -> str
Returns a fully-qualified valued_resource string.
See more: google.cloud.securitycenter_v2.services.security_center.SecurityCenterClient.valued_resource_path
google.cloud.securitycenter_v2.services.security_center.pagers.GroupFindingsAsyncPager
GroupFindingsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v2.types.securitycenter_service.GroupFindingsResponse
],
],
request: google.cloud.securitycenter_v2.types.securitycenter_service.GroupFindingsRequest,
response: google.cloud.securitycenter_v2.types.securitycenter_service.GroupFindingsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v2.services.security_center.pagers.GroupFindingsAsyncPager
google.cloud.securitycenter_v2.services.security_center.pagers.GroupFindingsPager
GroupFindingsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v2.types.securitycenter_service.GroupFindingsResponse,
],
request: google.cloud.securitycenter_v2.types.securitycenter_service.GroupFindingsRequest,
response: google.cloud.securitycenter_v2.types.securitycenter_service.GroupFindingsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v2.services.security_center.pagers.GroupFindingsPager
google.cloud.securitycenter_v2.services.security_center.pagers.ListAttackPathsAsyncPager
ListAttackPathsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v2.types.securitycenter_service.ListAttackPathsResponse
],
],
request: google.cloud.securitycenter_v2.types.securitycenter_service.ListAttackPathsRequest,
response: google.cloud.securitycenter_v2.types.securitycenter_service.ListAttackPathsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v2.services.security_center.pagers.ListAttackPathsAsyncPager
google.cloud.securitycenter_v2.services.security_center.pagers.ListAttackPathsPager
ListAttackPathsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v2.types.securitycenter_service.ListAttackPathsResponse,
],
request: google.cloud.securitycenter_v2.types.securitycenter_service.ListAttackPathsRequest,
response: google.cloud.securitycenter_v2.types.securitycenter_service.ListAttackPathsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v2.services.security_center.pagers.ListAttackPathsPager
google.cloud.securitycenter_v2.services.security_center.pagers.ListBigQueryExportsAsyncPager
ListBigQueryExportsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v2.types.securitycenter_service.ListBigQueryExportsResponse
],
],
request: google.cloud.securitycenter_v2.types.securitycenter_service.ListBigQueryExportsRequest,
response: google.cloud.securitycenter_v2.types.securitycenter_service.ListBigQueryExportsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v2.services.security_center.pagers.ListBigQueryExportsAsyncPager
google.cloud.securitycenter_v2.services.security_center.pagers.ListBigQueryExportsPager
ListBigQueryExportsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v2.types.securitycenter_service.ListBigQueryExportsResponse,
],
request: google.cloud.securitycenter_v2.types.securitycenter_service.ListBigQueryExportsRequest,
response: google.cloud.securitycenter_v2.types.securitycenter_service.ListBigQueryExportsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v2.services.security_center.pagers.ListBigQueryExportsPager
google.cloud.securitycenter_v2.services.security_center.pagers.ListFindingsAsyncPager
ListFindingsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v2.types.securitycenter_service.ListFindingsResponse
],
],
request: google.cloud.securitycenter_v2.types.securitycenter_service.ListFindingsRequest,
response: google.cloud.securitycenter_v2.types.securitycenter_service.ListFindingsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v2.services.security_center.pagers.ListFindingsAsyncPager
google.cloud.securitycenter_v2.services.security_center.pagers.ListFindingsPager
ListFindingsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v2.types.securitycenter_service.ListFindingsResponse,
],
request: google.cloud.securitycenter_v2.types.securitycenter_service.ListFindingsRequest,
response: google.cloud.securitycenter_v2.types.securitycenter_service.ListFindingsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v2.services.security_center.pagers.ListFindingsPager
google.cloud.securitycenter_v2.services.security_center.pagers.ListMuteConfigsAsyncPager
ListMuteConfigsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v2.types.securitycenter_service.ListMuteConfigsResponse
],
],
request: google.cloud.securitycenter_v2.types.securitycenter_service.ListMuteConfigsRequest,
response: google.cloud.securitycenter_v2.types.securitycenter_service.ListMuteConfigsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v2.services.security_center.pagers.ListMuteConfigsAsyncPager
google.cloud.securitycenter_v2.services.security_center.pagers.ListMuteConfigsPager
ListMuteConfigsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v2.types.securitycenter_service.ListMuteConfigsResponse,
],
request: google.cloud.securitycenter_v2.types.securitycenter_service.ListMuteConfigsRequest,
response: google.cloud.securitycenter_v2.types.securitycenter_service.ListMuteConfigsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v2.services.security_center.pagers.ListMuteConfigsPager
google.cloud.securitycenter_v2.services.security_center.pagers.ListNotificationConfigsAsyncPager
ListNotificationConfigsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v2.types.securitycenter_service.ListNotificationConfigsResponse
],
],
request: google.cloud.securitycenter_v2.types.securitycenter_service.ListNotificationConfigsRequest,
response: google.cloud.securitycenter_v2.types.securitycenter_service.ListNotificationConfigsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v2.services.security_center.pagers.ListNotificationConfigsAsyncPager
google.cloud.securitycenter_v2.services.security_center.pagers.ListNotificationConfigsPager
ListNotificationConfigsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v2.types.securitycenter_service.ListNotificationConfigsResponse,
],
request: google.cloud.securitycenter_v2.types.securitycenter_service.ListNotificationConfigsRequest,
response: google.cloud.securitycenter_v2.types.securitycenter_service.ListNotificationConfigsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v2.services.security_center.pagers.ListNotificationConfigsPager
google.cloud.securitycenter_v2.services.security_center.pagers.ListResourceValueConfigsAsyncPager
ListResourceValueConfigsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v2.types.securitycenter_service.ListResourceValueConfigsResponse
],
],
request: google.cloud.securitycenter_v2.types.securitycenter_service.ListResourceValueConfigsRequest,
response: google.cloud.securitycenter_v2.types.securitycenter_service.ListResourceValueConfigsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v2.services.security_center.pagers.ListResourceValueConfigsAsyncPager
google.cloud.securitycenter_v2.services.security_center.pagers.ListResourceValueConfigsPager
ListResourceValueConfigsPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v2.types.securitycenter_service.ListResourceValueConfigsResponse,
],
request: google.cloud.securitycenter_v2.types.securitycenter_service.ListResourceValueConfigsRequest,
response: google.cloud.securitycenter_v2.types.securitycenter_service.ListResourceValueConfigsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v2.services.security_center.pagers.ListResourceValueConfigsPager
google.cloud.securitycenter_v2.services.security_center.pagers.ListSourcesAsyncPager
ListSourcesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v2.types.securitycenter_service.ListSourcesResponse
],
],
request: google.cloud.securitycenter_v2.types.securitycenter_service.ListSourcesRequest,
response: google.cloud.securitycenter_v2.types.securitycenter_service.ListSourcesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v2.services.security_center.pagers.ListSourcesAsyncPager
google.cloud.securitycenter_v2.services.security_center.pagers.ListSourcesPager
ListSourcesPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v2.types.securitycenter_service.ListSourcesResponse,
],
request: google.cloud.securitycenter_v2.types.securitycenter_service.ListSourcesRequest,
response: google.cloud.securitycenter_v2.types.securitycenter_service.ListSourcesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v2.services.security_center.pagers.ListSourcesPager
google.cloud.securitycenter_v2.services.security_center.pagers.ListValuedResourcesAsyncPager
ListValuedResourcesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v2.types.securitycenter_service.ListValuedResourcesResponse
],
],
request: google.cloud.securitycenter_v2.types.securitycenter_service.ListValuedResourcesRequest,
response: google.cloud.securitycenter_v2.types.securitycenter_service.ListValuedResourcesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.securitycenter_v2.services.security_center.pagers.ListValuedResourcesAsyncPager
google.cloud.securitycenter_v2.services.security_center.pagers.ListValuedResourcesPager
ListValuedResourcesPager(
method: typing.Callable[
[...],
google.cloud.securitycenter_v2.types.securitycenter_service.ListValuedResourcesResponse,
],
request: google.cloud.securitycenter_v2.types.securitycenter_service.ListValuedResourcesRequest,
response: google.cloud.securitycenter_v2.types.securitycenter_service.ListValuedResourcesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.securitycenter_v2.services.security_center.pagers.ListValuedResourcesPager