![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
cloudcms-util
Advanced tools
Various Cloud CMS command line utilities. Currently supports import and export of Cloud CMS nodes or definitions
Command line scripts to perform various Cloud CMS related tasks such as import and export json nodes and binary attachments to and from Cloud CMS repositories.
Not to be confused with the official Cloud CMS CLI (https://www.npmjs.com/package/cloudcms-cli)
It is not necessary to install cloudcms-util. It runs as an npx script. But it will run faster if it installed first (otherwise npx will install it on demand and remove it when it finishes executing each command).
npm install -g cloudcms-util
npx cloudcms-util -h
Connect to Cloud CMS and list available definition qnames',
(requires gitana.json in the folder where the script is executed)
npx cloudcms-util --list-types'
npx cloudcms-util export --definition-qname "my:type1" "my:type2" --include-instances
requires gitana.json in the folder where the script is executed
npx cloudcms-util export -a
create a mongodb query in the file ./myquery.json
{
"_type": "my:type1",
"foo": "bar"
}
npx cloudcms-util export.js -y ./myquery.json
npx cloudcms-util import-users -g ./gitana/gitana-local.json --csv-source ./data/users-test1.csv --default-password "This13ThePassword" --project-id 5751b6235492fef8614d --team-key project-managers-team --username admin --password admin
Adding users is a platform operation and requires admin privileges. Use either --prompt or --username and --password to enter credentials of a user with sufficient platform privileged.
If the user already exists in the platform it will not be modified. Therefor you can run this import process over and over again to ensure missing users are created or to add the users to a different project and/or project team.
Users require a password. If the PASSWORD column is empty for any user then the user will be skipped. Unless you use the --default-password option. If both are present then the PASSWORD column value takes precedence.
The CSV file is required to have a header as the first row. The headers should be: NAME,EMAIL,FIRST,LAST,COMPANY,PASSWORD. The header text does not actually matter. The first column is expeced to me NAME, the second column EMAIL, etc. Example: NAME,EMAIL,FIRST,LAST,COMPANY,PASSWORD mary,mary.user1@email.com,Marry,User1,this company, edith,edith.m.user2@anotheremail.com,Edith,User2,,Hello$World.1
FAQs
Various Cloud CMS command line utilities. Currently supports import and export of Cloud CMS nodes or definitions
The npm package cloudcms-util receives a total of 18 weekly downloads. As such, cloudcms-util popularity was classified as not popular.
We found that cloudcms-util demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.