
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/raymasson/go-mongodb-minikube-kubectl-helm
An example project demonstrating the deployment of a mongodb replica set and a Golang API in Kubernetes. Minikube is used to run k8s locally. kubectl is used to deploy the mongodb replica set. helm is used to deploy the golang API.
Follow the mongodb readme
Follow the api readme
First of all, let's get the API service URL out of minikube.
$ minikube service person-api --url
Use the outputted URL in your internet browser (e.g.: http://192.168.99.100:31518
). You should see Welcome to the person API!
displayed
Get persons out of the person API. The expected output is a HTTP status 200 OK
and a []
of persons.
$ curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://192.168.99.100:31518/persons
Now, let's insert our first person. The expected output is a HTTP status 201 Created
.
$ curl -i -H "Accept: application/json" -H "Content-Type: application/json" -d '{"first_name":"ray", "last_name":"masson"}' -X POST http://192.168.99.100:31518/persons
Run again the first curl
command. The output should now be something like [{"id":"5ab505c424e8f10001f047b5","first_name":"ray","last_name":"masson"}]
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.