Threat Detection Policies

Sysdig Secure manages Runtime Threat Detection through policies. These policies consist of rules to detect and respond to suspicious activity in your environments. This page outlines the concepts to use Threat Detection Policies.

Threat Detection Runtime Policies provide granular control over runtime behavior by defining rules and configurations. Policies specify where to apply rules and how to respond to security violations. Use policies to monitor clusters, hosts, or user-defined tags and take actions. For example, alert Slack channels, trigger webhooks, or prevent malware from executing.

Review the Runtime Policies List

To review the Runtimes Policies list:

  1. Log in to Sysdig Secure.

  2. Select Policies > Runtime Policies.

Here you can see the default policies loaded into Sysdig Secure, as well as any custom policies you have created.

See at a Glance

Policies are grouped by policy type. Collapse or expand a group to show or hide its policies. For each policy, the list shows:

  • Status: Whether the policy is enabled or disabled, viewed by toggle position.
  • Severity: High, Medium, Low, or Info, which can be edited. See Severity in the API.
  • Policy: The policy name and summary, which includes the number of rules, the actions to take on affected containers (Stop | Pause | Notify), and the Capture details, if any.
  • Scope: Where the policy applies.
  • Managed Type: Managed Policy, Managed Ruleset, or Custom Policy. Custom policies may be designed from scratch or converted from managed policies with changes to their rules. See Manage Threat Detection Policies for details.
  • Updated Rules: Whether rules of the policy were updated recently.
  • Last Updated: When the policy was last updated.
  • Actions: The actions available for the policy.

Take Action

From this page, you can also:

  • Select a policy to open the details panel, where you can review policy details, and potentially Edit them.

  • Search and Filter policies by name, status, severity level, policy type, managed type, whether captures are active, or whether they have updates.

  • Enable or Disable a policy using the toggle.

  • Create a new policy by selecting +Add Policy.

Policy Types

Threat Detection Policies evaluate different sources. For what each type needs, produces, and supports, see Available Policy Types:

Configure Policies

To learn about managed and custom policies, scope, policy actions, notification channels, and how to view recent changes to the rules of a policy, see Manage Threat Detection Policies.

Getting Started

Severity in the API

When you create a policy in the UI, you define the severity as Info, Low, Medium, or High. From an API perspective these are mapped to a number from 0 to 7. When an event is triggered, the corresponding number to the severity is displayed:

NumberSeverity
0High (UI Default)
1High
2High
3High
4Medium (UI Default)
5Low (UI Default)
6Info
7Info (UI Default)