turbot/terraform_azure_compliance

Query: data_factory_uses_git_repository

Usage

powerpipe query terraform_azure_compliance.query.data_factory_uses_git_repository

Steampipe Tables

SQL

select
address as resource,
case
when ((attributes_std -> 'github_configuration') is not null) or ((attributes_std -> 'vsts_configuration') is not null) then 'ok'
else 'alarm'
end status,
split_part(address, '.', 2) || case
when ((attributes_std -> 'github_configuration') is not null) or ((attributes_std -> 'vsts_configuration') is not null) then ' uses git repository'
else ' not use git repository'
end || '.' reason
, path || ':' || start_line
from
terraform_resource
where
type = 'azurerm_data_factory';

Controls

The query is being used by the following controls: