Skip to content

Commit

Permalink
Certificate thumbprint is retrieved automatically now.
Browse files Browse the repository at this point in the history
  • Loading branch information
bulkware committed Jan 10, 2025
1 parent 5114a1c commit ece0738
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ azure.webapp.discover.instances[configuration_file, resource_group, webapp_name]
"subscription_id": "<subscription_id>",
"pemfile": "<path_to_pem_file>",
"tenant_id": "<tenant_id>",
"thumbprint": "<pem_file_thumbprint>",
"application_ids": {
"<application_key_1>": "<application_id_1>",
"<application_key_2>": "<application_id_2>",
Expand Down
2 changes: 1 addition & 1 deletion python/ic_azure/azure_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __init__(self, args: dict, api: str = None, queries: bool = False) -> None:
self.workspace_ids = {} # Workspace IDs for Log Analytics queries

# Check configurations for necessary fields
for item in ["client_id", "pemfile", "subscription_id", "tenant_id", "thumbprint"]:
for item in ["client_id", "pemfile", "subscription_id", "tenant_id"]:
if not config[item]:
raise Exception("Configurations are missing {}.".format(item))

Expand Down
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name="azure-monitoring",
version="1.21",
version="1.22",
author="Antti-Pekka Meronen",
author_email="[email protected]",
description="Monitoring scripts for Azure services",
Expand Down

0 comments on commit ece0738

Please sign in to comment.