From bdd00db48325e20cf8850348a7d8d40b54b5be44 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Tue, 4 Feb 2025 21:09:32 +0100 Subject: [PATCH 1/2] Add golang to supported firewall ecosystems --- cli/src/app.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/src/app.rs b/cli/src/app.rs index 14ce580fb..1f23ba681 100644 --- a/cli/src/app.rs +++ b/cli/src/app.rs @@ -624,7 +624,9 @@ pub fn add_subcommands(command: Command) -> Command { .long("package-type") .value_name("PACKAGE_TYPE") .help("Only show logs matching this package type") - .value_parser(["npm", "gem", "pypi", "maven", "nuget", "cargo"]), + .value_parser([ + "npm", "gem", "pypi", "maven", "nuget", "golang", "cargo", + ]), Arg::new("purl") .long("purl") .value_name("PURL") From 1d91481ee457e0753e2c444547b96fe9cf1a3085 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Tue, 4 Feb 2025 21:20:52 +0100 Subject: [PATCH 2/2] Regenerate documentation --- docs/commands/phylum_firewall_log.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/commands/phylum_firewall_log.md b/docs/commands/phylum_firewall_log.md index 496d15b0b..9367a1e4b 100644 --- a/docs/commands/phylum_firewall_log.md +++ b/docs/commands/phylum_firewall_log.md @@ -18,7 +18,7 @@ Usage: phylum firewall log [OPTIONS] `--package-type` ``   Only show logs matching this package type -  Accepted values: `npm`, `gem`, `pypi`, `maven`, `nuget`, `cargo` +  Accepted values: `npm`, `gem`, `pypi`, `maven`, `nuget`, `golang`, `cargo` `--purl` ``   Only show logs matching this PURL