Skip to main content

Edit security events

PUT 

/v2/security/rules/events/:ruleId

Applies changes to a rule, identified by its ID. Please ensure to change the region in the URL to match your account's region.

Note: Run this endpoint with an API token for your Logz.io Security account.

Request

Body

    schema object

    Edit Security rules.

    id string

    Unique identifier for the alert or event.

    alertEventId string

    Identifier for the specific alert event.

    title string

    Title of the alert.

    description string

    Detailed description of the alert.

    severity string

    Alert severity level (e.g., INFO, MEDIUM).

    status string

    Current status of the alert (e.g., NEW, RESOLVED).

    assignee int32

    User ID of the person assigned to the alert.

    triggeredAt int64

    Timestamp (in seconds since epoch) when the alert was triggered.

    updatedAt int64

    Timestamp (in seconds since epoch) when the alert was last updated.

    updatedBy int32

    User ID of the person who last updated the alert.

    comment string

    Comment associated with the alert.

    commentedBy int32

    User ID of the person who added the comment.

    alertDefinitionId int32

    Identifier for the alert definition.

    count int32

    Number of occurrences of the alert.

    lastTriggeredAt int64

    Timestamp (in seconds since epoch) when the alert was last triggered.

    type string

    Type of alert (e.g., GROUP, ALERT_EVENT).

    groupingType string

    Grouping method for the alert (e.g., ALERT_BASED).

Responses

successful operation

Response Headers
    Schema
      id string

      Unique identifier for the alert or event.

      alertEventId string

      Identifier for the specific alert event.

      title string

      Title of the alert.

      description string

      Detailed description of the alert.

      severity string

      Alert severity level (e.g., INFO, MEDIUM).

      status string

      Current status of the alert (e.g., NEW, RESOLVED).

      assignee int32

      User ID of the person assigned to the alert.

      triggeredAt int64

      Timestamp (in seconds since epoch) when the alert was triggered.

      updatedAt int64

      Timestamp (in seconds since epoch) when the alert was last updated.

      updatedBy int32

      User ID of the person who last updated the alert.

      comment string

      Comment associated with the alert.

      commentedBy int32

      User ID of the person who added the comment.

      alertDefinitionId int32

      Identifier for the alert definition.

      count int32

      Number of occurrences of the alert.

      lastTriggeredAt int64

      Timestamp (in seconds since epoch) when the alert was last triggered.

      type string

      Type of alert (e.g., GROUP, ALERT_EVENT).

      groupingType string

      Grouping method for the alert (e.g., ALERT_BASED).

    • Array [
    • ]
    Loading...