turbot/github_sherlock
Loading controls...

Control: Issues should be enabled in each private repository

Description

Issues are essential to keep track of tasks, enhancements, and bugs.

Usage

Run the control in your terminal:

powerpipe control run github_sherlock.control.private_repo_issues_enabled

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run github_sherlock.control.private_repo_issues_enabled --share

Steampipe Tables

SQL

select
url as resource,
case
when has_issues_enabled then 'ok'
else 'alarm'
end as status,
name_with_owner || ' issues are ' || case
when(has_issues_enabled) :: bool then 'enabled'
else 'disabled'
end || '.' as reason,
name_with_owner
from
github_my_repository
where
visibility = 'PRIVATE'
and is_fork = false

Tags