Skip to content

Derekt2/PyProofpoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Python Wrapper for Proofpoint's Threat Insight API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages