mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-16 02:43:43 +00:00
Added "http" to unlabeled code blocks
This commit is contained in:
@ -41,7 +41,7 @@ Not all properties are filterable.
|
|||||||
|
|
||||||
Get 10 latest Alerts with related Evidence
|
Get 10 latest Alerts with related Evidence
|
||||||
|
|
||||||
```
|
```http
|
||||||
HTTP GET https://api.securitycenter.microsoft.com/api/alerts?$top=10&$expand=evidence
|
HTTP GET https://api.securitycenter.microsoft.com/api/alerts?$top=10&$expand=evidence
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -149,7 +149,7 @@ HTTP GET https://api.securitycenter.microsoft.com/api/alerts?$top=10&$expand=ev
|
|||||||
|
|
||||||
Get all the alerts last updated after 2019-11-22 00:00:00
|
Get all the alerts last updated after 2019-11-22 00:00:00
|
||||||
|
|
||||||
```
|
```http
|
||||||
HTTP GET https://api.securitycenter.windows.com/api/alerts?$filter=lastUpdateTime+ge+2019-11-22T00:00:00Z
|
HTTP GET https://api.securitycenter.windows.com/api/alerts?$filter=lastUpdateTime+ge+2019-11-22T00:00:00Z
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -205,7 +205,7 @@ HTTP GET https://api.securitycenter.windows.com/api/alerts?$filter=lastUpdateTi
|
|||||||
|
|
||||||
Get all the devices with 'High' 'RiskScore'
|
Get all the devices with 'High' 'RiskScore'
|
||||||
|
|
||||||
```
|
```http
|
||||||
HTTP GET https://api.securitycenter.windows.com/api/machines?$filter=riskScore+eq+'High'
|
HTTP GET https://api.securitycenter.windows.com/api/machines?$filter=riskScore+eq+'High'
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -244,7 +244,7 @@ HTTP GET https://api.securitycenter.windows.com/api/machines?$filter=riskScore+
|
|||||||
|
|
||||||
Get top 100 devices with 'HealthStatus' not equals to 'Active'
|
Get top 100 devices with 'HealthStatus' not equals to 'Active'
|
||||||
|
|
||||||
```
|
```http
|
||||||
HTTP GET https://api.securitycenter.windows.com/api/machines?$filter=healthStatus+ne+'Active'&$top=100
|
HTTP GET https://api.securitycenter.windows.com/api/machines?$filter=healthStatus+ne+'Active'&$top=100
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -283,7 +283,7 @@ HTTP GET https://api.securitycenter.windows.com/api/machines?$filter=healthStat
|
|||||||
|
|
||||||
Get all the devices that last seen after 2018-10-20
|
Get all the devices that last seen after 2018-10-20
|
||||||
|
|
||||||
```
|
```http
|
||||||
HTTP GET https://api.securitycenter.windows.com/api/machines?$filter=lastSeen gt 2018-08-01Z
|
HTTP GET https://api.securitycenter.windows.com/api/machines?$filter=lastSeen gt 2018-08-01Z
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -322,7 +322,7 @@ HTTP GET https://api.securitycenter.windows.com/api/machines?$filter=lastSeen g
|
|||||||
|
|
||||||
Get all the Anti-Virus scans that the user Analyst@examples.onmicrosoft.com created using Microsoft Defender ATP
|
Get all the Anti-Virus scans that the user Analyst@examples.onmicrosoft.com created using Microsoft Defender ATP
|
||||||
|
|
||||||
```
|
```http
|
||||||
HTTP GET https://api.securitycenter.windows.com/api/machineactions?$filter=requestor eq 'Analyst@contoso.com' and type eq 'RunAntiVirusScan'
|
HTTP GET https://api.securitycenter.windows.com/api/machineactions?$filter=requestor eq 'Analyst@contoso.com' and type eq 'RunAntiVirusScan'
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -354,7 +354,7 @@ json{
|
|||||||
|
|
||||||
Get the count of open alerts for a specific device:
|
Get the count of open alerts for a specific device:
|
||||||
|
|
||||||
```
|
```http
|
||||||
HTTP GET https://api.securitycenter.windows.com/api/machines/123321d0c675eaa415b8e5f383c6388bff446c62/alerts/$count?$filter=status ne 'Resolved'
|
HTTP GET https://api.securitycenter.windows.com/api/machines/123321d0c675eaa415b8e5f383c6388bff446c62/alerts/$count?$filter=status ne 'Resolved'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user