Loading controls...
Control: README should be added in each public repository
Description
Adding a README provides important information to help inform the community about the project.
Usage
Run the control in your terminal:
steampipe check github_sherlock.control.public_repo_readme_added
Snapshot and share results via Steampipe Cloud:
steampipe loginsteampipe check --share github_sherlock.control.public_repo_readme_added
Plugins & Tables
SQL
select r.url as resource, case when p.readme is not null then 'ok' else 'alarm' end as status, r.name_with_owner || case when (p.readme is not null) then ' has a ' else ' has no ' end || 'README.' as reason, r.name_with_ownerfrom github_my_repository as r left join github_community_profile as p on r.name_with_owner = p.repository_full_namewhere visibility = 'PUBLIC' and r.is_fork = false