Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

greenpau/go-proofpoint

Repository files navigation

go-proofpoint

Proofpoint API Client Library

Table of Contents

Getting Started

First, install ppcli:

go get -u github.com/greenpau/go-proofpoint/cmd/ppcli

Next, set environment variables for Proofpoint API Service Principal:

export PROOFPOINT_SERVICE_PRINCIPAL=8c5e8866-0062-4059-b2be-92707e4374da
export PROOFPOINT_PRINCIPAL_SECRET=f982025ecbaa8c42bec8b19c98c3ea7126241c130274cd06ac4f15cbd3ec5313737a425f

Alternatively, the settings could be passed in a configuration file. There are two options:

  1. The ppcli.yaml should be located in $HOME/.config/ppcli or current directory
  2. Pass the location via -config flag
---
service_principal: 8c5e8866-0062-4059-b2be-92707e4374da
principal_secret: f982025ecbaa8c42bec8b19c98c3ea7126241c130274cd06ac4f15cbd3ec5313737a425f

The following command fetches all events occured in the last 60 minutes from Proofpoint SIEM API:

ppcli -service-name siem -service-operation all -log-level debug

References

About

Proofpoint API Client Library

Topics

Resources

License

Stars

Watchers

Forks

Contributors

AltStyle によって変換されたページ (->オリジナル) /