diff --git a/.gitignore b/.gitignore index d835809..1fb514d 100644 --- a/.gitignore +++ b/.gitignore @@ -209,3 +209,4 @@ __marimo__/ # Development files managedsat_scratchpad.py siem_scratchpad.py +.vscode/settings.json diff --git a/src/pyhuntress/clients/siem_client.py b/src/pyhuntress/clients/siem_client.py index e82232b..013476c 100644 --- a/src/pyhuntress/clients/siem_client.py +++ b/src/pyhuntress/clients/siem_client.py @@ -24,7 +24,6 @@ class HuntressSIEMAPIClient(HuntressClient): def __init__( self, - siem_url: str, publickey: str, privatekey: str, ) -> None: @@ -32,11 +31,9 @@ class HuntressSIEMAPIClient(HuntressClient): Initializes the client with the given credentials. Parameters: - siem_url (str): URL of your Huntress SIEM instance. publickey (str): Your Huntress SIEM API public key. privatekey (str): Your Huntress SIEM API private key. """ - self.siem_url: str = siem_url self.publickey: str = publickey self.privatekey: str = privatekey self.token_expiry_time: datetime = datetime.now(tz=timezone.utc) @@ -100,7 +97,7 @@ class HuntressSIEMAPIClient(HuntressClient): Returns: str: API URL. """ - return f"https://{self.siem_url}/v1" + return f"https://api.huntress.io/v1" def _get_auth_key(self) -> str: """