Skip to content

A HackerOne API client for Node.js

License

0vulns/hackerone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hackerone - A HackerOne API client for Node.js

npm package

Build status Coverage Dependency Status Donate

Usage

Initializing the Client

var hackerone = require('hackerone'); var Hackerone = new hackerone('YOUR-API-TOKEN-IDENTIFIER', 'YOUR-API-TOKEN');

Reports

Hackerone.reports.read('REPORT-ID', function (err, res) { ... });
Hackerone.reports.query({ program: '...', reporter: '...' }, function (err, res) { ... });

Reports ► Comments

Hackerone.reports.comments.create('REPORT-ID', { message: 'The message that will be posted' internal: boolean }, function (err, res) { ... });
Hackerone.reports.comments.close('REPORT-ID',{}, function (err, res) { ... });

Reports ► Assignee

Hackerone.reports.assignee.update('REPORT-ID', { id: 'The ID of the user or group', type: 'Specifies whether a user or group should be assigned, or if the assignee should be cleared', message: 'The message that will be posted to the assigned user or group' }, function (err, res) { ...

For more example see test/*.js

Todo

  • Documentation ❌

About

A HackerOne API client for Node.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •