-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update databricks docs for wise/cont3xt
- Loading branch information
31453
committed
Nov 15, 2024
1 parent
260a203
commit 4f6b4e7
Showing
2 changed files
with
52 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: "Databricks Integration" | ||
before: | | ||
(Since 5.5.1) Cont3xt can query Databricks for results. | ||
Create a <code>[databricks:NAME]</code> section where NAME is a unique name for all integrations | ||
settings: | ||
- key: name | ||
value: section name | ||
text: The friendly name to show the user in the UI | ||
|
||
- key: icon | ||
value: icon for integration in UI | ||
text: Path to icon to use in UI | ||
|
||
- key: host | ||
value: REQUIRED | ||
text: The Databricks hostname (usually something like *******.databricks.com) | ||
|
||
- key: token | ||
value: REQUIRED | ||
text: The Databricks token (usually starts with "dapi") | ||
|
||
- key: path | ||
value: REQUIRED | ||
text: The Databricks path (usually something like /sql/1.0/warehouses/******) | ||
|
||
- key: statement | ||
value: REQUIRED | ||
text: The query statement to run against Databricks. For non periodic queries the named parameter SEARCHTERM will be replaced with the key. (e.g. SELECT * FROM catalog.schema.table WHERE ip = SEARCHTERM) | ||
|
||
after: | | ||
<p> | ||
Example config that will query Databricks for all the IPs that match. | ||
</p> | ||
<pre> | ||
[databricks:users] | ||
itypes = ip | ||
name = DataBricks Users | ||
host = abc-123456-789.cloud.databricks.com | ||
path = /sql/1.0/warehouses/abcxyz125789 | ||
token = THESUPERSECRETTOKEN | ||
statement=SELECT * FROM catalog.schema.table WHERE ip = SEARCHTERM | ||
</pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters