Control: Code of conduct should be added in each public repository
Adding a code of conduct defines standards for how your community engages in an inclusive environment.
Run the control in your terminal:
steampipe check github_sherlock.control.public_repo_code_of_conduct_added
Snapshot and share results via Steampipe Cloud:
steampipe loginsteampipe check --share github_sherlock.control.public_repo_code_of_conduct_added
Plugins & Tables
selecturl as resource,casewhen code_of_conduct is not null then 'ok'else 'alarm'end as status,name_with_owner || ' code of conduct is ' || casewhen (code_of_conduct is not null) then (code_of_conduct ->> 'name')else 'not added'end || '.' as reason,name_with_ownerfromgithub_my_repositorywherevisibility = 'PUBLIC'and is_fork = false