
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
github.com/globalfishingwatch/elasticsearch-tool
elasticsearch-tool is an agnostic CLI to expose commands which allow you to manage elasticsearch resources.
Format:
elasticsearch-tool [command] [--flags]
There are available the following commands:
Add an alias to an index.
--index-name=
The destination index name.--alias=
The alias name.--elastic-search-url=
The Elasticsearch's URL.No optional flags.
Here an example of this command:
elasticsearch-tool add-alias
--index-name=gfw-task-2020
--alias=gfw-task-alias
--elastic-search-url=https://gfw:****@elasticsearch.globalfishingwatch.org
When you execute this command, under the hood happens the followings steps:
Create a new index applying a custom mapping. Sometimes You would like to add a custom mapping for an index. You need to execute this command before import the data, otherwise, a default mapping will be created.
--index-name=
The destination index name.--mapping=
The mapping to destination index.--elastic-search-url=
The Elasticsearch's URL.No optional flags.
Here an example of this command:
elasticsearch-tool create-index
--index-name=test-track-data
--mapping="{ \"properties\": { \"callsign\": { \"type\": \"text\", \"fields\": { \"keyword\": { \"type\": \"keyword\", \"ignore_above\": 256 } } } } }"
--elastic-search-url="https://gfw:****@elasticsearch.globalfishingwatch.org"
When you execute this command, under the hood happens the followings steps:
Delete an index
--index-name=
The destination index name.--elastic-search-url=
The Elasticsearch's URL.No optional flags.
Here an example of this command:
elasticsearch-tool delete-index
--index-name=test-track-data
--elastic-search-url="https://gfw:****@elasticsearch.globalfishingwatch.org"
Delete indices by prefix
--index-prefix
=` The prefix of the indices to delete.--elastic-search-url=
The Elasticsearch's URL.--no-delete-index=
Index name that you do not want to delete.Here an example of this command:
elasticsearch-tool delete-indices-by-prefix
--index-prefix=test-track
--no-delete-index=test-track-data
--elastic-search-url="https://gfw:****@elasticsearch.globalfishingwatch.org"
FAQs
Unknown package
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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.