turbot/github_sherlock
GitHub
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:

steampipe check github_sherlock.control.private_repo_issues_enabled

Snapshot and share results via Steampipe Cloud:

steampipe login
steampipe check --share github_sherlock.control.private_repo_issues_enabled

Plugins & 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