From 6305e024a710a63777575b7a718903ea70ff76ff Mon Sep 17 00:00:00 2001 From: Harshil Gajera Date: Mon, 27 Oct 2025 12:20:05 +0530 Subject: [PATCH 1/2] ci: testing sc4s script --- .../event_ingestors/sc4s_event_ingestor.py | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/pytest_splunk_addon/event_ingestors/sc4s_event_ingestor.py b/pytest_splunk_addon/event_ingestors/sc4s_event_ingestor.py index 3ff5e081..fb17c44b 100644 --- a/pytest_splunk_addon/event_ingestors/sc4s_event_ingestor.py +++ b/pytest_splunk_addon/event_ingestors/sc4s_event_ingestor.py @@ -1,24 +1,6 @@ -# -# Copyright 2025 Splunk Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# import socket from time import sleep import logging - -from typing import Dict - from .base_event_ingestor import EventIngestor LOGGER = logging.getLogger("pytest-splunk-addon") @@ -32,7 +14,7 @@ class SC4SEventIngestor(EventIngestor): required_configs (dict): Dictionary containing splunk host and sc4s port """ - def __init__(self, required_configs: Dict[str, str]) -> None: + def __init__(self, required_configs): self.sc4s_host = required_configs["sc4s_host"] self.sc4s_port = required_configs["sc4s_port"] From 2534ba3a3f657974e4c518d2d1bd8ba0378aab7b Mon Sep 17 00:00:00 2001 From: Harshil Gajera Date: Mon, 27 Oct 2025 12:53:54 +0530 Subject: [PATCH 2/2] ci: updating psa --- .../event_ingestors/sc4s_event_ingestor.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pytest_splunk_addon/event_ingestors/sc4s_event_ingestor.py b/pytest_splunk_addon/event_ingestors/sc4s_event_ingestor.py index fb17c44b..4f11e0fc 100644 --- a/pytest_splunk_addon/event_ingestors/sc4s_event_ingestor.py +++ b/pytest_splunk_addon/event_ingestors/sc4s_event_ingestor.py @@ -1,3 +1,18 @@ +# +# Copyright 2025 Splunk Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import socket from time import sleep import logging