Skip to content

Commit

Permalink
Merge pull request #64 from snyk/feat/gradle-and-sbt
Browse files Browse the repository at this point in the history
feat: whitelist gradle and sbt manifest files by default
  • Loading branch information
adrukh authored Jul 24, 2017
2 parents 3b9763f + 990b585 commit 5f2ba13
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions client-templates/bitbucket-server/accept.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,18 @@
"path": "/projects/:project/repos/:repo/browse*/yarn.lock",
"origin": "https://${BITBUCKET_USERNAME}:${BITBUCKET_PASSWORD}@${BITBUCKET_API}"
},
{
"//": "used to determine the full dependency tree",
"method": "GET",
"path": "/projects/:project/repos/:repo/browse*/build.gradle",
"origin": "https://${BITBUCKET_USERNAME}:${BITBUCKET_PASSWORD}@${BITBUCKET_API}"
},
{
"//": "used to determine the full dependency tree",
"method": "GET",
"path": "/projects/:project/repos/:repo/browse*/build.sbt",
"origin": "https://${BITBUCKET_USERNAME}:${BITBUCKET_PASSWORD}@${BITBUCKET_API}"
},
{
"//": "used to check if there's any ignore rules or existing patches",
"method": "GET",
Expand Down
12 changes: 12 additions & 0 deletions client-templates/github/accept.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,18 @@
"path": "/:name/:repo/:branch*/yarn.lock",
"origin": "https://${GITHUB_TOKEN}@${GITHUB_RAW}"
},
{
"//": "used to determine the full dependency tree",
"method": "GET",
"path": "/:name/:repo/:branch*/build.gradle",
"origin": "https://${GITHUB_TOKEN}@${GITHUB_RAW}"
},
{
"//": "used to determine the full dependency tree",
"method": "GET",
"path": "/:name/:repo/:branch*/build.sbt",
"origin": "https://${GITHUB_TOKEN}@${GITHUB_RAW}"
},
{
"//": "used to check if there's any ignore rules or existing patches",
"method": "GET",
Expand Down

0 comments on commit 5f2ba13

Please sign in to comment.