Delen via


Regulatory Compliance Assessments - Get

Ondersteunde nalevingsdetails en status van regelgeving voor geselecteerde evaluatie

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}/regulatoryComplianceControls/{regulatoryComplianceControlName}/regulatoryComplianceAssessments/{regulatoryComplianceAssessmentName}?api-version=2019-01-01-preview

URI-parameters

Name In Vereist Type Description
regulatoryComplianceAssessmentName
path True

string

Naam van het evaluatieobject voor naleving van regelgeving

regulatoryComplianceControlName
path True

string

Naam van het nalevingsbeheerobject voor regelgeving

regulatoryComplianceStandardName
path True

string

Naam van het standaardobject voor naleving van regelgeving

subscriptionId
path True

string

Azure-abonnements-id

Regex-patroon: ^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$

api-version
query True

string

API-versie voor de bewerking

Antwoorden

Name Type Description
200 OK

RegulatoryComplianceAssessment

OK

Other Status Codes

CloudError

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 selected regulatory compliance assessment details and state

Voorbeeldaanvraag

GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/regulatoryComplianceStandards/PCI-DSS-3.2/regulatoryComplianceControls/1.1/regulatoryComplianceAssessments/968548cb-02b3-8cd2-11f8-0cf64ab1a347?api-version=2019-01-01-preview

Voorbeeldrespons

{
  "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/regulatoryComplianceStandards/PCI-DSS-3.2/regulatoryComplianceControls/1.1/regulatoryComplianceAssessments/968548cb-02b3-8cd2-11f8-0cf64ab1a347",
  "name": "968548cb-02b3-8cd2-11f8-0cf64ab1a347",
  "type": "Microsoft.Security/regulatoryComplianceAssessment",
  "properties": {
    "description": "Troubleshoot missing scan data on your machines",
    "assessmentType": "Assessment",
    "assessmentDetailsLink": "https://management.azure.com/subscriptions/a27e854a-8578-4395-8eaf-6fc7849f3050/providers/Microsoft.Security/securityStatuses/968548cb-02b3-8cd2-11f8-0cf64ab1a347",
    "state": "Failed",
    "passedResources": 7,
    "failedResources": 4,
    "skippedResources": 0
  }
}

Definities

Name Description
CloudError

Veelvoorkomende foutreactie voor alle Azure Resource Manager-API's om foutdetails te retourneren voor mislukte bewerkingen. (Dit volgt ook de OData-foutreactieindeling.)

CloudErrorBody

De foutdetails.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

RegulatoryComplianceAssessment

Details en status van evaluatie van naleving van regelgeving

state

Aggregatieve status op basis van de ondersteunde besturingsstatussen van de standaard

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

ErrorAdditionalInfo[]

De fout bevat aanvullende informatie.

error.code

string

De foutcode.

error.details

CloudErrorBody[]

De foutdetails.

error.message

string

Het foutbericht.

error.target

string

Het foutdoel.

CloudErrorBody

De foutdetails.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

De fout bevat aanvullende informatie.

code

string

De foutcode.

details

CloudErrorBody[]

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.

RegulatoryComplianceAssessment

Details en status van evaluatie van naleving van regelgeving

Name Type Description
id

string

Resource-id

name

string

Resourcenaam

properties.assessmentDetailsLink

string

Koppeling naar gedetailleerdere evaluatieresultatengegevens. Het antwoordtype is afhankelijk van het veld assessmentType

properties.assessmentType

string

Het verwachte type evaluatie in de AssessmentDetailsLink

properties.description

string

De beschrijving van de evaluatie van naleving van regelgeving

properties.failedResources

integer

Het aantal gerelateerde resources van de opgegeven evaluatie met de status Mislukt.

properties.passedResources

integer

Het aantal gerelateerde resources van de opgegeven evaluatie met de doorgegeven status.

properties.skippedResources

integer

Het aantal gerelateerde resources van de opgegeven evaluatie met de status Overgeslagen.

properties.state

state

Aggregatieve status op basis van de statussen van gescande resources van de evaluatie

properties.unsupportedResources

integer

Het aantal gerelateerde resources van de opgegeven evaluatie met een niet-ondersteunde status.

type

string

Resourcetype

state

Aggregatieve status op basis van de ondersteunde besturingsstatussen van de standaard

Name Type Description
Failed

string

Ten minste één ondersteund nalevingsbeheer voor regelgeving in de opgegeven standaard heeft de status Mislukt

Passed

string

Alle ondersteunde controles voor naleving van regelgeving in de opgegeven standaard hebben een doorgegeven status

Skipped

string

Alle ondersteunde controles voor naleving van regelgeving in de opgegeven standaard hebben een status overgeslagen

Unsupported

string

Geen ondersteunde nalevingsgegevens voor regelgeving voor de opgegeven standaard