A python wrapper for proofpoint's threat insight API
Project description
PyProofpoint
Python Wrapper for Proofpoint's Threat Insight API
Install
pip3 install pyproofpoint
Docs
https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation/Campaign_API
Usage
from pyproofpoint import proofpoint
from datetime import date
servicePrincipal = "Service Account"
APISecret = "Service AccountSecret"
pp = proofpoint.ProofPoint(servicePrincipal, APISecret)
my_date = date(2020, 12, 12).isoformat()
interval = "PT12H/" + my_date
campaigns = pp.get_campaign_ids(interval=interval)
print(campaigns)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyproofpoint-1.0.0.tar.gz
(4.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyproofpoint-1.0.0.tar.gz.
File metadata
- Download URL: pyproofpoint-1.0.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbe31eab0d2cfae7cc763bcf2ec24726a474c295be99b942a122de48f8df8252
|
|
| MD5 |
d7499d73103fda9a8eb7de144bdce9c0
|
|
| BLAKE2b-256 |
c4e2ca07031b8476e5083da4c29927e0929913713f7d337c82de0b1a4ee5ac8c
|
File details
Details for the file pyproofpoint-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pyproofpoint-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00d6cec2e2c3fd5702bf600f5a5d2ac9f923f432c177bf6735ac42a793d2dcbd
|
|
| MD5 |
580b24e957587be6dd054037b4574a21
|
|
| BLAKE2b-256 |
338cc577bc857cf4e46842071fe845e0d628544fb6b4cba219461eabc373425c
|