Search logs and retrieve instance data from Guardsix.
Wraps the Search API.
Use Guardsix.search_params/4 to build the query struct.
Summary
Functions
Get devices from the Guardsix instance.
Create a search and get its search ID.
Retrieve the search result for a given search ID.
Get livesearches from the Guardsix instance.
Get loginspects from the Guardsix instance.
Get repos from the Guardsix instance.
Get user preference from the Guardsix instance.
Functions
@spec devices(Guardsix.Data.Client.t()) :: {:ok, map()} | {:error, term()}
Get devices from the Guardsix instance.
@spec get_id(Guardsix.Data.Client.t(), Guardsix.Data.SearchParams.t()) :: {:ok, map()} | {:error, term()}
Create a search and get its search ID.
@spec get_result(Guardsix.Data.Client.t(), String.t()) :: {:ok, map()} | {:error, term()}
Retrieve the search result for a given search ID.
@spec livesearches(Guardsix.Data.Client.t()) :: {:ok, map()} | {:error, term()}
Get livesearches from the Guardsix instance.
@spec loginspects(Guardsix.Data.Client.t()) :: {:ok, map()} | {:error, term()}
Get loginspects from the Guardsix instance.
@spec repos(Guardsix.Data.Client.t()) :: {:ok, map()} | {:error, term()}
Get repos from the Guardsix instance.
@spec user_preference(Guardsix.Data.Client.t()) :: {:ok, map()} | {:error, term()}
Get user preference from the Guardsix instance.