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.
github.com/earthrise-media/plastics/api
Building requires Go v 1.15+ and a simple:
go build .
Testing needs a PostGIS database. The easiest way is:
docker run -e POSTGRES_DB=plastic -e POSTGRES_USER=postgis -p 5432:5432 -e POSTGRES_PASSWORD=password -d mdillon/postgis
Then: go test
Configuration can be set in the environment, the cli or a config file. See Viper's Automatic Env docs for more info. This service exposes the following configuration options:
Config | Default | Description |
---|---|---|
PORT | 8080 | listening port |
PGHOST | localhost | database hostname or IP |
PGPORT | 5432 | port database is listening on |
PGDATABASE | plastic | name of database |
PGUSER | postgis | database username |
PGPASSWORD | password | database password |
LOG_LEVEL | DEBUG | one of TRACE, DEBUG, INFO, WARN, ERROR |
SITE_MATCH_DISTANCE_METERS | 1000 | the distance within which sites will be considered the same site |
ADMIN_USER | admin | an admin user who can perform destructive actions |
ADMIN_PASSWORD | plastics | admin user password |
See OpenAPI docs here
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
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.