# Telemetry rule added

An admin user has added a new telemetry rule.

Endpoint: POST telemetry-rule-added
Version: v1
Security: X-Signature

## Header parameters:

  - `X-Signature` (string, required)
    Example: "X-Signature: t=1492774577,v1=5257a869..."

## Request fields (application/json):

  - `version` (string, required)
    The version of the event.
    Example: "1"

  - `id` (string, required)
    The unique identifier for the event. This can be used as an idempotency key.
    Example: "c478966c-f927-411c-b919-179832d3d50c"

  - `timestamp` (integer, required)
    When the event occurred, formatted as a UNIX timestamp (in seconds).
    Example: 1698604061

  - `category` (string, required)
    The category of the event.
    Enum: "AUDIT"

  - `object` (string, required)
    The type of event.
    Enum: "TELEMETRY_RULE_ADDED"

  - `friendlyName` (string, required)
    The friendly name of this object. Note: this is subject to change and should not be used to match on this object.
    Example: "Telemetry rule added"

  - `description` (string, required)
    The description of the event. Note: this is subject to change and should not be used to match on this object.
    Example: "user@example.com added a telemetry rule"

  - `actor` (object, required)
    This object contains information about the user that performed the action triggering the audit log.

  - `actor.source` (string, required)
    The source of the action that generated the event.
    Enum: "UI"

  - `actor.email` (string, required)
    The email address of the actor.

  - `actor.sourceIpAddress` (string, required)
    The IP address of the actor.

  - `actor.userAgent` (string,null, required)
    The user agent of the actor, if available.

  - `actor.role` (string,null, required)
    The role of the actor.
    Enum: "OWNER", "FULL_ACCESS", "READ_ONLY"

  - `new` (object, required)
    The details of the updated rule.

  - `new.ruleId` (string, required)
    The unique identifier for the rule
    Example: "c478966c-f927-411c-b919-179832d3d50c"

  - `new.telemetry` (string, required)
    The telemetry that the rule applies to.
    Enum: "BROWSER_EVENT_STORAGE"

  - `new.description` (string, required)
    The description given to the rule.
    Example: "Store browser events for engineering team"

  - `new.enabled` (boolean, required)
    Whether the rule is enabled.
    Example: true

  - `new.criteria` (object, required)
    The criteria for applying the rule.

  - `new.criteria.employeeGroups` (object)
    Conditions for matching employee groups.

  - `new.criteria.employeeGroups.patterns` (array, required)
    The patterns to match.

  - `new.criteria.employeeGroups.include` (boolean, required)
    Whether the condition is to match the pattern or not, i.e. include or exclude matches.
    Example: true

  - `new.criteria.employeeIds` (object)
    Conditions for matching employee identifiers.

  - `new.criteria.employeeIds.patterns` (array, required)
    The patterns to match.

  - `new.criteria.employeeIds.include` (boolean, required)
    Whether the condition is to match the pattern or not, i.e. include or exclude matches.
    Example: true

  - `new.lastUpdatedTimestamp` (integer, required)
    When the rule was last updated, formatted as a UNIX timestamp (in seconds).
    Example: 1698604061

  - `new.settings` (object)
    The settings for the telemetry.


## Response 2XX fields
