Table: baleen_custom_static_rule
A static rule allow to classify traffic with some conditions.
Notes:
- List queries require a
namespace
.
Examples
List static rule of a namespace
select id, category, descriptionfrom baleen_custom_static_rulewhere namespace = 'kfuAlneru9fjrG==';
List static rules of all namespaces
select n.name, csr.id, csr.category, csr.descriptionfrom baleen_custom_static_rule csr join baleen_namespace n on csr.namespace = n.id;
List enabled static rules of a namespace
select id, category, descriptionfrom baleen_custom_static_rulewhere namespace = 'kfuAlneru9fjrG==' and enabled;
List static custom that block traffic
select id, category, descriptionfrom baleen_custom_static_rulewhere namespace = 'kfuAlneru9fjrG==' and category = 'block';
Schema for baleen_custom_static_rule
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form, e.g. connection_name. | |
category | text | Category of the rule. | |
conditions | jsonb | Conditions of the rule. | |
description | text | Description of the rule. | |
enabled | boolean | Is activated. | |
id | text | Unique ID of the rule. | |
labels | jsonb | Labels of the rule. | |
namespace | text | = | Namespace of the rule. |
tracking_id | text | Tracking ID of the rule. |