turbot/net_insights

Query: security_headers_referrer_policy_check

Usage

powerpipe query net_insights.query.security_headers_referrer_policy_check

Steampipe Tables

SQL

select
case
when response_headers -> 'Referrer-Policy' is not null then 'Present'
else 'Missing'
end as value,
case
when response_headers -> 'Referrer-Policy' is not null then 'ok'
else 'alert'
end as type,
'Referrer-Policy' as label
from
net_http_request
where
url = $1;

Params

ArgsNameDefaultDescriptionVariable
$1website_url_input

    Dashboards

    The query is used in the dashboards: