-
Notifications
You must be signed in to change notification settings - Fork 1
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
(feat): Assessment report tool #89
Conversation
Do you know if there is a way to use default credentials using the GH CLI that is easy? Just thinking about keeping the auth methods for everything the same. |
organizations/tools/gh_foundations/internal/pkg/types/github/organization.go
Outdated
Show resolved
Hide resolved
organizations/tools/gh_foundations/internal/pkg/types/github/repository.go
Outdated
Show resolved
Hide resolved
After looking through the gh cli docs the best I think we could do would be to change the env var we use to be edit: |
…rganization.go Co-authored-by: Ben Zarboni <99673202+bzarboni1@users.noreply.github.com> Signed-off-by: TylerMizuyabu <tyler.mizuyabu@focisolutions.com>
…epository.go Co-authored-by: Ben Zarboni <99673202+bzarboni1@users.noreply.github.com> Signed-off-by: TylerMizuyabu <tyler.mizuyabu@focisolutions.com>
Introduces a command to the gh_foundations cli tool to run checks against your github organization and repositories then output a report in a json format. The command requires either
GITHUB_TOKEN
environment variable to be set or gh cli to be installed and for the user to be logged in to authenticate against githubs REST api. For it's first iteration there is only one set of checks performed against the Gov of Canada's gaurdrails. More check types can be added later along with a command line option to configure what subset of checks get run or if all of them get run.