Skip to content

Commit

Permalink
Merge pull request #128 from snyk/feat/add_github_raw_rule
Browse files Browse the repository at this point in the history
feat: add raw github files rules
  • Loading branch information
odinn1984 authored Aug 20, 2018
2 parents d3e4404 + f4951e3 commit e935016
Show file tree
Hide file tree
Showing 7 changed files with 431 additions and 2 deletions.
1 change: 1 addition & 0 deletions client-templates/github
31 changes: 31 additions & 0 deletions client-templates/github-com/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# your unique broker identifier
BROKER_TOKEN=

# your personal access token to your github.com account
GITHUB_TOKEN=

# the host GitHub, excluding scheme. For github.com
# this should be "github.com"
GITHUB=

# the host for GitHub's raw content, excluding scheme. For github.com
# this should be "raw.githubusercontent.com"
GITHUB_RAW=

# the url that the github API should be accessed at. For github.com this should be
# changed to "api.github.com"
GITHUB_API=$GITHUB/api/v3

# the url that the github graphql API should be accessed at.
# For github.com this should be changed to "api.github.com"
GITHUB_GRAPHQL=$GITHUB/api

# the url of your broker client (including scheme and port)
# BROKER_CLIENT_URL=

# The URL of the Snyk broker server
BROKER_SERVER_URL=https://broker.snyk.io

# the fine detail accept rules that allow Snyk to make API requests to your
# github.com
ACCEPT=accept.json
Loading

0 comments on commit e935016

Please sign in to comment.