psat-result-api 1.0.3

Creator: railscoder56

Last updated:

Add to Cart

Description:

psatresultapi 1.0.3

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() )

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.