Secure Score Control Definitions - List
列出可用的安全控制、其评估以及最大分数
GET https://management.azure.com/providers/Microsoft.Security/secureScoreControlDefinitions?api-version=2020-01-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
api-version
|
query | True |
string |
作的 API 版本 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
还行 |
|
Other Status Codes |
描述作失败的原因的错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
List security controls definition
示例请求
GET https://management.azure.com/providers/Microsoft.Security/secureScoreControlDefinitions?api-version=2020-01-01
示例响应
{
"value": [
{
"id": "/providers/Microsoft.Security/SecureScoreControlDefinitions/a9909064-42b4-4d34-8143-275477afe18b",
"name": "a9909064-42b4-4d34-8143-275477afe18b",
"type": "Microsoft.Security/SecureScoreControlDefinitions",
"properties": {
"source": {
"sourceType": "BuiltIn"
},
"displayName": "Protect applications against DDoS attacks",
"description": "This control contains recommendations regarding DDoS attack prevention",
"maxScore": 2,
"assessmentDefinitions": [
{
"id": "/providers/Microsoft.Security/assessmentMetadata/e3de1cc0-f4dd-3b34-e496-8b5381ba2d70"
}
]
}
},
{
"id": "/providers/Microsoft.Security/SecureScoreControlDefinitions/a000c66f-6da2-4f9d-826d-2364347d2588",
"name": "a000c66f-6da2-4f9d-826d-2364347d2588",
"type": "Microsoft.Security/SecureScoreControlDefinitions",
"properties": {
"source": {
"sourceType": "BuiltIn"
},
"displayName": "Apply adaptive application control",
"description": "This control contains recommendations regarding enabling adaptive application control",
"maxScore": 3,
"assessmentDefinitions": [
{
"id": "/providers/Microsoft.Security/assessmentMetadata/35f45c95-27cf-4e52-891f-8390d1de5828"
},
{
"id": "/providers/Microsoft.Security/assessmentMetadata/d1db3318-01ff-16de-29eb-28b344515626"
},
{
"id": "/providers/Microsoft.Security/assessmentMetadata/e7ee30c4-bac9-2966-54bd-2023a4282872"
},
{
"id": "/providers/Microsoft.Security/assessmentMetadata/8e2b96ff-3de2-289b-b5c1-3b9921a3441e"
}
]
}
}
]
}
定义
名称 | 说明 |
---|---|
Azure |
描述具有种类的 Azure 资源 |
Cloud |
所有 Azure 资源管理器 API 的常见错误响应,以返回失败作的错误详细信息。 (这也遵循 OData 错误响应格式)。 |
Cloud |
错误详细信息。 |
control |
安全控制的类型(例如 BuiltIn) |
Error |
资源管理错误附加信息。 |
Secure |
有关安全控制的信息。 |
secure |
安全控制定义列表 |
Secure |
安全控制的类型(例如 BuiltIn) |
AzureResourceLink
描述具有种类的 Azure 资源
名称 | 类型 | 说明 |
---|---|---|
id |
string |
Azure 资源 ID |
CloudError
所有 Azure 资源管理器 API 的常见错误响应,以返回失败作的错误详细信息。 (这也遵循 OData 错误响应格式)。
名称 | 类型 | 说明 |
---|---|---|
error.additionalInfo |
错误附加信息。 |
|
error.code |
string |
错误代码。 |
error.details |
错误详细信息。 |
|
error.message |
string |
错误消息。 |
error.target |
string |
错误目标。 |
CloudErrorBody
错误详细信息。
名称 | 类型 | 说明 |
---|---|---|
additionalInfo |
错误附加信息。 |
|
code |
string |
错误代码。 |
details |
错误详细信息。 |
|
message |
string |
错误消息。 |
target |
string |
错误目标。 |
controlType
安全控制的类型(例如 BuiltIn)
值 | 说明 |
---|---|
BuiltIn |
Microsoft Defender for Cloud 托管评估 |
Custom |
非 Microsoft Defender for Cloud 托管评估 |
ErrorAdditionalInfo
资源管理错误附加信息。
名称 | 类型 | 说明 |
---|---|---|
info |
object |
其他信息。 |
type |
string |
其他信息类型。 |
SecureScoreControlDefinitionItem
有关安全控制的信息。
名称 | 类型 | 说明 |
---|---|---|
id |
string |
资源 ID |
name |
string |
资源名称 |
properties.assessmentDefinitions |
此安全控制中包含的评估元数据 ID 数组 |
|
properties.description |
string maxLength: 256 |
控件的用户友好说明 |
properties.displayName |
string |
控件的用户友好显示名称 |
properties.maxScore |
integer (int32) minimum: 0maximum: 10 exclusiveMinimum: False |
最大控制分数 (0..10) |
properties.source |
从中创建控件的源对象 |
|
type |
string |
资源类型 |
secureScoreControlDefinitionList
安全控制定义列表
名称 | 类型 | 说明 |
---|---|---|
nextLink |
string |
要提取下一页的 URI。 |
value |
此页中安全控件定义的集合 |
SecureScoreControlDefinitionSource
安全控制的类型(例如 BuiltIn)
名称 | 类型 | 说明 |
---|---|---|
sourceType |
安全控制的类型(例如 BuiltIn) |