How to use the vulnix.output.Filtered function in vulnix

To help you get started, we’ve selected a few vulnix examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github flyingcircusio / vulnix / src / vulnix / whitelist.py View on Github external
def find(self, derivation, vulns):
        """Compiles all matching rules into a `Filtered` object."""
        f = Filtered(derivation, vulns)
        for cand in self.candidates(derivation.pname, derivation.version):
            if cand.covers(derivation, vulns):
                f.add(cand)
        return f

vulnix

Scans a Nix store for derivations that are affected by vulnerabilities.

BSD-3-Clause
Latest version published 3 years ago

Package Health Score

51 / 100
Full package analysis