turbot/net_insights

Query: security_headers_x_frame_options_check

Usage

powerpipe query net_insights.query.security_headers_x_frame_options_check

Steampipe Tables

SQL

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

Params

ArgsNameDefaultDescriptionVariable
$1website_url_input

    Dashboards

    The query is used in the dashboards: