WindowsDeviceMalwareState を更新する
名前空間: microsoft.graph
大事な: /beta バージョンの Microsoft Graph API は変更される可能性があります。運用環境での使用はサポートされていません。
注:Intune 用 Microsoft Graph API には、テナントの有効な Intune ライセンスが必要です。
windowsDeviceMalwareState オブジェクトのプロパティを更新します。
この API は、次の国内クラウド展開で使用できます。
グローバル サービス | 米国政府機関 L4 | 米国政府機関 L5 (DOD) | 21Vianet が運営する中国 |
---|---|---|---|
✅ | ✅ | ✅ | ✅ |
アクセス許可
この API を呼び出すには、次のいずれかのアクセス許可が必要です。 アクセス許可の選択方法などの詳細については、「アクセス許可」を参照してください。
アクセス許可の種類 | アクセス許可 (特権の小さいものから大きいものへ) |
---|---|
委任 (職場または学校のアカウント) | DeviceManagementConfiguration.ReadWrite.All、DeviceManagementManagedDevices.ReadWrite.All |
委任 (個人用 Microsoft アカウント) | サポートされていません。 |
アプリケーション | DeviceManagementConfiguration.ReadWrite.All、DeviceManagementManagedDevices.ReadWrite.All |
HTTP 要求
PATCH /deviceManagement/deviceManagementScripts/{deviceManagementScriptId}/deviceRunStates/{deviceManagementScriptDeviceStateId}/managedDevice/windowsProtectionState/detectedMalwareState/{windowsDeviceMalwareStateId}
要求ヘッダー
ヘッダー | 値 |
---|---|
Authorization | ベアラー {token}。 必須です。 認証と承認の詳細については、こちらをご覧ください。 |
承諾 | application/json |
要求本文
要求本文で、 windowsDeviceMalwareState オブジェクトの JSON 表現を指定します。
次の表は、 windowsDeviceMalwareState を作成するときに必要なプロパティを示しています。
プロパティ | 型 | 説明 |
---|---|---|
id | String | 一意の識別子。 これはマルウェア ID です。 |
displayName | String | マルウェア名 |
additionalInformationUrl | String | マルウェアの詳細を確認するための情報 URL |
severity | windowsMalwareSeverity | マルウェアの重大度。 可能な値は、unknown 、low 、moderate 、high 、severe です。 |
executionState | windowsMalwareExecutionState | ブロック/実行などのマルウェアの実行状態。使用可能な値は、 unknown 、、 blocked 、 allowed 、 running です notRunning 。 |
state | windowsMalwareState | クリーン/検疫/許可などのマルウェアの現在の状態。使用可能な値は、unknown detected cleaned quarantined 、removed 、allowed 、 blocked quarantineFailed blockFailed cleanFailed removeFailed allowFailed abandoned です。 |
threatState | windowsMalwareThreatState | クリーン/検疫/許可などのマルウェアの現在の状態。指定できる値は、active 、actionFailed 、、fullScanRequired manualStepsRequired 、rebootRequired 、remediatedWithNonCriticalFailures 、 removed allowed quarantined cleaned noStatusCleared です。 |
initialDetectionDateTime | DateTimeOffset | マルウェアの初期検出日時 |
lastStateChangeDateTime | DateTimeOffset | この特定の脅威が最後に変更された時刻 |
detectionCount | Int32 | マルウェアが検出された回数 |
category | windowsMalwareCategory | マルウェアのカテゴリ。 使用できる値は、invalid passwordStealer spyware adware 、trojanDownloader 、worm 、backdoor trojanMonitoringSoftware remoteAccessTrojan trojanMassMailer trojan trojanProxyServer emailFlooder trojanDenialOfService tool remote_Control_Software malwareCreationTool filesharingProgram exploit virus aolExploit browserPlugin cookie browserModifier nuker monitoringSoftware keylogger icqExploit potentialUnwantedSoftware trojanTelnet trojanDropper remoteControlSoftware enterpriseUnwantedSoftware toolBar hostileActiveXControl jokeProgram softwareBundler securityDisabler stealthNotifier dialer settingsModifier trojanFtp vulnerability behavior policy unknown spp known 、 ransom hipsRule です。 |
応答
成功した場合、このメソッドは応答コードと、応答本文で更新された windowsDeviceMalwareState オブジェクトを返200 OK
します。
例
要求
以下は、要求の例です。
PATCH https://graph.microsoft.com/beta/deviceManagement/deviceManagementScripts/{deviceManagementScriptId}/deviceRunStates/{deviceManagementScriptDeviceStateId}/managedDevice/windowsProtectionState/detectedMalwareState/{windowsDeviceMalwareStateId}
Content-type: application/json
Content-length: 484
{
"@odata.type": "#microsoft.graph.windowsDeviceMalwareState",
"displayName": "Display Name value",
"additionalInformationUrl": "https://example.com/additionalInformationUrl/",
"severity": "low",
"executionState": "blocked",
"state": "detected",
"threatState": "actionFailed",
"initialDetectionDateTime": "2016-12-31T23:57:05.3889692-08:00",
"lastStateChangeDateTime": "2016-12-31T23:59:51.0767794-08:00",
"detectionCount": 14,
"category": "adware"
}
応答
以下は、応答の例です。 注: 簡潔にするために、ここに示す応答オブジェクトは切り詰められている場合があります。 実際の呼び出しではすべてのプロパティが返されます。
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 533
{
"@odata.type": "#microsoft.graph.windowsDeviceMalwareState",
"id": "6698016c-016c-6698-6c01-98666c019866",
"displayName": "Display Name value",
"additionalInformationUrl": "https://example.com/additionalInformationUrl/",
"severity": "low",
"executionState": "blocked",
"state": "detected",
"threatState": "actionFailed",
"initialDetectionDateTime": "2016-12-31T23:57:05.3889692-08:00",
"lastStateChangeDateTime": "2016-12-31T23:59:51.0767794-08:00",
"detectionCount": 14,
"category": "adware"
}
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示