We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59233ce commit 1cea5faCopy full SHA for 1cea5fa
azure-sentinel/1.0.0/src/app.py
@@ -243,11 +243,11 @@ def add_comment(self, **kwargs):
243
return res.text
244
245
def run_query(self, **kwargs):
246
-
247
# Get a client credential access token
248
auth = self.authenticate(
249
kwargs["tenant_id"], kwargs["client_id"], kwargs["client_secret"]
250
)
+
251
if not auth["success"]:
252
return {"error": auth["message"]}
253
@@ -268,7 +268,7 @@ def run_query(self, **kwargs):
268
"properties": {
269
"Category": kwargs["query_category"],
270
"DisplayName": kwargs["query_name"],
271
- "Query": {kwargs['query']},
+ "Query": kwargs['query'],
272
}
273
274
0 commit comments