Aracılığıyla paylaş


Secure Scores - Get

Geçerli kapsamınızdaki Belirli bir Bulut Microsoft Defender için güvenlik puanı alın. ASC Varsayılan girişimi için 'ascScore' kullanın.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScores/{secureScoreName}?api-version=2020-01-01

URI Parametreleri

Name İçinde Gerekli Tür Description
secureScoreName
path True

string

Girişim adı. ASC Varsayılan girişimi için aşağıdaki örnek istekte olduğu gibi 'ascScore' kullanın.

subscriptionId
path True

string

Azure abonelik kimliği

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

api-version
query True

string

İşlem için API sürümü

Yanıtlar

Name Tür Description
200 OK

SecureScoreItem

Tamam

Other Status Codes

CloudError

İşlemin neden başarısız olduğunu açıklayan hata yanıtı.

Güvenlik

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 kullanıcı hesabınızın kimliğine bürünme

Örnekler

Get single secure score

Sample Request

GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/secureScores/ascScore?api-version=2020-01-01

Sample Response

{
  "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/secureScores/ascScore",
  "name": "ascScore",
  "type": "Microsoft.Security/secureScores",
  "properties": {
    "displayName": "ASC score",
    "score": {
      "max": 39,
      "current": 23.53,
      "percentage": 0.6033
    },
    "weight": 67
  }
}

Tanımlar

Name Description
CloudError

Başarısız işlemlerin hata ayrıntılarını döndürmek için tüm Azure Resource Manager API'leri için genel hata yanıtı. (Bu, OData hata yanıtı biçimini de izler.).

CloudErrorBody

Hata ayrıntısı.

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

SecureScoreItem

Güvenlik puanı öğe veri modeli

CloudError

Başarısız işlemlerin hata ayrıntılarını döndürmek için tüm Azure Resource Manager API'leri için genel hata yanıtı. (Bu, OData hata yanıtı biçimini de izler.).

Name Tür Description
error.additionalInfo

ErrorAdditionalInfo[]

Hata ek bilgileri.

error.code

string

Hata kodu.

error.details

CloudErrorBody[]

Hata ayrıntıları.

error.message

string

Hata iletisi.

error.target

string

Hata hedefi.

CloudErrorBody

Hata ayrıntısı.

Name Tür Description
additionalInfo

ErrorAdditionalInfo[]

Hata ek bilgileri.

code

string

Hata kodu.

details

CloudErrorBody[]

Hata ayrıntıları.

message

string

Hata iletisi.

target

string

Hata hedefi.

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

Name Tür Description
info

object

Ek bilgiler.

type

string

Ek bilgi türü.

SecureScoreItem

Güvenlik puanı öğe veri modeli

Name Tür Description
id

string

Kaynak Kimliği

name

string

Kaynak adı

properties.displayName

string

Girişimin adı

properties.score.current

number

Geçerli puan

properties.score.max

integer

Kullanılabilir en yüksek puan

properties.score.percentage

number

Geçerli puanın maksimuma bölünme oranı. Ondalık ayırıcıdan sonra 4 basamağı yuvarlar

properties.weight

integer

Her aboneliğin göreli ağırlığı. Birden çok abonelik için toplu bir güvenlik puanı hesaplanırken kullanılır.

type

string

Kaynak türü