turbot/github_sherlock

Control: Topics should be set in each public repository

Description

Topics should be set to help others find and contribute to the project.

Usage

steampipe check github_sherlock.control.public_repo_topics_set

Plugins & Tables

SQL

select
html_url as resource,
case
when topics <> '[]' then 'ok'
else 'alarm'
end as status,
full_name || ' has ' || jsonb_array_length(topics) || ' topic(s).' as reason,
full_name
from
github_my_repository
where
visibility = 'public' and fork = false