esetconnect-0.1.1
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | esetconnect-0.1.1 |
| نام | esetconnect |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Donny Maasland |
| ایمیل نویسنده | donny@unauthorizedaccess.nl |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/esetconnect/ |
| مجوز | - |
# ESET Connect
## API Docs
http://epcpublicapi-test.westeurope.cloudapp.azure.com/swagger/
## Quickstart
### Install
```bash
pip install esetconnect
```
### Get detections
```python
from esetconnect import EsetConnect
USERNAME = "username"
PASSWORD = "password"
with EsetConnect(USERNAME, PASSWORD) as ec:
for detection in ec.get_detections().detections:
print(detection.json())
```
```json
{
"category":"DETECTION_CATEGORY_UNSPECIFIED",
"context":{
"circumstances":"Event occurred on a modified file.",
"device_uuid":"83c7522f-f4a7-4a80-a055-8e1329201129",
"process":{
"path":"C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"
},
"user_name":"DESKTOP-7DAP322\\username"
},
"display_name":"Eicar",
"network_communication":null,
"object_hash_sha1":"3395856CE81F2B7382DEE72602F798B642F14140",
"object_name":"file:///C:/Users/username/AppData/Local/Temp/2f7545df-d894-4768-8741-944d7ef059f6.tmp",
"object_type_name":"File",
"object_url":"",
"occur_time":"2022-12-07T09:26:13",
"responses":{
"description":null,
"device_restart_required":null,
"display_name":null,
"protection_name":null
},
"severity_level":"SEVERITY_LEVEL_MEDIUM",
"type_name":"nil",
"uuid":"ec879237-d1c3-3742-ecab-05fed9ea9a58"
}
```
نیازمندی
| مقدار | نام |
|---|---|
| >=1.10.2,<2.0.0 | pydantic |
| >=0.23.1,<0.24.0 | httpx |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10,<4.0 | Python |
نحوه نصب
نصب پکیج whl esetconnect-0.1.1:
pip install esetconnect-0.1.1.whl
نصب پکیج tar.gz esetconnect-0.1.1:
pip install esetconnect-0.1.1.tar.gz