0.0.2 • Published 8 years ago
hubot-redcanary v0.0.2
hubot-redcanary
Basic interaction with the RedCanary portal
See src/redcanary.coffee
for full documentation.
Installation
In the hubot project repo, run:
npm install hubot-redcanary --save
Then add hubot-redcanary to your external-scripts.json
:
["hubot-redcanary"]
Set your environment variables needed to contact the RedCanary portal
RC_TOKEN=<api-token>
RC_PORTAL=<portalname>
- Your RC_PORTAL variable will be the subdomain customized for your environment. e.g. If your access URL is test.my.redcanary.co, your RC_PORTAL variable would be:
test
Sample Interaction
user1>> hubot rc summary 1
hubot>> Got it. Take a look:
*Summary*: An instance of malicious software.
*Hostname*: TEST
*Username*: test\someuser
*Link*: https://test.my.redcanary.co/detections/1
*Indicators*: Count[0] https://test.my.redcanary.co/openapi/v2/detections/1/indicators