Security Standards - Get
Abrufen eines bestimmten Sicherheitsstandards für den angeforderten Bereich anhand der StandardId
GET https://management.azure.com/{scope}/providers/Microsoft.Security/securityStandards/{standardId}?api-version=2024-08-01
URI-Parameter
Name | In | Erforderlich | Typ | Beschreibung |
---|---|---|---|---|
scope
|
path | True |
string |
Der Umfang des Sicherheitsstandards. Gültige Bereiche sind: Verwaltungsgruppe (Format: 'Providers/Microsoft.Management/managementGroups/{managementGroup}'), Abonnement (Format: 'subscriptions/{subscriptionId}') oder Security Connector (Format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})' |
standard
|
path | True |
string |
Der Sicherheitsstandardschlüssel – eindeutiger Schlüssel für den Standardtyp RegEx-Muster: |
api-version
|
query | True |
string |
Die API-Version, die für diesen Vorgang verwendet werden soll. |
Antworten
Name | Typ | Beschreibung |
---|---|---|
200 OK |
Sicherheitsstandard wurde erfolgreich erstellt. |
|
Other Status Codes |
Fehlerantwort, die beschreibt, warum der Vorgang fehlgeschlagen ist |
Sicherheit
azure_auth
Azure Active Directory OAuth2-Fluss
Typ:
oauth2
Ablauf:
implicit
Autorisierungs-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiche
Name | Beschreibung |
---|---|
user_impersonation | Identitätswechsel ihres Benutzerkontos |
Beispiele
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
Beispielanforderung
Beispiel für eine Antwort
{
"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
Beispielanforderung
Beispiel für eine Antwort
{
"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
Beispielanforderung
Beispiel für eine Antwort
{
"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"
}
}
}
Definitionen
Name | Beschreibung |
---|---|
Error |
Der Ressourcenverwaltungsfehler zusätzliche Informationen. |
Error |
Das Fehlerdetails. |
Error |
Fehlerantwort |
Partial |
Beschreibt die Eigenschaften einer Bewertung im Zusammenhang mit dem Standard |
Security |
Security Standard für eine Ressource |
Standard |
Die Standardmetadaten |
Standard |
Die Cloud, auf der der Standard unterstützt wird. |
standard |
Standardtyp (derzeit nur benutzerdefiniert oder Standard oder Compliance) |
ErrorAdditionalInfo
Der Ressourcenverwaltungsfehler zusätzliche Informationen.
Name | Typ | Beschreibung |
---|---|---|
info |
object |
Die zusätzlichen Informationen. |
type |
string |
Der zusätzliche Informationstyp. |
ErrorDetail
Das Fehlerdetails.
Name | Typ | Beschreibung |
---|---|---|
additionalInfo |
Die zusätzlichen Informationen des Fehlers. |
|
code |
string |
Der Fehlercode. |
details |
Die Fehlerdetails. |
|
message |
string |
Die Fehlermeldung. |
target |
string |
Das Fehlerziel. |
ErrorResponse
Fehlerantwort
Name | Typ | Beschreibung |
---|---|---|
error |
Das Fehlerobjekt. |
PartialAssessmentProperties
Beschreibt die Eigenschaften einer Bewertung im Zusammenhang mit dem Standard
Name | Typ | Beschreibung |
---|---|---|
assessmentKey |
string |
Der Bewertungsschlüssel |
SecurityStandard
Security Standard für eine Ressource
Name | Typ | Beschreibung |
---|---|---|
id |
string |
Ressourcen-ID |
name |
string |
Ressourcenname |
properties.assessments |
Liste der Bewertungsschlüssel, die auf den Standardumfang angewendet werden sollen. |
|
properties.cloudProviders |
Liste aller standardmäßig unterstützten Clouds. |
|
properties.description |
string |
Beschreibung des Standards |
properties.displayName |
string |
Anzeigename des Standards, entspricht der Standard-ID |
properties.metadata |
Die Sicherheitsstandardmetadaten. |
|
properties.policySetDefinitionId |
string |
Die dem Standard zugeordnete Richtliniensatzdefinitions-ID. |
properties.standardType |
Standardtyp (derzeit nur benutzerdefiniert oder Standard oder Compliance) |
|
type |
string |
Ressourcentyp |
StandardMetadata
Die Standardmetadaten
Name | Typ | Beschreibung |
---|---|---|
createdBy |
string |
Standard Created by object ID (GUID) |
createdOn |
string |
Standarderstellungsdatum |
lastUpdatedBy |
string |
Standard zuletzt aktualisiert durch Objekt-ID (GUID) |
lastUpdatedOn |
string |
Standarddatum der letzten Aktualisierung |
StandardSupportedCloud
Die Cloud, auf der der Standard unterstützt wird.
Name | Typ | Beschreibung |
---|---|---|
AWS |
string |
|
Azure |
string |
|
GCP |
string |
standardType
Standardtyp (derzeit nur benutzerdefiniert oder Standard oder Compliance)
Name | Typ | Beschreibung |
---|---|---|
Compliance |
string |
|
Custom |
string |
|
Default |
string |