Skip to content

ehashman/alertlogic-lib

Repository files navigation

Build Status codecov Clojars Project

alertlogic-lib

Clojure library used to fetch information from the Alert Logic APIs.

Usage

Fetching all Log Manager devices for a given customer

=> (use 'alertlogic.core)
=> (get-lm-devices-for-customer! "11111" sekret-api-key)
16-11-25 19:39:43 INFO [alertlogic-lib.core] - fetching /api/lm/v1/11111/hosts
({:name "some-machine.rackspace.security",
  :status "ok",
  :ips ["192.168.0.129"],
  :type "host"}
 {:name "another.rackspace.security",
  :status "ok",
  :ips
  ["192.168.10.50"
   "192.168.10.51"],
  :type "host"}
 {:name "machineeee.rackspace.security",
  :status "ok",
  :ips ["192.168.0.130"],
  :type "host"})

License

Copyright © 2016 Rackspace

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6