Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub org Ensure repository has a code of conduct policy control doesn't find org policy #71

Open
tas50 opened this issue Nov 9, 2022 · 0 comments

Comments

@tas50
Copy link
Member

tas50 commented Nov 9, 2022

Describe the bug
The query in the GitHub Org policy's Ensure repository has a code of conduct policy control should be looking for a code of conduct file at the org level, but even with that policy in place the query fails.

To Reproduce
Steps to reproduce the behavior:

  1. cnspec scan github repo test-kitchen/test-kitchen --token SOME_TOKEN
  2. ✕ Fail: B 70 Ensure repository has a code of conduct policy

Expected behavior
This should pass since the policy is there: https://github.com/test-kitchen/.github/blob/main/CODE_OF_CONDUCT.md

Screenshots or CLI Output
Screenshot 2022-11-09 at 11 57 32 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant