hornet icon

hornet

Interact with hornet API

Actions452

Compliance Filter → Compliance Filter Id Get

AI-generated

Summary

Retrieves the compliance filter rule with the specified ID for a given object (user, customer, or partner) from the Hornet security API.

Inputs

  • object_id (required) — ID of the object (user, customer, or partner) whose compliance filter is fetched. Sent as a query parameter object_id.
  • id (required) — ID of the compliance filter rule to retrieve.
  • APP-ID (required) — Application identifier issued by Hornet security, sent as a request header APP-ID.
  • requestOptions.batching.batch.batchSize — Number of items per batch for throttling requests; -1 disables batching, 0 is treated as 1.
  • requestOptions.batching.batch.batchInterval — Milliseconds between batches; 0 disables batching.
  • requestOptions.allowUnauthorizedCerts — Whether to accept insecure SSL certificates.
  • requestOptions.proxy — HTTP proxy URL, optionally with username:password (e.g., http://user:pass@myproxy:3128).
  • requestOptions.timeout — Request timeout in milliseconds.

Output shape

JSON object

The compliance filter rule returned by the Hornet API, containing details of the filter.

Examples

Example 1: Get compliance filter for a specific user

Set object_id to the user's ID, id to the compliance filter ID, and provide your APP-ID credential. Optionally adjust batching, proxy, SSL, or timeout via Request Options.

Links

Discussion