Git Product home page Git Product logo

arnica-ext / gitgoat Goto Github PK

View Code? Open in Web Editor NEW
162.0 4.0 27.0 381 KB

GitGoat is an open source tool that was built to enable DevOps and Engineering teams to design and implement a sustainable misconfiguration prevention strategy. It can be used to test products with access to GitHub repositories without a risk to your production environment.

Home Page: https://arnica.io

License: MIT License

Dockerfile 2.00% Python 98.00%
devops-tools devsecops openssf github-security github-security-lab

gitgoat's People

Contributors

dikodahan avatar eran-medan avatar nir-valtman avatar spyper1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gitgoat's Issues

Warnings when setting up org

Describe the bug
Hi,

More of an ask than anything else at this point, but I was simply wondering if the WARNINGs as shown below were expected, or if this was possibly due to change of defaults from GitHub. If so, I am thinking GitGoat may have broken "features".

To Reproduce
Steps to reproduce the behavior:

  1. Follow the docker instructions
  2. Experience WARNINGs

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

$ docker run -ti --env github_token=$GITGOAT_GH_TOKEN --rm ghcr.io/arnica-ext/gitgoat:main python3 run.py --org madchap-gitgoat 
Repos: 100%|███████████████████████████████████████████████████████████████| 9/9 [00:12<00:00,  1.37s/it]
Actions:   0%|                                                                     | 0/7 [00:00<?, ?it/s]WARNING:root:The response code for the PUT endpoint /repos/madchap-gitgoat/Wasabi/actions/permissions is 409. Message: {"message":"Conflict","errors":"GitHub Actions is disabled on this repository by the organization","documentation_url":"https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-a-repository"}
Actions: 100%|█████████████████████████████████████████████████████████████| 7/7 [00:04<00:00,  1.51it/s]
Members: 100%|█████████████████████████████████████████████████████████████| 5/5 [00:03<00:00,  1.59it/s]
Parent Teams: 100%|████████████████████████████████████████████████████████| 3/3 [00:03<00:00,  1.24s/it]
Teams: 100%|███████████████████████████████████████████████████████████████| 9/9 [01:04<00:00,  7.22s/it]
Direct Permission: 100%|███████████████████████████████████████████████████| 5/5 [00:02<00:00,  1.91it/s]
Commits for miker-gg: 0it [00:00, ?it/s]
Commits for archiet-gg: 100%|██████████████████████████████████████████████| 7/7 [00:22<00:00,  3.25s/it]
Commits for billdp-gg: 100%|███████████████████████████████████████████████| 7/7 [00:27<00:00,  3.92s/it]
Commits for codeyf-gg: 100%|███████████████████████████████████████████████| 8/8 [00:32<00:00,  4.05s/it]
Commits for debu-gg: 100%|█████████████████████████████████████████████████| 1/1 [00:04<00:00,  4.53s/it]
Members Review PRs: 100%|██████████████████████████████████████████████████| 5/5 [00:33<00:00,  6.65s/it]
Owner Reviews PRs: 100%|███████████████████████████████████████████████████| 9/9 [00:06<00:00,  1.49it/s]
Members Merge PRs:   0%|                                                           | 0/5 [00:00<?, ?it/s]WARNING:root:The response code for the PUT endpoint /repos/madchap-gitgoat/Lavender/pulls/2/merge is 405. Message: {"message":"Base branch was modified. Review and try the merge again.","documentation_url":"https://docs.github.com/rest/reference/pulls#merge-a-pull-request"}
WARNING:root:The response code for the PUT endpoint /repos/madchap-gitgoat/Chamomile/pulls/1/merge is 405. Message: {"message":"Base branch was modified. Review and try the merge again.","documentation_url":"https://docs.github.com/rest/reference/pulls#merge-a-pull-request"}
WARNING:root:The response code for the PUT endpoint /repos/madchap-gitgoat/Ginger/pulls/2/merge is 405. Message: {"message":"Base branch was modified. Review and try the merge again.","documentation_url":"https://docs.github.com/rest/reference/pulls#merge-a-pull-request"}
WARNING:root:The response code for the PUT endpoint /repos/madchap-gitgoat/Wasabi/pulls/2/merge is 405. Message: {"message":"Base branch was modified. Review and try the merge again.","documentation_url":"https://docs.github.com/rest/reference/pulls#merge-a-pull-request"}
Members Merge PRs: 100%|███████████████████████████████████████████████████| 5/5 [00:32<00:00,  6.43s/it]
Branch Protection:   0%|                                                           | 0/9 [00:00<?, ?it/s]WARNING:root:The response code for the PUT endpoint /repos/madchap-gitgoat/Lavender/branches/main/protection is 403. Message: {"message":"Upgrade to GitHub Pro or make this repository public to enable this feature.","documentation_url":"https://docs.github.com/rest/branches/branch-protection#update-branch-protection"}
Branch Protection:  22%|███████████▎                                       | 2/9 [00:00<00:02,  2.80it/s]WARNING:root:The response code for the PUT endpoint /repos/madchap-gitgoat/Calendula/branches/main/protection is 403. Message: {"message":"Upgrade to GitHub Pro or make this repository public to enable this feature.","documentation_url":"https://docs.github.com/rest/branches/branch-protection#update-branch-protection"}
Branch Protection:  44%|██████████████████████▋                            | 4/9 [00:01<00:01,  3.05it/s]WARNING:root:The response code for the PUT endpoint /repos/madchap-gitgoat/Ginger/branches/main/protection is 403. Message: {"message":"Upgrade to GitHub Pro or make this repository public to enable this feature.","documentation_url":"https://docs.github.com/rest/branches/branch-protection#update-branch-protection"}
Branch Protection:  67%|██████████████████████████████████                 | 6/9 [00:02<00:01,  2.92it/s]WARNING:root:The response code for the PUT endpoint /repos/madchap-gitgoat/Peppermint/branches/main/protection is 403. Message: {"message":"Upgrade to GitHub Pro or make this repository public to enable this feature.","documentation_url":"https://docs.github.com/rest/branches/branch-protection#update-branch-protection"}
Branch Protection:  89%|█████████████████████████████████████████████▎     | 8/9 [00:02<00:00,  2.87it/s]WARNING:root:The response code for the PUT endpoint /repos/madchap-gitgoat/Acai/branches/main/protection is 403. Message: {"message":"Upgrade to GitHub Pro or make this repository public to enable this feature.","documentation_url":"https://docs.github.com/rest/branches/branch-protection#update-branch-protection"}
Branch Protection: 100%|███████████████████████████████████████████████████| 9/9 [00:03<00:00,  2.65it/s]
CODEOWNERS: 100%|██████████████████████████████████████████████████████████| 9/9 [00:12<00:00,  1.37s/it]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.