Skip to main content

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyproofpoint-1.0.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file pyproofpoint-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyproofpoint-1.0.1-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/5.0.0 pkginfo/1.7.1 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for pyproofpoint-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79a78a9c6079649f027037b9588c809049b56b3bbc7be0f14556b6df97d3c6fe
MD5 d6308e6cfca6cc1f4a157ca82fc0ac04
BLAKE2b-256 c04567f5fc9d028ce8af642a802fc765fd6110aefdce8ac5e55f3e269999b352

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page