Megosztás a következőn keresztül:


Iot Security Solutions Analytics Recommendation - Get

Ezzel a módszerrel lekérheti az IoT Security-megoldás összesített biztonsági elemzési javaslatát. Ezt az összesítést a javaslat neve hajtja végre.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations/{aggregatedRecommendationName}?api-version=2019-08-01

URI-paraméterek

Name In Kötelező Típus Description
aggregatedRecommendationName
path True

string

A lekérdezéshez összesített javaslat neve.

resourceGroupName
path True

string

minLength: 1
maxLength: 90
pattern: ^[-\w\._\(\)]+$

A felhasználó előfizetésében lévő erőforráscsoport neve. A név nem megkülönbözteti a kis- és nagybetűket.

solutionName
path True

string

Az IoT Security-megoldás neve.

subscriptionId
path True

string

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

Azure-előfizetés azonosítója

api-version
query True

string

API-verzió a művelethez

Válaszok

Name Típus Description
200 OK

IoTSecurityAggregatedRecommendation

OKÉ

Other Status Codes

CloudError

Hibaválasz, amely leírja, hogy miért nem sikerült a művelet.

Biztonság

azure_auth

Azure Active Directory OAuth2 Flow

Típus: oauth2
Folyamat: implicit
Engedélyezési URL: https://login.microsoftonline.com/common/oauth2/authorize

Hatókörök

Name Description
user_impersonation a felhasználói fiók megszemélyesítése

Példák

Get the aggregated security analytics recommendation of yours IoT Security solution

Mintakérelem

GET https://management.azure.com/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/iotSecuritySolutions/default/analyticsModels/default/aggregatedRecommendations/OpenPortsOnDevice?api-version=2019-08-01

Mintaválasz

{
  "id": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/OpenPortsOnDevice",
  "name": "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/OpenPortsOnDevice",
  "type": "Microsoft.Security/iotSecuritySolutions/analyticsModels/aggregatedRecommendations",
  "properties": {
    "recommendationName": "OpenPortsOnDevice",
    "recommendationDisplayName": "Permissive firewall policy in one of the chains was found",
    "description": "An allowed firewall policy was found in main firewall Chains (INPUT/OUTPUT). The policy should Deny all traffic by default define rules to allow necessary communication to/from the device",
    "recommendationTypeId": "{20ff7fc3-e762-44dd-bd96-b71116dcdc23}",
    "detectedBy": "Microsoft",
    "reportedSeverity": "Low",
    "remediationSteps": "",
    "healthyDevices": 10000,
    "unhealthyDeviceCount": 200,
    "logAnalyticsQuery": "SecurityRecommendation | where tolower(AssessedResourceId) == tolower('/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/IoTEdgeResources/providers/Microsoft.Devices/IotHubs/t-ofdadu-hub') and tolower(RecommendationName) == tolower('OpenPortsOnDevice')"
  }
}

Definíciók

Name Description
CloudError

Az Összes Azure Resource Manager API gyakori hibaválasza a sikertelen műveletek hibaadatainak visszaadásához. (Ez az OData hibaválasz formátumát is követi.)

CloudErrorBody

A hiba részletei.

ErrorAdditionalInfo

Az erőforrás-kezelési hiba további információi.

IoTSecurityAggregatedRecommendation

Az IoT Security-megoldás javaslati információi.

reportedSeverity

Értékelt riasztás súlyossága.

CloudError

Az Összes Azure Resource Manager API gyakori hibaválasza a sikertelen műveletek hibaadatainak visszaadásához. (Ez az OData hibaválasz formátumát is követi.)

Name Típus Description
error.additionalInfo

ErrorAdditionalInfo[]

A hiba további információi.

error.code

string

A hibakód.

error.details

CloudErrorBody[]

A hiba részletei.

error.message

string

A hibaüzenet.

error.target

string

A hibacél.

CloudErrorBody

A hiba részletei.

Name Típus Description
additionalInfo

ErrorAdditionalInfo[]

A hiba további információi.

code

string

A hibakód.

details

CloudErrorBody[]

A hiba részletei.

message

string

A hibaüzenet.

target

string

A hibacél.

ErrorAdditionalInfo

Az erőforrás-kezelési hiba további információi.

Name Típus Description
info

object

A további információk.

type

string

A további információtípus.

IoTSecurityAggregatedRecommendation

Az IoT Security-megoldás javaslati információi.

Name Típus Description
id

string

Erőforrás-azonosító

name

string

Erőforrás neve

properties.description

string

A feltételezett sebezhetőség és jelentés leírása.

properties.detectedBy

string

A javaslatot tevő szervezet neve.

properties.healthyDevices

integer (int64)

Az IoT Security-megoldáson belüli kifogástalan állapotú eszközök száma.

properties.logAnalyticsQuery

string

Log analytics-lekérdezés az érintett eszközök/riasztások listájának lekéréséhez.

properties.recommendationDisplayName

string

A javaslat típusának megjelenítendő neve.

properties.recommendationName

string

A javaslat neve.

properties.recommendationTypeId

string

Javaslat típusú GUID.

properties.remediationSteps

string

A szervizelés ajánlott lépései

properties.reportedSeverity

reportedSeverity

Értékelt javaslatok súlyossága.

properties.unhealthyDeviceCount

integer (int64)

Az IoT Security-megoldáson belüli nem megfelelő eszközök száma.

tags

object

Erőforráscímkék

type

string

Erőforrás típusa

reportedSeverity

Értékelt riasztás súlyossága.

Érték Description
High
Informational
Low
Medium