
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@cumulus/post-to-cmr
Advanced tools
This lambda function posts granule metadata to CMR (Common Metadata Repository).
It will use the information contained in a metadata file on S3 and post that information to the CMR service.
The S3 metadata file can be either ECHO10 xml
metadata with extension .cmr.xml
or UMM-G JSON
with extension .cmr.json
.
The move-granules
task and the (api)granules.move
function will both update the metadata files on S3. For UMM-G JSON metadata, RelatedUrls
are updated, while ECHO10 XML metadata will maintain the metadata in OnlineAccessURLs
.
A granule's files URL, and Type/Description for UMMG and URLDescription for ECHO10, are modified for each file in the granule based on its bucket location. The metadata URLs are based on the file bucket storage type. Files placed in protected buckets will get a url to the distribution endpoint. Files in public buckets will get direct https
links. URLs not directly related to the granule's files are unmodified and preserved as they exist.
For more information on configuring a Cumulus Message Adapter task, see the Cumulus workflow input/output documentation.
Config object fields:
field name | type | default | description |
---|---|---|---|
bucket | string | (required) | Name of S3 bucket containing public/private key pair to decrypt CMR credentials |
process | string | (required) | Process the granules went through |
stack | string | (required) | Name of deployment stack |
cmr | object | (required) | CMR credentials object |
concurrency | number | 20 | Maximum concurrency of requests to CMR |
republish | boolean | false | Whether to remove published granules from CMR and republish them again |
Input object fields:
field name | type | default | description |
---|---|---|---|
granules | array<object> | (required) | List of granule objects |
Output object fields:
field name | type | default | values | description |
---|---|---|---|---|
granules | array<object> | N/A | List of granule objects published to CMR | |
process | string | N/A | Process the granules went through |
Cumulus is a cloud-based data ingest, archive, distribution and management prototype for NASA's future Earth science data streams.
To make a contribution, please see our contributing guidelines.
FAQs
Post a given granule to CMR
The npm package @cumulus/post-to-cmr receives a total of 286 weekly downloads. As such, @cumulus/post-to-cmr popularity was classified as not popular.
We found that @cumulus/post-to-cmr demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.