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

steampipe check github_sherlock.control.public_repo_description_set

Snapshot and share results via Steampipe Cloud:

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

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