Skip to main content

Python module to interact with the Proofpoint Security Awareness Training (PSAT) Results API

Project description

Project description

Small and simple package to connect to the PSAT (Proofpoint Security Awareness Traning) result API.

Proofpoint Result API

See the REST API full documentation for more information.

Installation

pip install psat-result-api

Example

from psat import ResultApi

p = ResultApi("insert-api-token-here")

# Return training assignments data
training = p.get_training() 

# Return users data with some parameters
users = p.get_users(
        params={
            "user_tag_enable": "FALSE",
            "filter[_useremailaddress]": "[user@domain.com]",
        }
    )

Supported endpoints

  • CyberStrength ( get_users() )
  • PhishAlarm ( get_cyberstrength() )
  • Phishing ( get_phishalarm() )
  • Training ( get_phishing() )
  • Users ( get_training() )
  • TrainingEnrollments ( get_trainingenrollments() )

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

psat-result-api-1.0.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

psat_result_api-1.0.3-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file psat-result-api-1.0.3.tar.gz.

File metadata

  • Download URL: psat-result-api-1.0.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for psat-result-api-1.0.3.tar.gz
Algorithm Hash digest
SHA256 bb952da2a305da958268fa10889a6ffddcc7846f6cedf0fe2ab0f59a61e2ae23
MD5 364ed7a958b316705362e6b0f35adcbc
BLAKE2b-256 8a65e179d642a45fdfb8ab233b8fcf45d2d33453ee3c9bf81edfbdd6c17f3ad2

See more details on using hashes here.

File details

Details for the file psat_result_api-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: psat_result_api-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for psat_result_api-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2de9594687332bd1a9e0d29fab9f9179cf993c426ba6d34cb8e248ce6596df86
MD5 593086483bbbf465597ed5f27f0942c0
BLAKE2b-256 7d819c9890fb50bcaa55df87bfe93d6049af622c89d67c690471821fd8b1a82c

See more details on using hashes here.

Supported by

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