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.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyproofpoint-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for pyproofpoint-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fe98402fda04810fdfd6b255a769c5d537ecdc74a1c2e1df5556fdad4518355f
MD5 6f9fc7a77c5db8d0bc5cb05dee0e56fd
BLAKE2b-256 ea10500dc959ac0fe67ea4f8f44bb1851a7ddab1aa0a31e35c2dbd1e2f5e82d3

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