-
Notifications
You must be signed in to change notification settings - Fork 60
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
legitify doesn't support nested GitLab projects completely #250
Comments
Should have been fixed with #243 |
P.S. permissions_log.json is empty. |
After moving project back to group/project all policies have been found, so it is nothing concerning different permissions.
|
Could you attach the CLI command you're using? I can't replicate this behavior locally (you can send privately if you prefer). |
The command I use, is:
The project settings for both analysis are the same, I moved the project into a subgroup to test the new feature - and I wonder why policies are missing and the error I use a policiesignore file to activate only some policies which are:
If you need more input please let me know. |
@noamd-legit: looking forward to your answer :) |
Sorry, holidays season :) I will publish a fix today |
Thanks for the fix. It works :) |
TL;DR
With v1.0.2 nested GitLab projects should be supported, but after updating legitify, it has issues with groups and now missing policies.
Expected behavior
All policies are shown and group gets analyzed, too.
Observed behavior
From the logs:
2023/09/08 09:10:49 2023/09/08 09:10:49 couldn't find group group/subgroup
And some policies weren't shown:
Before (v1.0.1: analyzed project was under group/project):
After (v1.0.2: analyzed project was under group/subgroup/project)::
Version
1.0.2
On which operating system are you using legitify?
Linux
Relevant log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: