turbot/github_sherlock
GitHub
Loading controls...

Control: Website URL should be set in each public repository

Description

Website URL should be set to provide the community awareness of where they can go for more information about the project.

Usage

Run the control in your terminal:

steampipe check github_sherlock.control.public_repo_website_set

Snapshot and share results via Steampipe Cloud:

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

Plugins & Tables

SQL

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

Tags