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

Task Gryphon pipelines does not run by gryphon user #58

Closed
kairat1115 opened this issue May 15, 2023 · 2 comments · Fixed by #84
Closed

Task Gryphon pipelines does not run by gryphon user #58

kairat1115 opened this issue May 15, 2023 · 2 comments · Fixed by #84

Comments

@kairat1115
Copy link

kairat1115 commented May 15, 2023

I do not know if it's intended, gryphon user has developer permissions and cannot run pipelines for wonderland/awesome-app and wonderland/nest-of-gold.
image

I have logged in as root and bumped permission to maintainer for gryphon user and then pipelines were able to run 10 minutes.

I have also checked solution in https://github.com/cider-security-research/cicd-goat/blob/main/solutions/gryphon.md and guess pipelines worked there at the time of writing.

@TupleType
Copy link
Collaborator

Hey, the pipelines should run periodically by a different user as a result of schedule configuration.
Please let me know if they don't

@kairat1115
Copy link
Author

kairat1115 commented May 16, 2023

Hi @asi-cider, the schedule is assigned to run as gryphon user every 10 minutes even though in cron it should be every minute.
image
image
But pipeline ran only once as administrator from provisioning
image
If I login as gryphon user from creds listed in terraform code https://github.com/cider-security-research/cicd-goat/blob/main/gitlab/gitlab.tf#L45-L55 , I will not be able to start pipeline with error of insufficient permissions from initial comment.

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 a pull request may close this issue.

2 participants