This repository was archived by the owner on Dec 16, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathREADME.txt
More file actions
36 lines (29 loc) · 1.94 KB
/
README.txt
File metadata and controls
36 lines (29 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Github Addon
========================
Provides modular inputs & framework to ingest JSON data from Github APIs.
### App Setup:
1. Store Github credentials to be used on the "Configuration" page and "Account" tab, then click "Add" to add new credentials. Since an account is specific to a GitHub instance, you must specify the server for the account (will be used for all inputs leveraging the account credentials). Specify if account is for a Github Enterprise instance via the checkbox (uses different API path and likely will fail otherwise).
- App supports authentication via username & password or account "personal access tokens"
- DOES NOT support 2-factor tokens
- [GitHub Personal Access Tokens](https://github.com/blog/1509-personal-api-tokens)
2. Add inputs via the add-on's "Inputs" page, clicking "Create New Input", then clicking an input type you wish to create and entering the repository "owner" and "repository" from which the input will collect data.
```
Name of user or Github organization which owns the repository. Example: https://api.github.com/[OWNER]/repo
```
```
Name of repository. Example: https://api.github.com/owner/[REPOSITORY]
```
### APIs supported:
- Repository Stats (https://developer.github.com/v3/repos/statistics/#get-contributors-list-with-additions-deletions-and-commit-counts)
- Repository Commits (https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository)
- Repository Issues (https://developer.github.com/v3/issues/#list-issues-for-a-repository)
## Release Notes:
###v1.0.1
Maintenance & Updates for Github.com API
- Adds input parameter and logic to handle differences beteween Github's public and enterprise API paths.
- Additional logic for API "still processing" (202 response) for stats API
- Improved logging and error handling.
###v1.0.0
Initial release. Documentation will be included in future releases.
## Submit issues or requests via Github:
TA-Github: https://github.com/pentestfail/TA-Github