steampipe plugin install francois2metz/baleen

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,
description
from
baleen_custom_static_rule
where
namespace = 'kfuAlneru9fjrG==';

List static rules of all namespaces

select
n.name,
csr.id,
csr.category,
csr.description
from
baleen_custom_static_rule csr
join baleen_namespace n on csr.namespace = n.id;

List enabled static rules of a namespace

select
id,
category,
description
from
baleen_custom_static_rule
where
namespace = 'kfuAlneru9fjrG=='
and enabled;

List static custom that block traffic

select
id,
category,
description
from
baleen_custom_static_rule
where
namespace = 'kfuAlneru9fjrG=='
and category = 'block';

Schema for baleen_custom_static_rule

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
categorytextCategory of the rule.
conditionsjsonbConditions of the rule.
descriptiontextDescription of the rule.
enabledbooleanIs activated.
idtextUnique ID of the rule.
labelsjsonbLabels of the rule.
namespacetext=Namespace of the rule.
tracking_idtextTracking ID of the rule.