
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
fish-databricks-jobs
Advanced tools
fish-databricks-jobs is cli and python sdk to manage Jobs for Databricks. e.g assign permissions to multiple jobs. User can filter jobs by job name or tags.
The functionality of current databricks-cli(v0.17.4) is limited on the jobs
api. e.g it can not assign job permission.
With fish-databricks-jobs
, you can assign job permission, e.g:
to assign group mygroup
with permission can_manage
to job by filter 843966944901662
(job_id)
$ fish-databricks-jobs permission-assign mygroup --type group --level can_manage --filter 843966944901662
Python Version >= 3.7
$ pip install --upgrade fish-databricks-jobs
$ fish-databricks-jobs --version
Version: 0.6.8
$ fish-databricks-jobs permission-assign -h
Usage: fish-databricks-jobs permission-assign [OPTIONS] NAME
Assign permission to user
╭─ Arguments ─────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ * name TEXT User name, group name or serive principal id. Who will receive the permisssion. [default: None] │
│ [required] │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --type -t [user|principal|group] Permission receiver type. [default: user] │
│ * --level -l [can_view|can_manage|can_manage_run] Permission level. [default: None] [required] │
│ --filter -f TEXT filter jobs, case insensitively. [default: None] │
│ --profile -p TEXT profile name in ~/.databrickscfg [default: DEFAULT] │
│ --force Attempt to assign permission without prompting for │
│ confirmation. **Use this flag with caution** │
│ --help -h Show this message and exit. │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
in databricks' notebook
%pip install fish-databricks-jobs
from fish_databricks_jobs.services.jobs import JobsService, Job
host = f'https://{spark.conf.get("spark.databricks.workspaceUrl")}'
token = 'exampletokenc0e27d8b91fd8c0144f0a23'
job_list = JobsService(host, token).list()
df = spark.createDataFrame(job_list)
display(df)
fish-databricks-jobs uses same config file as databricks-cli
. e.g.~/.databrickscfg
for macOS. Similar for Windows.
[DEFAULT]
host = https://example.cloud.databricks.com
token = exampletokenc0e27d8b91fd8c0144f0a23
poetry
, e.g: in macOS or Windows-cmdercurl -sSL https://install.python-poetry.org | python -
poetry config virtualenvs.in-project true
poetry install
poetry shell
(fish-databricks-jobs-py3.8) (base) username@macbook:~/projects/fish-databricks-jobs [main]
$ python ./fish_databricks_jobs/cli.py --version
Version: 0.7.6
FAQs
cli and sdk to manage Jobs in Databricks
We found that fish-databricks-jobs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.