Skip to content

Commit

Permalink
Flake update
Browse files Browse the repository at this point in the history
Signed-off-by: Henri Rosten <[email protected]>
  • Loading branch information
henrirosten committed Oct 7, 2024
1 parent 56dcd1a commit 2a724c2
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 266 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#! /usr/bin/env bash
# SPDX-FileCopyrightText: 2023 Technology Innovation Institute (TII)
#
# SPDX-License-Identifier: Apache-2.0
Expand Down
1 change: 0 additions & 1 deletion doc/vulnxscan.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,5 +376,4 @@ For now, consider `vulnxscan` as a demonstration. Some improvement ideas are lis
- Nix ecosystem is not supported in OSV: the way `osv.py` makes use of OSV data for Nix targets -- as explained in section [Nix and OSV vulnerability database](#nix-and-osv-vulnerability-database) -- makes the reported OSV vulnerabilities include false positives.

### Other Future Work
- [vulnxscan](../src/vulnxscan/vulnxscan_cli.py) uses vulnix from a [forked repository](https://github.com/henrirosten/vulnix), to include vulnix support for [scanning runtime-only dependencies](https://github.com/nix-community/vulnix/compare/master...henrirosten:vulnix:master).
- [vulnxscan](../src//vulnxscan/vulnxscan_cli.py) could include more scanners in addition to [vulnix](https://github.com/nix-community/vulnix), [grype](https://github.com/anchore/grype), and [osv.py](../src/vulnxscan/osv.py). Suggestions for other open-source scanners, especially those that can digest CycloneDX or SPDX SBOMs are welcome. Consider e.g. [bombon](https://github.com/nikstur/bombon) and [cve-bin-tool](https://github.com/intel/cve-bin-tool). Adding cve-bin-tool to vulnxscan was [demonstrated](https://github.com/tiiuae/sbomnix/pull/75) earlier, but not merged due to reasons explained in the [PR](https://github.com/tiiuae/sbomnix/pull/75#issuecomment-1670958503).
84 changes: 22 additions & 62 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@
url = "github:nix-community/flake-compat";
flake = false;
};
nix-visualize = {
url = "github:craigmbooth/nix-visualize";
flake = false;
};
vulnix = {
url = "github:henrirosten/vulnix";
flake = false;
};
};

outputs = inputs @ {flake-parts, ...}:
Expand Down
4 changes: 2 additions & 2 deletions nix/devshell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
grype
gzip
nix
nix-visualize
pylint
reuse
vulnix
])
++ (with self'.packages; [
nix-visualize
python # that python with all sbomnix [dev-]dependencies
vulnix
]);

# Add the repo root to PYTHONPATH, so invoking entrypoints (and them being
Expand Down
Loading

0 comments on commit 2a724c2

Please sign in to comment.