Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@brocan/bouncer-github

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brocan/bouncer-github

GitHub plugin for the Bouncer gateway.

  • 1.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Bouncer GitHub Plugin

Plugin for Bouncer that can accepts requests coming from GitHub WebHooks. Only push events are accepted.

Hapi Plugin Dependencies

  • hapi-pino
  • bouncer-messaging

Communication

Inbound

HTTP
POST /
  • Request
    • Required Headers
      • X-GitHub-Delivery
      • X-GitHub-Event
    • Required Payload Fields - see PushEvent for a detailed reference
      • ref - string
      • commits - array
      • head_commit - objec
      • repository - object
      • sender - object
  • Response
    • 200 OK - If the request was valid. Empty body.
    • 400 Bad Request - If a validation error occurs.
  • Description
    • Processes a GitHub WebHook build requests and sends it to the Brocan Build System.

Outbound

NATS - Act
Build transform request
  • Topic: build.transform
  • Type: pub/sub
  • Payload:
    • origin - github.
    • webhookRequest - The payload received as part of the original GitHub request.
  • Description
    • A build transformation and initiation request.

FAQs

Package last updated on 12 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc