turbot/docker_compliance

Query: docker_info_centralized_and_remote_logging_configured

Usage

powerpipe query docker_compliance.query.docker_info_centralized_and_remote_logging_configured

Steampipe Tables

SQL

select
id as resource,
case
when logging_driver is null then 'alarm'
else 'ok'
end as status,
case
when logging_driver is null then name || ' centralized and remote logging not configured.'
else name || ' centralized and remote logging configured.'
end as reason
, _ctx ->> 'connection_name' as connection_name
from
docker_info;

Controls

The query is being used by the following controls: