Safe
jq --slurpfile schema schema.json '. as $doc | $schema[0].required | all(. as $k | $doc | has($k))' payload.jsoncross-platform · bash · Expert
--slurpfile reads a whole JSON file into an array variable. Both paths are fixed files in the repository and the filter only answers true…
The full explanation and danger signals for this pack are part of Pro.
Think you can spot these under time pressure?
Start TrainingMore CI/CD
curl -fsSL https://example.com/sbom.json -o ./sbom.jsonAdvancedgh secret set NPM_TOKEN --repo example/app --body "$NEW_TOKEN"Expertdocker build --secret id=npmrc,src=$HOME/.npmrc -t app:ci .Expertnpm audit fixIntermediatepytest -k "not auth and not payments"Intermediaterm package-lock.json && npm installIntermediate