We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When executing legitify v1.0.8 against a premium repository the license discovery fails and findings are being skipped.
All policies are being scanned with a premium Gitlab license
Some policies are being skipped due to "unmet prerequisite".
1.0.8
Linux
error.log: 2024/05/23 14:30:02 2024/05/23 14:30:02 failed to get namespace for group mygroup/batcave/personal-project didn't find namespace for mygroup permissions_log.json: { "missing_permissions": {}, "skipped_policies": { "code_review_by_two_members_not_required": { "CI CD-Security": "Unmet prerequisite: premium" }, "code_review_not_required": { "CI CD-Security": "Unmet prerequisite: premium" }, "missing_default_branch_protection": { "CI CD-Security": "Unmet prerequisite: premium" }, "missing_default_branch_protection_force_push": { "CI CD-Security": "Unmet prerequisite: premium" }, "no_signed_commits": { "CI CD-Security": "Unmet prerequisite: premium" }, "repository_allows_committer_approvals_policy": { "CI CD-Security": "Unmet prerequisite: premium" }, "repository_allows_overriding_approvers": { "CI CD-Security": "Unmet prerequisite: premium" }, "repository_dismiss_stale_reviews": { "CI CD-Security": "Unmet prerequisite: premium" }, "repository_require_code_owner_reviews_policy": { "CI CD-Security": "Unmet prerequisite: premium" } } }{ "missing_permissions": {}, "skipped_policies": { "code_review_by_two_members_not_required": { "CI CD-Security": "Unmet prerequisite: premium" }, "code_review_not_required": { "CI CD-Security": "Unmet prerequisite: premium" }, "missing_default_branch_protection": { "CI CD-Security": "Unmet prerequisite: premium" }, "missing_default_branch_protection_force_push": { "CI CD-Security": "Unmet prerequisite: premium" }, "no_signed_commits": { "CI CD-Security": "Unmet prerequisite: premium" }, "repository_allows_committer_approvals_policy": { "CI CD-Security": "Unmet prerequisite: premium" }, "repository_allows_overriding_approvers": { "CI CD-Security": "Unmet prerequisite: premium" }, "repository_dismiss_stale_reviews": { "CI CD-Security": "Unmet prerequisite: premium" }, "repository_require_code_owner_reviews_policy": { "CI CD-Security": "Unmet prerequisite: premium" } } }
Tested with v1.0.7. where everything works as expected. Tests executed in Fedora 39.
Additionally tested and verified on Macos.
The text was updated successfully, but these errors were encountered:
Hi @tvannahl! Could you share the command you used to run legitify?
Sorry, something went wrong.
We're using legitify analyze --scm gitlab --repo {path} withSCM_TOKEN set and executed within a gitlab ci cd pipeline.
legitify analyze --scm gitlab --repo {path}
SCM_TOKEN
No branches or pull requests
TL;DR
When executing legitify v1.0.8 against a premium repository the license discovery fails and findings are being skipped.
Expected behavior
All policies are being scanned with a premium Gitlab license
Observed behavior
Some policies are being skipped due to "unmet prerequisite".
Version
1.0.8
On which operating system are you using legitify?
Linux
Relevant log output
Additional information
Tested with v1.0.7. where everything works as expected. Tests executed in Fedora 39.
Additionally tested and verified on Macos.
The text was updated successfully, but these errors were encountered: