feat: .trivyignore allow import / export from / to project via gitlab API #487
Open
Description
getting a .trivyignore generated is cool but what about the cases
I already have a .trivyignore file and I want to
- filter the findings dependend on this ignore list
- find which ignores can be removed
- merge back the new ignore file
I can think of getting s.th. like:
- a load from project button predefined (project HTTPS URL is given, PAT can be used)
- paste a ignore file I actually have
- with 1): hit a button to jump back to the single file editor on gitlab with the changed file content
btw. yes it's that easy to add&content=test1%0Atest2
to the${GITLAB_PROJECT_URL}/-/edit/main/.trivyignore?ref_type=heads&content=test1%0Atest2
resp. creating it by/-/new/main?file_name=.trivyignore&content=test
Metadata
Assignees
Labels
No labels