DatabaseVulnerabilityAssessment Class

A database vulnerability assessment.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.sql.models._models_py3.ProxyResource
DatabaseVulnerabilityAssessment

Constructor

DatabaseVulnerabilityAssessment(*, storage_container_path: str | None = None, storage_container_sas_key: str | None = None, storage_account_access_key: str | None = None, recurring_scans: VulnerabilityAssessmentRecurringScansProperties | None = None, **kwargs)

Parameters

Name Description
storage_container_path
Required
str

A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). It is required if server level vulnerability assessment policy doesn't set.

storage_container_sas_key
Required
str

A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required.

storage_account_access_key
Required
str

Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required.

recurring_scans
Required

The recurring scans settings.

Keyword-Only Parameters

Name Description
storage_container_path
Required
storage_container_sas_key
Required
storage_account_access_key
Required
recurring_scans
Required

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.