turbot/github_sherlock
Loading controls...

Control: Description should be set in each public repository

Description

Descriptions should be set to provide the community awareness of what is contained in the public repo.

Usage

Run the control in your terminal:

powerpipe control run github_sherlock.control.public_repo_description_set

Snapshot and share results via Turbot Pipes:

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

Steampipe Tables

SQL

select
url as resource,
case
when description <> '' then 'ok'
else 'alarm'
end as status,
name_with_owner || ' description is ' || case
when (description <> '') then description
else 'not set'
end || '.' as reason,
name_with_owner
from
github_my_repository
where
visibility = 'PUBLIC'
and is_fork = false

Tags