Server Vulnerability Assessments Settings - List By Subscription
Get a list of all the server vulnerability assessments settings over a subscription level scope
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings?api-version=2023-05-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
subscription
|
path | True |
string (uuid) |
The ID of the target subscription. The value must be an UUID. |
|
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK |
|
| Other Status Codes |
Error response describing why the operation failed |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| user_impersonation | impersonate your user account |
Examples
List the server vulnerability assessments settings set on the subscription
Sample request
Sample response
{
"value": [
{
"id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings/azureServersSetting",
"name": "azureServersSetting",
"type": "Microsoft.Security/serverVulnerabilityAssessmentsSettings",
"kind": "AzureServersSetting",
"properties": {
"selectedProvider": "MdeTvm"
},
"systemData": {
"createdBy": "user@contoso.com",
"createdByType": "User",
"createdAt": "2023-05-12T13:47:50.328Z",
"lastModifiedBy": "user@contoso.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2023-05-12T13:47:50.328Z"
}
}
]
}
Definitions
| Name | Description |
|---|---|
|
Azure |
A vulnerability assessments setting on Azure servers in the defined scope. |
|
created |
The type of identity that created the resource. |
|
Error |
The resource management error additional info. |
|
Error |
The error detail. |
|
Error |
Error response |
|
Server |
The selected vulnerability assessments provider on Azure servers in the defined scope. |
|
Server |
The kind of the server vulnerability assessments setting |
|
Server |
A page of a server vulnerability assessments settings list |
|
system |
Metadata pertaining to creation and last modification of the resource. |
AzureServersSetting
A vulnerability assessments setting on Azure servers in the defined scope.
| Name | Type | Description |
|---|---|---|
| id |
string (arm-id) |
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| kind | string: |
The kind of the server vulnerability assessments setting. |
| name |
string |
The name of the resource |
| properties.selectedProvider |
The selected vulnerability assessments provider on Azure servers in the defined scope. |
|
| systemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
|
| type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
createdByType
The type of identity that created the resource.
| Value | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
ErrorAdditionalInfo
The resource management error additional info.
| Name | Type | Description |
|---|---|---|
| info |
object |
The additional info. |
| type |
string |
The additional info type. |
ErrorDetail
The error detail.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
The error additional info. |
|
| code |
string |
The error code. |
| details |
The error details. |
|
| message |
string |
The error message. |
| target |
string |
The error target. |
ErrorResponse
Error response
| Name | Type | Description |
|---|---|---|
| error |
The error object. |
ServerVulnerabilityAssessmentsAzureSettingSelectedProvider
The selected vulnerability assessments provider on Azure servers in the defined scope.
| Value | Description |
|---|---|
| MdeTvm |
Microsoft Defender for Endpoints threat and vulnerability management. |
ServerVulnerabilityAssessmentsSettingKind
The kind of the server vulnerability assessments setting
| Value | Description |
|---|---|
| AzureServersSetting |
ServerVulnerabilityAssessmentsSettingsList
A page of a server vulnerability assessments settings list
| Name | Type | Description |
|---|---|---|
| nextLink |
string |
The URI to fetch the next page |
| value | ServerVulnerabilityAssessmentsSetting[]: |
A collection of server vulnerability assessments settings in this page |
systemData
Metadata pertaining to creation and last modification of the resource.
| Name | Type | Description |
|---|---|---|
| createdAt |
string (date-time) |
The timestamp of resource creation (UTC). |
| createdBy |
string |
The identity that created the resource. |
| createdByType |
The type of identity that created the resource. |
|
| lastModifiedAt |
string (date-time) |
The timestamp of resource last modification (UTC) |
| lastModifiedBy |
string |
The identity that last modified the resource. |
| lastModifiedByType |
The type of identity that last modified the resource. |