[][src]Crate extrahop

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.

Re-exports

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

Modules

activitymap

Types for working with activity map topologies.

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.

Enums

QueryTime

Represents an absolute or relative time sent to an ExtraHop appliance as part of a query.

Traits

ApiResponse

Validator and deserializer for REST API responses.

Builder

Create a new builder for the type implementing this trait.

Patch

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