Skip to content

Commit 8a4a093

Browse files
authored
Merge pull request #204700 from yoninalmsft/patch-3
Remove api/v2/alerts/pcap/ from sensor section
2 parents 45d0a88 + 27b2257 commit 8a4a093

File tree

1 file changed

+1
-46
lines changed

1 file changed

+1
-46
lines changed

articles/defender-for-iot/organizations/references-work-with-defender-for-iot-apis.md

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ After generating the token, add an HTTP header titled **Authorization** to your
5757

5858
- [Retrieve operational vulnerabilities - /api/v1/reports/vulnerabilities/operational](#retrieve-operational-vulnerabilities---apiv1reportsvulnerabilitiesoperational)
5959

60-
### Version 2
61-
62-
- [Retrieve alert PCAP - /api/v2/alerts/pcap](#retrieve-alert-pcap---apiv2alertspcap)
63-
6460
### Validate user credentials - /api/external/authentication/validation
6561

6662
Use this API to validate a Defender for IoT username and password. All Defender for IoT user roles can work with the API.
@@ -1527,47 +1523,6 @@ JSON object that represents assessed results. Each key contains a JSON array of
15271523
|--|--|--|
15281524
| GET | `curl -k -H "Authorization: <AUTH_TOKEN>" https://<IP_ADDRESS>/api/v1/reports/vulnerabilities/operational` | `curl -k -H "Authorization: 1234b734a9244d54ab8d40aedddcabcd" https://127.0.0.1/api/v1/reports/vulnerabilities/operational` |
15291525

1530-
### Retrieve alert PCAP - /api/v2/alerts/pcap
1531-
1532-
Use this API to retrieve a PCAP file related to an alert.
1533-
1534-
This endpoint does not use a regular access token for authorization. Instead, it requires a special token created by the `/external/v2/alerts/pcap` API endpoint on the CM.
1535-
1536-
#### Method
1537-
1538-
- **GET**
1539-
1540-
#### Query Parameters
1541-
1542-
- id: Xsense Alert ID
1543-
Example:
1544-
`/api/v2/alerts/pcap/<id>`
1545-
1546-
#### Response type
1547-
1548-
- **JSON**
1549-
1550-
#### Response content
1551-
1552-
- **Success**: Binary file containing PCAP data
1553-
- **Failure**: JSON object that contains error message
1554-
1555-
#### Response example
1556-
1557-
#### Error
1558-
1559-
```json
1560-
{
1561-
"error": "PCAP file is not available"
1562-
}
1563-
```
1564-
1565-
#### Curl command
1566-
1567-
|Type|APIs|Example|
1568-
|-|-|-|
1569-
|GET|`curl -k -H "Authorization: <AUTH_TOKEN>" 'https://<IP_ADDRESS>/api/v2/alerts/pcap/<ID>'`|`curl -k -H "Authorization: d2791f58-2a88-34fd-ae5c-2651fe30a63c" 'https://10.1.0.2/api/v2/alerts/pcap/1'`|
1570-
15711526
## Management console API
15721527

15731528
This section describes on-premises management console APIs for:
@@ -2916,4 +2871,4 @@ The below API's can be used with the ServiceNow integration via the ServiceNow's
29162871

29172872
- [Investigate sensor detections in a device inventory](how-to-investigate-sensor-detections-in-a-device-inventory.md)
29182873

2919-
- [Investigate all enterprise sensor detections in a device inventory](how-to-investigate-all-enterprise-sensor-detections-in-a-device-inventory.md)
2874+
- [Investigate all enterprise sensor detections in a device inventory](how-to-investigate-all-enterprise-sensor-detections-in-a-device-inventory.md)

0 commit comments

Comments
 (0)