From 9f4096bd9afdb510f622f5da3e79f2eb4a16dd55 Mon Sep 17 00:00:00 2001 From: Advaith Venkatakrishnan Date: Thu, 11 Dec 2025 08:35:39 -0500 Subject: [PATCH 1/2] fix(censys/cli/asm): filter fields --- censys/cli/commands/asm.py | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/censys/cli/commands/asm.py b/censys/cli/commands/asm.py index 548113c4..0dd94d5b 100644 --- a/censys/cli/commands/asm.py +++ b/censys/cli/commands/asm.py @@ -896,13 +896,15 @@ def add_verbose(parser): execute_saved_query_by_name_parser.add_argument( "--sort", help="Sort order for results", - type=List[str], + type=str, + nargs="+", default=[], ) execute_saved_query_by_name_parser.add_argument( "--fields", help="Fields to include in results", - type=List[str], + type=str, + nargs="+", default=[], ) execute_saved_query_by_name_parser.add_argument( @@ -937,13 +939,15 @@ def add_verbose(parser): execute_saved_query_by_id_parser.add_argument( "--sort", help="Sort order for results", - type=List[str], + type=str, + nargs="+", default=[], ) execute_saved_query_by_id_parser.add_argument( "--fields", help="Fields to include in results", - type=List[str], + type=str, + nargs="+", default=[], ) execute_saved_query_by_id_parser.add_argument( @@ -982,13 +986,15 @@ def add_verbose(parser): search_parser.add_argument( "--sort", help="Sort order for results", - type=List[str], + type=str, + nargs="+", default=[], ) search_parser.add_argument( "--fields", help="Fields to include in results", - type=List[str], + type=str, + nargs="+", default=[], ) search_parser.add_argument( From 2b3d09e7e24c28d43e278d50887fb327e8eca9d1 Mon Sep 17 00:00:00 2001 From: Advaith Venkatakrishnan Date: Thu, 11 Dec 2025 08:53:08 -0500 Subject: [PATCH 2/2] chore(bump): bump version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ace7257c..1bf2e4d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "censys" -version = "2.2.18" +version = "2.2.19" description = "An easy-to-use and lightweight API wrapper for Censys APIs (censys.io)." authors = ["Censys, Inc. "] license = "Apache-2.0"