wesley-dean-flexion / sync_github_org_team

Tool to manage a team consisting of all users in a GitHub organization
0 stars 0 forks source link

Abstract GitHub interactions #27

Closed wesley-dean-flexion closed 3 months ago

wesley-dean-flexion commented 3 months ago

This will add a layer of abstraction around the GitHub API interactions that write to the API (i.e., stuff affected by DRY_RUN. This helps test the tool without actually writing to GitHub.

An additional logging variable was added, LOG_LEVEL that allows the user to specify how verbose (higher = less verbose) the tool will be when determing which messages to display. The default is 20 (i.e., INFO); 10 would correspond to DEBUG while 50 would correspond to CRITICAL.

The documentation and sample env file were updated.

github-actions[bot] commented 3 months ago

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 2 0 0.05s
✅ DOCKERFILE hadolint 1 0 0.21s
✅ JSON jsonlint 1 0 0.16s
✅ JSON prettier 1 0 0 0.41s
✅ JSON v8r 1 0 2.39s
✅ MARKDOWN markdownlint 1 0 0 0.58s
✅ MARKDOWN markdown-link-check 1 0 0.76s
✅ MARKDOWN markdown-table-formatter 1 0 0 0.25s
✅ PYTHON bandit 1 0 1.33s
✅ PYTHON black 1 0 0 0.7s
✅ PYTHON flake8 1 0 0.47s
✅ PYTHON isort 1 0 0 0.29s
✅ PYTHON mypy 1 0 2.32s
✅ PYTHON pylint 1 0 2.54s
✅ PYTHON pyright 1 0 8.49s
✅ PYTHON ruff 1 0 0 0.2s
✅ REPOSITORY checkov yes no 14.76s
✅ REPOSITORY gitleaks yes no 0.15s
✅ REPOSITORY git_diff yes no 0.0s
✅ REPOSITORY grype yes no 13.35s
✅ REPOSITORY secretlint yes no 1.49s
✅ REPOSITORY trivy yes no 6.81s
✅ REPOSITORY trivy-sbom yes no 4.1s
✅ REPOSITORY trufflehog yes no 3.18s
✅ SPELL lychee 8 0 0.44s
✅ YAML prettier 5 0 0 0.58s
✅ YAML v8r 5 0 7.94s
✅ YAML yamllint 5 0 0.28s

See detailed report in MegaLinter reports

_MegaLinter is graciously provided by OX Security_