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

Update gitleaks configuration in mega-linter #164

Closed
wants to merge 0 commits into from

Conversation

unixorn
Copy link
Owner

@unixorn unixorn commented Jan 1, 2024

Description

  • Make gitleaks only check the current PR
  • Add comments in test_*.py to make gitleaks ignore the test user data

License Acceptance

  • This repository is Apache version 2.0 licensed and by making this PR, I am contributing my changes to the repository under the terms of the Apache 2 license.

Type of changes

  • Add/update a helper script
  • Add/update link to an external resource like a blog post or video
  • Bug fix
  • New feature
  • Test updates
  • Text cleanups/updates

Checklist

  • I have read the CONTRIBUTING document.
  • All new and existing tests pass.
  • Any scripts added use #!/usr/bin/env interpreter instead of potentially platform-specific direct paths (#!/bin/sh is an allowed exception)
  • Scripts added/updated in this PR are all marked executable.
  • Scripts added/updated in this PR do not have a language file extension unless they are meant to be sourced and not run standalone. No one should have to know if a script was written in bash, python, ruby or whatever. Not including file extensions makes it easier to rewrite the script in another language later without having to change every reference to the previous version.
  • I have confirmed that any links added or updated in my PR are valid.

@unixorn
Copy link
Owner Author

unixorn commented Jan 1, 2024

🦙 MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Elapsed time
❌ ACTION actionlint 3 1 0.06s
✅ COPYPASTE jscpd yes no 1.69s
✅ EDITORCONFIG editorconfig-checker 7 0 0.05s
⚠️ MARKDOWN markdownlint 1 12 0.68s
✅ MARKDOWN markdown-table-formatter 1 0 0.43s
✅ PYTHON bandit 1 0 1.18s
✅ PYTHON black 2 0 2.0s
✅ PYTHON flake8 2 0 1.1s
⚠️ PYTHON isort 2 2 0.25s
✅ PYTHON pylint 2 0 9.17s
✅ PYTHON ruff 2 0 0.03s
❌ REPOSITORY gitleaks yes 5 0.45s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY grype yes no 11.65s
✅ REPOSITORY secretlint yes no 0.84s
✅ REPOSITORY trivy yes no 6.27s
✅ REPOSITORY trivy-sbom yes no 4.95s
✅ REPOSITORY trufflehog yes no 5.3s
✅ SPELL lychee 4 0 0.65s
⚠️ YAML prettier 3 1 0.62s
✅ YAML v8r 3 0 3.06s
✅ YAML yamllint 3 0 0.39s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@unixorn unixorn closed this Jan 1, 2024
@unixorn unixorn force-pushed the demote-annoying-checks-to-warnings-again branch from f8b717a to 0bb85e2 Compare January 1, 2024 16:30
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

Successfully merging this pull request may close these issues.

1 participant