Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edoardottt/bugcrowd-go
Golang Bugcrowd API client
https://github.com/edoardottt/bugcrowd-go
api bug-bounty bugbounty bugcrowd bugcrowd-api bugcrowd-client golang security
Last synced: about 1 month ago
JSON representation
Golang Bugcrowd API client
- Host: GitHub
- URL: https://github.com/edoardottt/bugcrowd-go
- Owner: edoardottt
- License: mit
- Created: 2022-09-26T16:01:00.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-29T10:04:55.000Z (12 months ago)
- Last Synced: 2024-06-20T12:05:11.350Z (5 months ago)
- Topics: api, bug-bounty, bugbounty, bugcrowd, bugcrowd-api, bugcrowd-client, golang, security
- Language: Go
- Homepage: https://edoardoottavianelli.it
- Size: 42 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# bugcrowd-go
Simple Golang client to interact with Bugcrowd API. See the [API documentation here](https://docs.bugcrowd.com/api/2021-10-28/).Usage 🚀
-------
```Go
package mainimport (
"context"
"fmt"bugcrowd "github.com/edoardottt/bugcrowd-go"
"github.com/edoardottt/bugcrowd-go/pkg/api"
)func main() {
b := bugcrowd.New("username", "token")queryOptions := api.SubmissionQuery{}
pageOptions := api.PageOptions{}
submissions, _, err := b.Services.FetchSubmissions(context.TODO(), &queryOptions, &pageOptions)if err != nil {
fmt.Println(err)
}for _, submission := range submissions.Data {
fmt.Println(submission.ID)
}
}
```Contributing 🛠
-------Just open an [issue](https://github.com/edoardottt/bugcrowd-go/issues) / [pull request](https://github.com/edoardottt/bugcrowd-go/pulls).
Before opening a pull request, download [golangci-lint](https://golangci-lint.run/usage/install/) and run
```bash
golangci-lint run
```
If there aren't errors, go ahead :)Inspired by [liamg/hackerone](https://github.com/liamg/hackerone).
License 📝
-------This repository is under [MIT License](https://github.com/edoardottt/bugcrowd-go/blob/main/LICENSE).
[edoardoottavianelli.it](https://www.edoardoottavianelli.it) to contact me.