Coder Social home page Coder Social logo

adrianlungu / otx-go-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alienvault-otx/otx-go-sdk

0.0 1.0 1.0 36 KB

A working client implementation for AlienVault OTX API written in Golang!

Home Page: https://otx.alienvault.com

License: Apache License 2.0

Go 100.00%

otx-go-sdk's Introduction

Open Threat Exchange Go API Client

alt tag

Overview

A working client implementation for https://otx.alienvault.com/ written in Golang Currently supports: Validate api key / obtain user statistics Get Subscriptions Get Pulse (with IOCs) by pulse_id

Installing

$ go get -u github.com/AlienVault-Labs/OTX-Go-SDK

- or -

$ go get -u gopkg.in/AlienVault-Labs/OTX-Go-SDK.v0

License

See LICENSE

Authors

Bill Smartt, Security Engineer (@bsmartt13)

Contributing

There's likely a lot of room for improvement here by a Golang expert. Please send PRs <3

Issues

Please file any issues you find on github.com

API Keys

If you haven't signed up, please visit https://otx.alienvault.com/ and do so!

Then, you can login and find your api key in your account settings.

Once you have your API Key, set it as an environment variable: export X_OTX_API_KEY=mysecretkey echo $X_OTX_API_KEY

or in your go code: os.Setenv("X_OTX_API_KEY", "ab91e98e6dcac6303bd1522d3542f91fcb4be176ea262ecd892d39e0d82a218b")

For use with curl, or to write your own client, set the api key as a HTTP Header: X-OTX-API-KEY: "ab91e98e6dcac6303bd1522d3542f91fcb4be176ea262ecd892d39e0d82a218b"

Subscriptions

Your subscriptions include all pulses:

  • Created by authors you subscribe to
  • Pulses you subscribe to directly
  • Pulses you create

otx-go-sdk's People

Contributors

adrianlungu avatar bsmartt13 avatar nesv avatar woanware avatar

Watchers

 avatar

Forkers

uded

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.