ChaosDB Explained: Azure's Cosmos DB Vulnerability Walkthrough
wiz.io116 pointsby timmclean34 comments
FRUITS=$(cat input.json | jq '.models | map(select(.title == "fruits")) | .[0]')
FRUIT_NAME_KEY=$(echo "$FRUITS" | jq '.fields | map(select(.name == "Name")) | .[0].key')
FARMERS=$(cat input.json | jq '.models | map(select(.title == "farmers")) | .[0]')
FARMER_NAME_KEY=$(echo "$FARMERS" | jq '.fields | map(select(.name == "Full name")) | .[0].key')
FARMER_FRUITS_KEY=$(echo "$FARMERS" | jq '.fields | map(select(.name == "Fruits")) | .[0].key')
BOB=$(echo "$FARMERS" | jq '.entities | map(select(.['$FARMER_NAME_KEY'] == "Bob, the farmer")) | .[0]')
BOB_FRUIT_IDS=$(echo "$BOB" | jq '.['$FARMER_FRUITS_KEY'] | .[]' -r)
for BOB_FRUIT_ID in "$BOB_FRUIT_IDS"; do
echo "$FRUITS" | jq '.entities | map(select(._id == "'$BOB_FRUIT_ID'")) | .[0] | .['$FRUIT_NAME_KEY']'
done
There's a bit of bash boilerplate, but honestly it was about what I would expect, given a structure with so many layers of indirection. - Work from home, on your own full-time schedule. Freelance freedom!
- A team experienced with healthcare workflow & users’ needs.
- Regular in-person meetings at Toronto’s Centre for Social Innovation.
- Strong network of healthcare, business, and programming consultants.
- Happy, helpful team atmosphere. Driven to make an impact.
. . . and the goal we’re achieving together? Providing healthcare professionals (and beyond) with an accessible alternative to tedious, bulky, costly software. When an automated solution doesn’t yet exist... well, we make one happen. Simple. - Web (HTML/JS/CSS) + NodeJS (we use node-webkit, aka NW.js)
- Cutting-edge libraries including Lodash, Moment.js, React, and more.
- Modular design, piecing together apps using open-source and custom code.
- Collaborative version control and feature management on Git[Hub].
- Real-world testing & feedback with network of health professionals.
Team members must be able to meet in downtown Toronto periodically.
[0] https://github.com/mozilla/cargo-vet
[1] https://opensource.googleblog.com/2023/05/open-sourcing-our-...