{"id":16940322,"url":"https://github.com/greenpau/go-proofpoint","last_synced_at":"2025-03-21T06:40:16.727Z","repository":{"id":57561486,"uuid":"314939529","full_name":"greenpau/go-proofpoint","owner":"greenpau","description":"Proofpoint API Client Library","archived":false,"fork":false,"pushed_at":"2020-11-23T16:35:09.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-23T00:03:51.293Z","etag":null,"topics":["proofpoint","proofpoint-tap","proofpoint-tap-api"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/greenpau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-22T01:52:01.000Z","updated_at":"2022-02-12T07:28:48.000Z","dependencies_parsed_at":"2022-09-10T06:14:03.403Z","dependency_job_id":null,"html_url":"https://github.com/greenpau/go-proofpoint","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenpau%2Fgo-proofpoint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenpau%2Fgo-proofpoint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenpau%2Fgo-proofpoint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenpau%2Fgo-proofpoint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/greenpau","download_url":"https://codeload.github.com/greenpau/go-proofpoint/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244717330,"owners_count":20498283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["proofpoint","proofpoint-tap","proofpoint-tap-api"],"created_at":"2024-10-13T21:06:49.617Z","updated_at":"2025-03-21T06:40:16.697Z","avatar_url":"https://github.com/greenpau.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-proofpoint\n\n\u003ca href=\"https://github.com/greenpau/go-proofpoint/actions/\" target=\"_blank\"\u003e\u003cimg src=\"https://github.com/greenpau/go-proofpoint/workflows/build/badge.svg?branch=main\"\u003e\u003c/a\u003e\n\u003ca href=\"https://pkg.go.dev/github.com/greenpau/go-proofpoint\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/godoc-reference-blue.svg\"\u003e\u003c/a\u003e\n\nProofpoint API Client Library\n\n\u003c!-- begin-markdown-toc --\u003e\n## Table of Contents\n\n* [Getting Started](#getting-started)\n* [References](#references)\n\n\u003c!-- end-markdown-toc --\u003e\n\n## Getting Started\n\nFirst, install `ppcli`:\n\n```bash\ngo get -u github.com/greenpau/go-proofpoint/cmd/ppcli\n```\n\nNext, set environment variables for Proofpoint API Service Principal:\n\n```bash\nexport PROOFPOINT_SERVICE_PRINCIPAL=8c5e8866-0062-4059-b2be-92707e4374da\nexport PROOFPOINT_PRINCIPAL_SECRET=f982025ecbaa8c42bec8b19c98c3ea7126241c130274cd06ac4f15cbd3ec5313737a425f\n```\n\nAlternatively, the settings could be passed in a configuration file. There are\ntwo options:\n\n1. The `ppcli.yaml` should be located in `$HOME/.config/ppcli` or current directory\n2. Pass the location via `-config` flag\n\n```yaml\n---\nservice_principal: 8c5e8866-0062-4059-b2be-92707e4374da\nprincipal_secret: f982025ecbaa8c42bec8b19c98c3ea7126241c130274cd06ac4f15cbd3ec5313737a425f\n```\n\nThe following command fetches all events occured in the last 60 minutes\nfrom Proofpoint SIEM API:\n\n```bash\nppcli -service-name siem -service-operation all -log-level debug\n```\n\n## References\n\n* [Threat Insight Dashboard - API Documentation](https://help.proofpoint.com/Threat_Insight_Dashboard/API_Documentation)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreenpau%2Fgo-proofpoint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreenpau%2Fgo-proofpoint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreenpau%2Fgo-proofpoint/lists"}