Packages

A stateless Elixir wrapper for the Logpoint SIEM API. Covers searching, incidents, alert rules, user-defined lists, and repos with builder patterns for rules and notifications.

Current section

Files

Jump to
Raw

mix.exs

defmodule LogpointApi.MixProject do
use Mix.Project
@version "1.0.3"
@source_url "https://github.com/MikaelFangel/logpoint_api"
def project do
[
app: :logpoint_api,
version: @version,
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
docs: docs(),
source_url: @source_url,
homepage_url: @source_url
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:httpoison, "~> 2.0"},
{:jason, "~> 1.4"},
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:styler, "~> 1.2", only: [:dev, :test], runtime: false}
]
end
defp description do
"""
A clean, stateless Elixir library for interacting with the Logpoint API.
Provides functions for searching logs, managing incidents, and retrieving
instance data with configurable SSL verification for self-signed certificates.
"""
end
defp package do
[
name: "logpoint_api",
licenses: ["MIT"],
links: %{
"GitHub" => @source_url,
"Documentation" => "https://hexdocs.pm/logpoint_api"
},
maintainers: ["Mikael Fangel"]
]
end
defp docs do
[
main: "LogpointApi",
source_url: @source_url,
source_ref: "v#{@version}",
extras: ["README.md", "CONTRIBUTING.md"]
]
end
end