Assessments - Get
Een beveiligingsevaluatie opvragen voor uw gescande resource
GET https://management.azure.com/{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}?api-version=2021-06-01
GET https://management.azure.com/{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}?api-version=2021-06-01&$expand={$expand}
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
assessment
|
path | True |
string |
De evaluatiesleutel - unieke sleutel voor het evaluatietype |
resource
|
path | True |
string |
De id van de resource. |
api-version
|
query | True |
string |
API-versie voor de bewerking |
$expand
|
query |
OData uitvouwen. Facultatief. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Foutreactie waarin wordt beschreven waarom de bewerking is mislukt. |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | Uw gebruikersaccount imiteren |
Voorbeelden
Get security recommendation task from security data location |
Get security recommendation task from security data location with expand parameter |
Get security recommendation task from security data location
Voorbeeldaanvraag
GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2/providers/Microsoft.Security/assessments/21300918-b2e3-0346-785f-c77ff57d243b?api-version=2021-06-01
Voorbeeldrespons
{
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2/providers/Microsoft.Security/assessments/21300918-b2e3-0346-785f-c77ff57d243b",
"name": "21300918-b2e3-0346-785f-c77ff57d243b",
"type": "Microsoft.Security/assessments",
"properties": {
"resourceDetails": {
"source": "Azure",
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2"
},
"displayName": "Install endpoint protection solution on virtual machine scale sets",
"status": {
"code": "NotApplicable",
"cause": "OffByPolicy",
"description": "The effective policy for the assessment was evaluated to off - use Microsoft.Authorization/policyAssignments to turn this assessment on",
"statusChangeDate": "2021-04-12T09:07:18.6759138Z",
"firstEvaluationDate": "2021-04-12T09:07:18.6759138Z"
},
"additionalData": {
"linkedWorkspaceId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myLaWorkspace"
}
}
}
Get security recommendation task from security data location with expand parameter
Voorbeeldaanvraag
GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2/providers/Microsoft.Security/assessments/21300918-b2e3-0346-785f-c77ff57d243b?api-version=2021-06-01&$expand=links
Voorbeeldrespons
{
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2/providers/Microsoft.Security/assessments/21300918-b2e3-0346-785f-c77ff57d243b",
"name": "21300918-b2e3-0346-785f-c77ff57d243b",
"type": "Microsoft.Security/assessments",
"properties": {
"resourceDetails": {
"source": "Azure",
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss2"
},
"displayName": "Install endpoint protection solution on virtual machine scale sets",
"status": {
"code": "NotApplicable",
"cause": "OffByPolicy",
"description": "The effective policy for the assessment was evaluated to off - use Microsoft.Authorization/policyAssignments to turn this assessment on",
"statusChangeDate": "2021-04-12T09:07:18.6759138Z",
"firstEvaluationDate": "2021-04-12T09:07:18.6759138Z"
},
"additionalData": {
"linkedWorkspaceId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myLaWorkspace"
},
"links": {
"azurePortalUri": "https://www.portal.azure.com/?fea#blade/Microsoft_Azure_Security/RecommendationsBlade/assessmentKey/21300918-b2e3-0346-785f-c77ff57d243b"
}
}
}
Definities
Name | Description |
---|---|
Assessment |
Koppelingen die relevant zijn voor de evaluatie |
Assessment |
Programmatische code voor de status van de evaluatie |
Assessment |
Het resultaat van de evaluatie |
assessment |
BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition |
Azure |
Details van de Azure-resource die is geëvalueerd |
categories | |
Cloud |
Veelvoorkomende foutreactie voor alle Azure Resource Manager-API's om foutdetails te retourneren voor mislukte bewerkingen. (Dit volgt ook de OData-foutreactieindeling.) |
Cloud |
De foutdetails. |
Error |
Aanvullende informatie over de resourcebeheerfout. |
Expand |
OData uitvouwen. Facultatief. |
implementation |
De implementatie die nodig is om deze evaluatie te herstellen |
On |
Details van de on-premises resource die is geëvalueerd |
On |
Details van de on-premises SQL-resource die is geëvalueerd |
Security |
Beschrijft de partner die de evaluatie heeft gemaakt |
Security |
Beschrijft eigenschappen van een evaluatiemetagegevens. |
Security |
Gegevens met betrekking tot integratie van partners van derden |
Security |
Beveiligingsevaluatie voor een resource - antwoordindeling |
severity |
Het ernstniveau van de evaluatie |
threats | |
user |
De impact van de gebruiker op de evaluatie |
AssessmentLinks
Koppelingen die relevant zijn voor de evaluatie
Name | Type | Description |
---|---|---|
azurePortalUri |
string |
Koppeling naar evaluatie in Azure Portal |
AssessmentStatusCode
Programmatische code voor de status van de evaluatie
Name | Type | Description |
---|---|---|
Healthy |
string |
De resource is in orde |
NotApplicable |
string |
Evaluatie voor deze resource is niet uitgevoerd |
Unhealthy |
string |
De resource heeft een beveiligingsprobleem dat moet worden opgelost |
AssessmentStatusResponse
Het resultaat van de evaluatie
Name | Type | Description |
---|---|---|
cause |
string |
Programmatische code voor de oorzaak van de evaluatiestatus |
code |
Programmatische code voor de status van de evaluatie |
|
description |
string |
Leesbare beschrijving van de evaluatiestatus |
firstEvaluationDate |
string |
Het tijdstip waarop de evaluatie is gemaakt en voor het eerst geëvalueerd. Geretourneerd als UTC-tijd in ISO 8601-indeling |
statusChangeDate |
string |
Het tijdstip waarop de status van de evaluatie voor het laatst is gewijzigd. Geretourneerd als UTC-tijd in ISO 8601-indeling |
assessmentType
BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition
Name | Type | Description |
---|---|---|
BuiltIn |
string |
Beheerde evaluaties van Microsoft Defender voor Cloud |
CustomPolicy |
string |
Door de gebruiker gedefinieerde beleidsregels die automatisch worden opgenomen van Azure Policy naar Microsoft Defender for Cloud |
CustomerManaged |
string |
Gebruikersevaluaties die rechtstreeks door de gebruiker of een andere derde partij naar Microsoft Defender voor Cloud zijn gepusht |
VerifiedPartner |
string |
Een evaluatie die is gemaakt door een geverifieerde derde partij als de gebruiker deze heeft verbonden met ASC |
AzureResourceDetails
Details van de Azure-resource die is geëvalueerd
Name | Type | Description |
---|---|---|
id |
string |
Azure-resource-id van de geëvalueerde resource |
source |
string:
Azure |
Het platform waar de geëvalueerde resource zich bevindt |
categories
Name | Type | Description |
---|---|---|
Compute |
string |
|
Data |
string |
|
IdentityAndAccess |
string |
|
IoT |
string |
|
Networking |
string |
CloudError
Veelvoorkomende foutreactie voor alle Azure Resource Manager-API's om foutdetails te retourneren voor mislukte bewerkingen. (Dit volgt ook de OData-foutreactieindeling.)
Name | Type | Description |
---|---|---|
error.additionalInfo |
De fout bevat aanvullende informatie. |
|
error.code |
string |
De foutcode. |
error.details |
De foutdetails. |
|
error.message |
string |
Het foutbericht. |
error.target |
string |
Het foutdoel. |
CloudErrorBody
De foutdetails.
Name | Type | Description |
---|---|---|
additionalInfo |
De fout bevat aanvullende informatie. |
|
code |
string |
De foutcode. |
details |
De foutdetails. |
|
message |
string |
Het foutbericht. |
target |
string |
Het foutdoel. |
ErrorAdditionalInfo
Aanvullende informatie over de resourcebeheerfout.
Name | Type | Description |
---|---|---|
info |
object |
De aanvullende informatie. |
type |
string |
Het extra informatietype. |
ExpandEnum
OData uitvouwen. Facultatief.
Name | Type | Description |
---|---|---|
links |
string |
Alle koppelingen die zijn gekoppeld aan een evaluatie |
metadata |
string |
Evaluatiemetagegevens |
implementationEffort
De implementatie die nodig is om deze evaluatie te herstellen
Name | Type | Description |
---|---|---|
High |
string |
|
Low |
string |
|
Moderate |
string |
OnPremiseResourceDetails
Details van de on-premises resource die is geëvalueerd
Name | Type | Description |
---|---|---|
machineName |
string |
De naam van de computer |
source |
string:
On |
Het platform waar de geëvalueerde resource zich bevindt |
sourceComputerId |
string |
De oms-agent-id die op de computer is geïnstalleerd |
vmuuid |
string |
De unieke id van de machine |
workspaceId |
string |
Azure-resource-id van de werkruimte waaraan de machine is gekoppeld |
OnPremiseSqlResourceDetails
Details van de on-premises SQL-resource die is geëvalueerd
Name | Type | Description |
---|---|---|
databaseName |
string |
De sql-databasenaam die op de computer is geïnstalleerd |
machineName |
string |
De naam van de computer |
serverName |
string |
De sql-servernaam die op de computer is geïnstalleerd |
source |
string:
On |
Het platform waar de geëvalueerde resource zich bevindt |
sourceComputerId |
string |
De oms-agent-id die op de computer is geïnstalleerd |
vmuuid |
string |
De unieke id van de machine |
workspaceId |
string |
Azure-resource-id van de werkruimte waaraan de machine is gekoppeld |
SecurityAssessmentMetadataPartnerData
Beschrijft de partner die de evaluatie heeft gemaakt
Name | Type | Description |
---|---|---|
partnerName |
string |
Naam van het bedrijf van de partner |
productName |
string |
Naam van het product van de partner die de evaluatie heeft gemaakt |
secret |
string |
Geheim om de partner te verifiëren en te controleren of deze de evaluatie heeft gemaakt - alleen schrijven |
SecurityAssessmentMetadataProperties
Beschrijft eigenschappen van een evaluatiemetagegevens.
Name | Type | Description |
---|---|---|
assessmentType |
BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition |
|
categories |
De resourcecategorieën die risico lopen wanneer de evaluatie niet in orde is |
|
description |
string |
Leesbare beschrijving van de evaluatie |
displayName |
string |
Gebruiksvriendelijke weergavenaam van de evaluatie |
implementationEffort |
De implementatie die nodig is om deze evaluatie te herstellen |
|
partnerData |
Beschrijft de partner die de evaluatie heeft gemaakt |
|
policyDefinitionId |
string |
Azure-resource-id van de beleidsdefinitie waarmee deze evaluatieberekening wordt ingeschakeld |
preview |
boolean |
Waar als deze evaluatie de preview-releasestatus heeft |
remediationDescription |
string |
Leesbare beschrijving van wat u moet doen om dit beveiligingsprobleem te verhelpen |
severity |
Het ernstniveau van de evaluatie |
|
threats |
threats[] |
Impact van bedreigingen van de evaluatie |
userImpact |
De impact van de gebruiker op de evaluatie |
SecurityAssessmentPartnerData
Gegevens met betrekking tot integratie van partners van derden
Name | Type | Description |
---|---|---|
partnerName |
string |
Naam van het bedrijf van de partner |
secret |
string |
geheim voor verificatie van de partner - alleen schrijven |
SecurityAssessmentResponse
Beveiligingsevaluatie voor een resource - antwoordindeling
Name | Type | Description |
---|---|---|
id |
string |
Resource-id |
name |
string |
Resourcenaam |
properties.additionalData |
object |
Aanvullende gegevens met betrekking tot de evaluatie |
properties.displayName |
string |
Gebruiksvriendelijke weergavenaam van de evaluatie |
properties.links |
Koppelingen die relevant zijn voor de evaluatie |
|
properties.metadata |
Beschrijft eigenschappen van een evaluatiemetagegevens. |
|
properties.partnersData |
Gegevens met betrekking tot integratie van partners van derden |
|
properties.resourceDetails | ResourceDetails: |
Details van de resource die is geëvalueerd |
properties.status |
Het resultaat van de evaluatie |
|
type |
string |
Resourcetype |
severity
Het ernstniveau van de evaluatie
Name | Type | Description |
---|---|---|
High |
string |
|
Low |
string |
|
Medium |
string |
threats
Name | Type | Description |
---|---|---|
accountBreach |
string |
|
dataExfiltration |
string |
|
dataSpillage |
string |
|
denialOfService |
string |
|
elevationOfPrivilege |
string |
|
maliciousInsider |
string |
|
missingCoverage |
string |
|
threatResistance |
string |
userImpact
De impact van de gebruiker op de evaluatie
Name | Type | Description |
---|---|---|
High |
string |
|
Low |
string |
|
Moderate |
string |