Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@cognite/cli
Advanced tools
This is in super alpha!
$ npm i -g @cognite/cli
The project and api-key is specified through the two required environment variables
$ export COGNITE_PROJECT=publicdata
$ export COGNITE_CREDENTIALS=<api-key>
and the optional environment variable
$ export COGNITE_BASE_URL=<cluster-specific-url>
cdf assets list
cdf assets list --limit=5
cdf assets list --filter.root=true --limit=5
cdf assets retrieve --externalIds=test1,test2
cdf assets retrieve --ids=123,234
cdf assets search --filter.root=true --search.name=name --limit=10
cdf assets create --externalId=test1 --name=somename
cdf assets update --externalId=test1 --update.name.set=somenewname
You can also pipe JSON input to create/delete to create multiple assets at once. Assuming assets.json contains
[
{"externalId": "test.1"},
{"externalId": "test.2"}
]
then;
cat assets.json | cdf assets create
cat assets.json | cdf assets delete
Yes, please. Issues and PRs are highly welcome.
This package is automatically released using semantic release. Please write commit messages that follows the angular commit message conventions (feat:, fix: etc).
FAQs
a cli for cognite data fusion
The npm package @cognite/cli receives a total of 3 weekly downloads. As such, @cognite/cli popularity was classified as not popular.
We found that @cognite/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 54 open source maintainers 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.