Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Move file patterns to a higher level to be able to use it on any analyzer #372

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jerbob92
Copy link
Contributor

@jerbob92 jerbob92 commented Jan 12, 2022

This PR moves the file patterns feature from the config analyzers to a global level so that we can use it on any analyzer.
In favor of #370, #357, #355 as this feature will allow you to set the needed file patterns yourself.

This also makes the config analyzers more like the other analyzers.

We talked about asking the community, but IMHO it makes sense to just add it as it is a logical next step after having it in the config analyzers.

This can be enabled in Trivy without changing anything to the config scanner. The other commands will just get a --filter-patterns option, I already have a branch for that ready.

What do you think @knqyf263?

@jerbob92
Copy link
Contributor Author

@knqyf263 could you please take a look?

3 similar comments
@jerbob92
Copy link
Contributor Author

@knqyf263 could you please take a look?

@jerbob92
Copy link
Contributor Author

jerbob92 commented Apr 5, 2022

@knqyf263 could you please take a look?

@jerbob92
Copy link
Contributor Author

@knqyf263 could you please take a look?

@jerbob92 jerbob92 force-pushed the feature/move-file-patterns-to-global branch from 36954cf to 7fd46a7 Compare May 24, 2022 07:44
@jerbob92
Copy link
Contributor Author

@knqyf263 I have updated the MR to the latest version of Fanal

@jerbob92
Copy link
Contributor Author

@knqyf263 for how long do I have to maintain this MR until it gets merged?

@jerbob92
Copy link
Contributor Author

image

@knqyf263

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant