steampipe plugin install francois2metz/baleen

Table: baleen_redirect_rule

A redirect rule allow users to access moved content while maintaining the natural referencing of the pages.

Notes:

  • List queries require a namespace.

Examples

List redirect rule of a namespace

select
source,
destination
from
baleen_redirect_rule
where
namespace = 'kfuAlneru9fjrG==';

List temporary redirection

select
source,
destination
from
baleen_redirect_rule
where
namespace = 'kfuAlneru9fjrG=='
and type = 302;

Schema for baleen_redirect_rule

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
destinationtextDestination URL.
namespacetext=Namespace of the redirect rule.
sourcetextSource path.
typebigintType of the redirection (301 or 302).
with_query_stringbooleanKeep the query string.