Skip to content

Commit

Permalink
minor docs edits
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Mar 18, 2013
1 parent 81bcb66 commit 867d954
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions master/docs/manual/cfg-statustargets.rst
Expand Up @@ -730,17 +730,14 @@ useful in cases where you cannot expose the WebStatus for public consumption.
Anyone who can access the web status can "fake" a request from
GitHub, potentially causing the buildmaster to run arbitrary code.

To protect URL against unauthorized access you should use ``change_hook_auth``
option. ::
To protect URL against unauthorized access you should use ``change_hook_auth`` option. ::

c['status'].append(html.WebStatus(..
change_hook_auth=('user', 'password')))

Then, create github service hook ``https://help.github.com/articles/post-receive-hooks``
with WebHook URL looking as follow
``http://user:password@builds.mycompany.com/bbot/change_hook/github``
Then, create a GitHub service hook (see https://help.github.com/articles/post-receive-hooks) with a WebHook URL like ``http://user:password@builds.mycompany.com/bbot/change_hook/github``.

Note that not using ``change_hook_auth`` can expose you to security risks
Note that not using ``change_hook_auth`` can expose you to security risks.

Google Code hook
################
Expand Down

0 comments on commit 867d954

Please sign in to comment.