Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/viiftw/pulsedive-go
A Golang library for Pulsedive API
https://github.com/viiftw/pulsedive-go
golang golang-library pulsedive pulsedive-client pulsedive-library threat-intelligence
Last synced: about 5 hours ago
JSON representation
A Golang library for Pulsedive API
- Host: GitHub
- URL: https://github.com/viiftw/pulsedive-go
- Owner: viiftw
- License: mit
- Created: 2019-09-16T10:41:21.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-23T03:58:48.000Z (almost 5 years ago)
- Last Synced: 2024-06-20T08:13:30.748Z (5 months ago)
- Topics: golang, golang-library, pulsedive, pulsedive-client, pulsedive-library, threat-intelligence
- Language: Go
- Size: 13.7 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pulsedive-go
[![License](https://img.shields.io/badge/license-MIT-_red.svg)](https://opensource.org/licenses/MIT)
[![Go Report Card](https://goreportcard.com/badge/github.com/viiftw/pulsedive-go)](https://goreportcard.com/report/github.com/viiftw/pulsedive-go)
A Golang library for [Pulsedive](https://pulsedive.com/) API
This library is not production-ready yet, and breaking changes can still occur.## Usage
### Indicator By Value
```go
package main
import (
"log"
"github.com/viiftw/pulsedive-go"
)func main() {
// Load your Pulsedive API key : string, Pretty: true
pulsedive.Pulsedive(, true)// Indicators
body, err := pulsedive.IndicatorByValue("pulsedive.com")
if err != nil {
log.Println(err)
}
log.Println(string(body))
// => {"iid"=>53929,"type"=>"domain","indicator"=>"pulsedive.com","risk"=>"medium", ...
}
```## Support API
```go
// Indicators
pulsedive.IndicatorByID(id int) ([]byte, error)
pulsedive.IndicatorByValue(indicatorValue string) ([]byte, error)
pulsedive.IndicatorLinks(id int) ([]byte, error)
pulsedive.IndicatorProperties(id int) ([]byte, error)
// Threats
pulsedive.ThreatByID(id int) ([]byte, error)
pulsedive.ThreatByName(name string) ([]byte, error)
pulsedive.ThreatSummary(id int) ([]byte, error)
pulsedive.ThreatLink(id int) ([]byte, error)
// Feeds
pulsedive.FeedID(id int) ([]byte, error)
pulsedive.FeedName(name, organization string) ([]byte, error)
pulsedive.FeedLink(id int) ([]byte, error)
// Analyze
pulsedive.Analyze(ioc string) ([]byte, error)
pulsedive.AnalyzeResult(qid int) ([]byte, error)
// Search
pulsedive.SearchIndicators(value string, attributes []string, threats []string, feeds []string) ([]byte, error)
pulsedive.SearchToCSV(value string, attributes []string, threats []string, feeds []string) ([]byte, error)
pulsedive.SearchThreat(value string, attributes []string, threats []string, feeds []string) ([]byte, error)
pulsedive.SearchFeed(value string) ([]byte, error)
```## License
The pulsedive-go is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).