diff --git a/contentctl/input/director.py b/contentctl/input/director.py index 260a5ede..62b47b3d 100644 --- a/contentctl/input/director.py +++ b/contentctl/input/director.py @@ -338,10 +338,15 @@ def createSecurityContent( for err in error.errors(): error_msg = err.get("msg", "") if "https://errors.pydantic.dev" in error_msg: - continue + # Unfortunately, this is a catch-all for untyped errors. We will still need to emit this + # This is harder to read, but the other option is suppressing it which we cannot do as + # it makes troubleshooting extremelt difficult + print( + f" {Colors.RED}{Colors.ERROR} {error_msg}{Colors.END}" + ) # Clean error categorization - if "Field required" in error_msg: + elif "Field required" in error_msg: print( f" {Colors.YELLOW}{Colors.WARNING} Field Required: {err.get('loc', [''])[0]}{Colors.END}" ) diff --git a/pyproject.toml b/pyproject.toml index 3d79af4b..69035274 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "contentctl" -version = "5.4.0" +version = "5.4.1" description = "Splunk Content Control Tool" authors = ["STRT "]