Crate extrahop [] [src]

ExtraHop REST API client.

This client provides utility types for making general API requests, and strongly-typed objects for metrics requests and other specific scenarios. This client is designed for use with reqwest and serde.

Getting Started

Appliances using self-signed SSL certificates will get an error using this library because the host OS can't establish a secure connection. To address this, get the public certificate from http://{EXTRAHOP_HOST}/public.cer and trust it at the system level.

Reexports

pub use errors::Error;
pub use errors::ErrorKind;
pub use errors::Result;
pub use errors::ResultExt;

Modules

errors

Types for handling errors.

sharing

Types for interacting with dashboard sharing state.

Structs

ApiKey

A REST API key which authenticates the caller to the ExtraHop.

Client

A client for making authenticated requests to the ExtraHop REST API.

Oid

A metric source ID.

UserGroupId

Canonical ID for a user group.

Username

Canonical ID for an appliance user.

Traits

ApiResponse

Validator and deserializer for REST API responses.

Patch

Marker trait for types that are meant to use in PATCH requests.