Delen via


Security Standards - Get

Een specifieke beveiligingsstandaard ophalen voor het aangevraagde bereik op standardId

GET https://management.azure.com/{scope}/providers/Microsoft.Security/securityStandards/{standardId}?api-version=2024-08-01

URI-parameters

Name In Vereist Type Description
scope
path True

string

Het bereik van de beveiligingsstandaard. Geldige bereiken zijn: beheergroep (indeling: providers/Microsoft.Management/managementGroups/{managementGroup}), abonnement (indeling: 'subscriptions/{subscriptionId}'), of beveiligingsconnector (indeling: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'

standardId
path True

string

De sleutel Security Standard - unieke sleutel voor het standaardtype

Regex-patroon: [{]?[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[}]?$

api-version
query True

string

De API-versie die voor deze bewerking moet worden gebruikt.

Antwoorden

Name Type Description
200 OK

SecurityStandard

Beveiligingsstandaard is gemaakt

Other Status Codes

ErrorResponse

Foutbericht 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 a security standard over management group scope
Get a security standard over security connector scope
Get a security standard over subscription scope

Get a security standard over management group scope

Voorbeeldaanvraag

GET https://management.azure.com/providers/Microsoft.Management/managementGroups/contoso/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8?api-version=2024-08-01

Voorbeeldrespons

{
  "id": "/providers/Microsoft.Management/managementGroups/contoso/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
  "name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
  "type": "Microsoft.Security/securityStandards",
  "properties": {
    "displayName": "Cross cloud standard 1",
    "standardType": "Custom",
    "description": "Controls and security data implementing security recommendations defined in Azure Security",
    "assessments": [
      {
        "assessmentKey": "1195afff-c881-495e-9bc5-1486211ae03f"
      },
      {
        "assessmentKey": "dbd0cb49-b563-45e7-9724-889e799fa648"
      }
    ],
    "cloudProviders": [
      "GCP"
    ],
    "policySetDefinitionId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions",
    "metadata": {
      "createdBy": "c23b5354-ff0a-4b2a-9f92-6f144effd936",
      "createdOn": "2022-11-10T08:31:26.7993124Z",
      "lastUpdatedBy": "c23b5354-ff0a-4b2a-9f92-6f144effd936",
      "lastUpdatedOn": "2022-11-10T08:31:26.7993124Z"
    }
  }
}

Get a security standard over security connector scope

Voorbeeldaanvraag

GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8?api-version=2024-08-01

Voorbeeldrespons

{
  "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
  "name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
  "type": "Microsoft.Security/securityStandards",
  "properties": {
    "displayName": "Cross cloud standard 1",
    "standardType": "Custom",
    "description": "Controls and security data implementing security recommendations defined in Azure Security",
    "assessments": [
      {
        "assessmentKey": "1195afff-c881-495e-9bc5-1486211ae03f"
      },
      {
        "assessmentKey": "dbd0cb49-b563-45e7-9724-889e799fa648"
      }
    ],
    "cloudProviders": [
      "GCP"
    ],
    "policySetDefinitionId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions",
    "metadata": {
      "createdBy": "c23b5354-ff0a-4b2a-9f92-6f144effd936",
      "createdOn": "2022-11-10T08:31:26.7993124Z",
      "lastUpdatedBy": "c23b5354-ff0a-4b2a-9f92-6f144effd936",
      "lastUpdatedOn": "2022-11-10T08:31:26.7993124Z"
    }
  }
}

Get a security standard over subscription scope

Voorbeeldaanvraag

GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8?api-version=2024-08-01

Voorbeeldrespons

{
  "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityStandards/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
  "name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
  "type": "Microsoft.Security/securityStandards",
  "properties": {
    "displayName": "Cross cloud standard 1",
    "standardType": "Custom",
    "description": "Controls and security data implementing security recommendations defined in Azure Security",
    "assessments": [
      {
        "assessmentKey": "1195afff-c881-495e-9bc5-1486211ae03f"
      },
      {
        "assessmentKey": "dbd0cb49-b563-45e7-9724-889e799fa648"
      }
    ],
    "cloudProviders": [
      "GCP"
    ],
    "policySetDefinitionId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Authorization/policySetDefinitions/patchorchestration-applicationversions",
    "metadata": {
      "createdBy": "c23b5354-ff0a-4b2a-9f92-6f144effd936",
      "createdOn": "2022-11-10T08:31:26.7993124Z",
      "lastUpdatedBy": "c23b5354-ff0a-4b2a-9f92-6f144effd936",
      "lastUpdatedOn": "2022-11-10T08:31:26.7993124Z"
    }
  }
}

Definities

Name Description
ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ErrorDetail

De foutdetails.

ErrorResponse

Foutreactie

PartialAssessmentProperties

Beschrijft eigenschappen van een evaluatie als gerelateerd aan de standaard

SecurityStandard

Beveiligingsstandaard voor een resource

StandardMetadata

De standaardmetagegevens

StandardSupportedCloud

De cloud waarop de standaard wordt ondersteund.

standardType

Standaardtype (momenteel alleen aangepast of standaard of naleving)

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

Name Type Description
info

object

De aanvullende informatie.

type

string

Het extra informatietype.

ErrorDetail

De foutdetails.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

De fout bevat aanvullende informatie.

code

string

De foutcode.

details

ErrorDetail[]

De foutdetails.

message

string

Het foutbericht.

target

string

Het foutdoel.

ErrorResponse

Foutreactie

Name Type Description
error

ErrorDetail

Het foutobject.

PartialAssessmentProperties

Beschrijft eigenschappen van een evaluatie als gerelateerd aan de standaard

Name Type Description
assessmentKey

string

De evaluatiesleutel

SecurityStandard

Beveiligingsstandaard voor een resource

Name Type Description
id

string

Resource-id

name

string

Resourcenaam

properties.assessments

PartialAssessmentProperties[]

Lijst met evaluatiesleutels die moeten worden toegepast op standaardbereik.

properties.cloudProviders

StandardSupportedCloud[]

Lijst met alle standaard ondersteunde clouds.

properties.description

string

Beschrijving van de standaard

properties.displayName

string

Weergavenaam van de standaard, gelijk aan de standardId

properties.metadata

StandardMetadata

De metagegevens van de beveiligingsstandaard.

properties.policySetDefinitionId

string

De definitie-id van de beleidsset die aan de standaard is gekoppeld.

properties.standardType

standardType

Standaardtype (momenteel alleen aangepast of standaard of naleving)

type

string

Resourcetype

StandardMetadata

De standaardmetagegevens

Name Type Description
createdBy

string

Standaard gemaakt door object-id (GUID)

createdOn

string

Standaard aanmaakdatum

lastUpdatedBy

string

Standard laatst bijgewerkt op object-id (GUID)

lastUpdatedOn

string

Standaarddatum van laatste update

StandardSupportedCloud

De cloud waarop de standaard wordt ondersteund.

Name Type Description
AWS

string

Azure

string

GCP

string

standardType

Standaardtype (momenteel alleen aangepast of standaard of naleving)

Name Type Description
Compliance

string

Custom

string

Default

string