
Security News
Security Community Slams MIT-linked Report Claiming AI Powers 80% of Ransomware
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.
hubot-cf-notifications
Advanced tools
Hubot plugin that posts deployment notifications of applications within Cloud Foundry. Example:
someuser@myorg.com, from the terminal
cf push someapp
Hubot, in the #cf-notifications chat room
Hubot: someuser@myorg.com is deploying someapp
In your Hubot repository, run:
npm install hubot-cf-notifications --save
Include the plugin in your external-scripts.json.
[
  "hubot-cf-notifications"
]
Create a Cloud Foundry user that will be used by this bot. You don't need to create a dedicated user, but it's recommended.
cf create-user hubot-cf-listener <password>
Set the following environment variables:
HUBOT_CF_USER – username of listener user created aboveHUBOT_CF_PASS – password of listener userHUBOT_CF_API_ORIGIN – something like https://api.mycf.com – look in ~/.cf/config.json for TargetHUBOT_CF_UAA_ORIGIN – something like https://uaa.mycf.com – look in ~/.cf/config.json for UaaEndpointTo get deployment notifications for all applications in an organization/space, run
cf set-org-role hubot-cf-listener <org> OrgAuditor
# or
cf set-space-role hubot-cf-listener <org> <space> SpaceAuditor
This will give the bot read-only permissions to view the events for those applications, and thus send deployment notifications.
Optional. To have notification directed to specific chat rooms/channels, create a cf_config.json file in the root of your Hubot directory. All sections are optional.
{
  // Mappings of notifications from particular organizations to particular rooms.
  "orgs": {
    "myorg": {
      "room": "myroom"
    },
    // ...
  },
  // The room to direct notifications to, if not otherwise specified above. Defaults to `cf-notifications`.
  "room": "notification-central"
}
To run tests, clone the repository, then from the project directory run:
npm install
npm test
To check code coverage:
npm run coverage
To run smoke tests against the live API:
HUBOT_CF_API_ORIGIN=... HUBOT_CF_UAA_ORIGIN=... HUBOT_CF_USER=hubot-cf-listener HUBOT_CF_PASS=... npm run smoke
FAQs
Plugin to add Cloud Foundry notifications to Hubot
We found that hubot-cf-notifications demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.