turbot/github_sherlock

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

steampipe check github_sherlock.control.public_repo_description_set

Plugins & Tables

SQL

select
html_url as resource,
case
when description <> '' then 'ok'
else 'alarm'
end as status,
full_name || ' description is ' || case when(description <> '') then description else 'not set' end || '.' as reason,
full_name
from
github_my_repository
where
visibility = 'public' and fork = false