From 0dad9563a57f6fe27e7a46d6389a6657d69eb62e Mon Sep 17 00:00:00 2001 From: pyth0n1c Date: Tue, 22 Oct 2024 10:19:44 -0700 Subject: [PATCH 1/4] remove "cloud" from the security_domain enum --- contentctl/objects/enums.py | 1 - 1 file changed, 1 deletion(-) diff --git a/contentctl/objects/enums.py b/contentctl/objects/enums.py index f4a7822e..333ef358 100644 --- a/contentctl/objects/enums.py +++ b/contentctl/objects/enums.py @@ -330,7 +330,6 @@ class SecurityDomain(str, enum.Enum): IDENTITY = "identity" ACCESS = "access" AUDIT = "audit" - CLOUD = "cloud" class AssetType(str, enum.Enum): AWS_ACCOUNT = "AWS Account" From 6bcb8751db77f445b387293c0ef8d7b4b199fa0d Mon Sep 17 00:00:00 2001 From: pyth0n1c Date: Tue, 22 Oct 2024 15:57:42 -0700 Subject: [PATCH 2/4] Fix path to fetch a saved search by name. Without fixing this path, integration testing fails to find the search and errors out. --- contentctl/objects/correlation_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contentctl/objects/correlation_search.py b/contentctl/objects/correlation_search.py index 504fdf6f..c64eed6b 100644 --- a/contentctl/objects/correlation_search.py +++ b/contentctl/objects/correlation_search.py @@ -264,7 +264,7 @@ def splunk_path(self) -> str: :returns: the search path :rtype: str """ - return f"/saved/searches/{self.name}" + return f"saved/searches/{self.name}" @computed_field @cached_property From 81fa46e02730996f072f0a8623fbc916672c3590 Mon Sep 17 00:00:00 2001 From: pyth0n1c <87383215+pyth0n1c@users.noreply.github.com> Date: Wed, 30 Oct 2024 14:08:29 -0700 Subject: [PATCH 3/4] Update pyproject.toml just bumping version for release --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ef0803af..c2405c62 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "contentctl" -version = "4.4.1" +version = "4.4.2" description = "Splunk Content Control Tool" authors = ["STRT "] From 7f5319e2041840ed8121d21ffc74ca91ee972ac3 Mon Sep 17 00:00:00 2001 From: pyth0n1c <87383215+pyth0n1c@users.noreply.github.com> Date: Wed, 30 Oct 2024 14:12:27 -0700 Subject: [PATCH 4/4] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c2405c62..70bbf071 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "contentctl" -version = "4.4.2" +version = "4.4.3" description = "Splunk Content Control Tool" authors = ["STRT "]