Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
11ebfd7
docs: Update REST API docs to clarify HEAD request (#4565)
jess-lowe Jan 5, 2026
4c57ca6
feat: migrate sitemap generation (#4487)
michaelkedar Jan 7, 2026
934e49b
chore(deps): update alpine:3.23 docker digest to 865b95f (#4526)
renovate-bot Jan 7, 2026
3fa0802
chore(deps): update gcp/api/googleapis digest to d4a34bf (#4527)
renovate-bot Jan 7, 2026
d001c7d
fix(deps): update github.com/ossf/osv-schema/bindings/go digest to 88…
renovate-bot Jan 7, 2026
a8e9135
fix(deps): update google.golang.org/genproto/googleapis/api digest to…
renovate-bot Jan 7, 2026
ed45f30
chore(deps): update golang:1.25.5-alpine docker digest to ac09a5f (#4…
renovate-bot Jan 7, 2026
9a39f63
fix(deps): update indexer (#4535)
renovate-bot Jan 7, 2026
8f5576d
fix: introduced '>' operator not being parsed (#4573)
jess-lowe Jan 7, 2026
4eec2f6
chore(deps): update workflows (#4534)
renovate-bot Jan 7, 2026
4d31e86
chore(deps): lock file maintenance (#4536)
renovate-bot Jan 7, 2026
c7b874e
chore(deps): lock file maintenance workers (#4537)
renovate-bot Jan 7, 2026
561a4ae
chore(deps): lock file maintenance osv-lib (#4538)
renovate-bot Jan 7, 2026
4125aee
chore(deps): lock file maintenance (#4539)
renovate-bot Jan 7, 2026
7815970
chore(deps): lock file maintenance functions (#4541)
renovate-bot Jan 7, 2026
18d2463
fix(deps): lock file maintenance vulnfeeds (#4545)
renovate-bot Jan 7, 2026
a33ee6d
chore(deps): lock file maintenance website-backend (#4542)
renovate-bot Jan 7, 2026
fa29036
chore(deps): lock file maintenance website-frontend (#4543)
renovate-bot Jan 7, 2026
f071a75
fix(deps): lock file maintenance tools (#4544)
renovate-bot Jan 7, 2026
b39c225
chore(deps): update gcr.io/google.com/cloudsdktool/google-cloud-cli:a…
renovate-bot Jan 7, 2026
f5c9699
fix(sitemap): chunk ecosystems oldest first (#4574)
michaelkedar Jan 7, 2026
b5376ea
fix: osv/repos.py: Skip gitter for oss-fuzz-vulns repo (#4577)
google-labs-jules[bot] Jan 8, 2026
1893e50
resolve conflict
kizuna-lek Jan 8, 2026
39fc2bf
fix lint
kizuna-lek Jan 8, 2026
86cc54f
fix
kizuna-lek Jan 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@497990dfed22177a82ba1bbab381bc8f6d27058f # v3.31.6
uses: github/codeql-action/init@45c373516f557556c15d420e3f5e0aa3d64366bc # v3.31.9
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -54,7 +54,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@497990dfed22177a82ba1bbab381bc8f6d27058f # v3.31.6
uses: github/codeql-action/autobuild@45c373516f557556c15d420e3f5e0aa3d64366bc # v3.31.9

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -68,4 +68,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@497990dfed22177a82ba1bbab381bc8f6d27058f # v3.31.6
uses: github/codeql-action/analyze@45c373516f557556c15d420e3f5e0aa3d64366bc # v3.31.9
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Set up poetry
run: poetry install
- name: Set up Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
with:
go-version: '>=1.23.6'
- name: Set up terraform
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@497990dfed22177a82ba1bbab381bc8f6d27058f # v3.31.6
uses: github/codeql-action/upload-sarif@45c373516f557556c15d420e3f5e0aa3d64366bc # v3.31.9
with:
sarif_file: results.sarif
2 changes: 1 addition & 1 deletion .github/workflows/snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
env:
OSV_API_BASE_URL: api.test.osv.dev
UPDATE_SNAPS: always
- uses: peter-evans/create-pull-request@84ae59a2cdc2258d6fa0732dd66352dddae2a412 # v7.0.9
- uses: peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7.0.11
with:
token: ${{ secrets.PR_TOKEN_BOT }}
title: "test: update apitester snapshots"
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ hurl-scripts/
temp/*
**/tmp/**
gcp/api/v1/osv/**

.DS_STORE
8 changes: 4 additions & 4 deletions bindings/go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ go 1.25.5

require (
github.com/google/go-cmp v0.7.0
github.com/ossf/osv-schema/bindings/go v0.0.0-20251209024518-c18cb6974477
github.com/ossf/osv-schema/bindings/go v0.0.0-20251230224438-88c48750ddae
golang.org/x/sync v0.18.0
google.golang.org/genproto/googleapis/api v0.0.0-20251213004720-97cd9d5aeac2
google.golang.org/genproto/googleapis/api v0.0.0-20251222181119-0a764e51fe1b
google.golang.org/grpc v1.77.0
)

require (
golang.org/x/net v0.46.1-0.20251013234738-63d1a5100f82 // indirect
golang.org/x/sys v0.37.0 // indirect
golang.org/x/text v0.30.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20251124214823-79d6a2a48846 // indirect
google.golang.org/protobuf v1.36.10
google.golang.org/genproto/googleapis/rpc v0.0.0-20251213004720-97cd9d5aeac2 // indirect
google.golang.org/protobuf v1.36.11
)
16 changes: 8 additions & 8 deletions bindings/go/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/ossf/osv-schema/bindings/go v0.0.0-20251209024518-c18cb6974477 h1:WjVFgFtgbxOVpC3ne8Xr3SPThuw+aYEEqWf5KRTiTfg=
github.com/ossf/osv-schema/bindings/go v0.0.0-20251209024518-c18cb6974477/go.mod h1:Eo7R19vlnflsCRdHW1ynyNUyoRwxdaTmTWD9MtKnJTc=
github.com/ossf/osv-schema/bindings/go v0.0.0-20251230224438-88c48750ddae h1:nvfTerE/hSYc/TQ3JUZYeL7DuVhjPkBeOGxicPzoJmc=
github.com/ossf/osv-schema/bindings/go v0.0.0-20251230224438-88c48750ddae/go.mod h1:Eo7R19vlnflsCRdHW1ynyNUyoRwxdaTmTWD9MtKnJTc=
go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64=
go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y=
go.opentelemetry.io/otel v1.38.0 h1:RkfdswUDRimDg0m2Az18RKOsnI8UDzppJAtj01/Ymk8=
Expand All @@ -32,11 +32,11 @@ golang.org/x/text v0.30.0 h1:yznKA/E9zq54KzlzBEAWn1NXSQ8DIp/NYMy88xJjl4k=
golang.org/x/text v0.30.0/go.mod h1:yDdHFIX9t+tORqspjENWgzaCVXgk0yYnYuSZ8UzzBVM=
gonum.org/v1/gonum v0.16.0 h1:5+ul4Swaf3ESvrOnidPp4GZbzf0mxVQpDCYUQE7OJfk=
gonum.org/v1/gonum v0.16.0/go.mod h1:fef3am4MQ93R2HHpKnLk4/Tbh/s0+wqD5nfa6Pnwy4E=
google.golang.org/genproto/googleapis/api v0.0.0-20251213004720-97cd9d5aeac2 h1:7LRqPCEdE4TP4/9psdaB7F2nhZFfBiGJomA5sojLWdU=
google.golang.org/genproto/googleapis/api v0.0.0-20251213004720-97cd9d5aeac2/go.mod h1:+rXWjjaukWZun3mLfjmVnQi18E1AsFbDN9QdJ5YXLto=
google.golang.org/genproto/googleapis/rpc v0.0.0-20251124214823-79d6a2a48846 h1:Wgl1rcDNThT+Zn47YyCXOXyX/COgMTIdhJ717F0l4xk=
google.golang.org/genproto/googleapis/rpc v0.0.0-20251124214823-79d6a2a48846/go.mod h1:7i2o+ce6H/6BluujYR+kqX3GKH+dChPTQU19wjRPiGk=
google.golang.org/genproto/googleapis/api v0.0.0-20251222181119-0a764e51fe1b h1:uA40e2M6fYRBf0+8uN5mLlqUtV192iiksiICIBkYJ1E=
google.golang.org/genproto/googleapis/api v0.0.0-20251222181119-0a764e51fe1b/go.mod h1:Xa7le7qx2vmqB/SzWUBa7KdMjpdpAHlh5QCSnjessQk=
google.golang.org/genproto/googleapis/rpc v0.0.0-20251213004720-97cd9d5aeac2 h1:2I6GHUeJ/4shcDpoUlLs/2WPnhg7yJwvXtqcMJt9liA=
google.golang.org/genproto/googleapis/rpc v0.0.0-20251213004720-97cd9d5aeac2/go.mod h1:7i2o+ce6H/6BluujYR+kqX3GKH+dChPTQU19wjRPiGk=
google.golang.org/grpc v1.77.0 h1:wVVY6/8cGA6vvffn+wWK5ToddbgdU3d8MNENr4evgXM=
google.golang.org/grpc v1.77.0/go.mod h1:z0BY1iVj0q8E1uSQCjL9cppRj+gnZjzDnzV0dHhrNig=
google.golang.org/protobuf v1.36.10 h1:AYd7cD/uASjIL6Q9LiTjz8JLcrh/88q5UObnmY3aOOE=
google.golang.org/protobuf v1.36.10/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE=
google.golang.org/protobuf v1.36.11/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
16 changes: 16 additions & 0 deletions deployment/build-and-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,20 @@ steps:
args: ['push', '--all-tags', 'gcr.io/oss-vdb/relations']
waitFor: ['build-relations', 'cloud-build-queue']

- name: 'gcr.io/cloud-builders/docker'
entrypoint: 'bash'
args: ['-c', 'docker pull gcr.io/oss-vdb/generatesitemap:latest || exit 0']
id: 'pull-generatesitemap'
waitFor: ['setup']
- name: gcr.io/cloud-builders/docker
args: ['build', '-t', 'gcr.io/oss-vdb/generatesitemap:latest', '-t', 'gcr.io/oss-vdb/generatesitemap:$COMMIT_SHA', '-f', 'cmd/generatesitemap/Dockerfile', '--cache-from', 'gcr.io/oss-vdb/generatesitemap:latest', '--pull', '.']
dir: 'go'
id: 'build-generatesitemap'
waitFor: ['pull-generatesitemap']
- name: gcr.io/cloud-builders/docker
args: ['push', '--all-tags', 'gcr.io/oss-vdb/generatesitemap']
waitFor: ['build-generatesitemap', 'cloud-build-queue']

- name: 'gcr.io/cloud-builders/docker'
entrypoint: 'bash'
args: ['-c', 'docker pull gcr.io/oss-vdb/custommetrics:latest || exit 0']
Expand Down Expand Up @@ -372,6 +386,7 @@ steps:
record-checker=gcr.io/oss-vdb/record-checker:$COMMIT_SHA,\
custommetrics=gcr.io/oss-vdb/custommetrics:$COMMIT_SHA,\
relations=gcr.io/oss-vdb/relations:$COMMIT_SHA,\
generatesitemap=gcr.io/oss-vdb/generatesitemap:$COMMIT_SHA,\
gitter=gcr.io/oss-vdb/gitter:$COMMIT_SHA"
]
dir: deployment/clouddeploy/gke-workers
Expand Down Expand Up @@ -432,4 +447,5 @@ images:
- 'gcr.io/oss-vdb/record-checker:$COMMIT_SHA'
- 'gcr.io/oss-vdb/custommetrics:$COMMIT_SHA'
- 'gcr.io/oss-vdb/relations:$COMMIT_SHA'
- 'gcr.io/oss-vdb/generatesitemap:$COMMIT_SHA'
- 'gcr.io/oss-vdb/gitter:$COMMIT_SHA'
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ spec:
spec:
containers:
- name: generate-sitemap-cron
image: cron
image: generatesitemap
imagePullPolicy: Always
command: ["/usr/local/bin/generate_sitemap/generate_and_upload.sh"]
resources:
requests:
cpu: "1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ spec:
containers:
- name: generate-sitemap-cron
env:
- name: BASE_URL
value: "https://test.osv.dev"
- name: GOOGLE_CLOUD_PROJECT
value: oss-vdb-test
- name: OUTPUT_GCS_BUCKET
value: test-osv-dev-sitemap
args:
- "--base-url=https://test.osv.dev"
- "--osv-vulns-bucket=osv-test-vulnerabilities"
- "--upload-to-gcs=true"
- "--bucket=test-osv-dev-sitemap"

Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ spec:
containers:
- name: generate-sitemap-cron
env:
- name: BASE_URL
value: "https://osv.dev"
- name: GOOGLE_CLOUD_PROJECT
value: oss-vdb
- name: OUTPUT_GCS_BUCKET
value: osv-dev-sitemap
args:
- "--base-url=https://osv.dev"
- "--osv-vulns-bucket=osv-vulnerabilities"
- "--upload-to-gcs=true"
- "--bucket=osv-dev-sitemap"

4 changes: 2 additions & 2 deletions docker/terraform/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Taken and modified from https://github.com/GoogleCloudPlatform/cloud-builders-community/tree/master/terraform

FROM golang:1.25.5-alpine@sha256:26111811bc967321e7b6f852e914d14bede324cd1accb7f81811929a6a57fea9 AS GO_BUILD
FROM golang:1.25.5-alpine@sha256:ac09a5f469f307e5da71e766b0bd59c9c49ea460a528cc3e6686513d64a6f1fb AS GO_BUILD

ARG TERRAFORM_VERSION
WORKDIR /build/
RUN GOBIN=$(pwd) go install github.com/hashicorp/terraform@v${TERRAFORM_VERSION}

FROM gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine@sha256:09ca9257eea270001fdb49b0b176c0e3018c6858d83e085835c1ef700a457a5d
FROM gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine@sha256:4bac65aa40d61f285b5c08452467c24f50ba68d9d0a2c36089b2cf8372cc4b49

COPY --from=GO_BUILD /build/terraform /usr/bin/terraform
COPY entrypoint.bash /builder/entrypoint.bash
Expand Down
2 changes: 2 additions & 0 deletions docs/rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ To contribute, we will need to know the following information:
```
The endpoint may contain more information, but at a minimum it must contain the ID and modified date of each vulnerability.

This endpoints must be configured to allow both HEAD and GET requests, with Last-Modified metadata provided to reduce unnecessary requests and traffic.

### 2. The base url of the endpoints:
This is the base url for which the full, individual vulnerability endpoints will be appended to.

Expand Down
2 changes: 1 addition & 1 deletion gcp/api/googleapis
Submodule googleapis updated 49 files
+1,154 −43 api-index-v1.json
+14 −4 google/ai/generativelanguage/v1/generative_service.proto
+1 −0 google/ai/generativelanguage/v1beta/BUILD.bazel
+62 −0 google/ai/generativelanguage/v1beta/content.proto
+72 −2 google/ai/generativelanguage/v1beta/generative_service.proto
+4 −0 google/cloud/aiplatform/v1/custom_job.proto
+47 −34 google/cloud/aiplatform/v1/machine_resources.proto
+48 −4 google/cloud/aiplatform/v1beta1/tool.proto
+3 −0 google/cloud/alloydb/v1alpha/resources.proto
+3 −0 google/cloud/alloydb/v1beta/resources.proto
+15 −0 google/cloud/apiregistry/BUILD.bazel
+388 −0 google/cloud/apiregistry/v1beta/BUILD.bazel
+81 −0 google/cloud/apiregistry/v1beta/cloudapiregistry_v1beta.yaml
+18 −0 google/cloud/apiregistry/v1beta/cloudapiregistry_v1beta_grpc_service_config.json
+37 −0 google/cloud/apiregistry/v1beta/common.proto
+126 −0 google/cloud/apiregistry/v1beta/resources.proto
+169 −0 google/cloud/apiregistry/v1beta/service.proto
+6 −8 google/cloud/bigquery/reservation/v1/reservation.proto
+29 −0 google/cloud/bigquery/v2/external_data_config.proto
+3 −0 google/cloud/bigquery/v2/job_stats.proto
+2 −2 google/cloud/compute/v1/compute.config.json
+32 −2 google/cloud/compute/v1/compute.proto
+56 −2 google/cloud/compute/v1/compute.v1.json
+1 −1 google/cloud/compute/v1/compute_gapic.yaml
+2 −2 google/cloud/compute/v1beta/compute.config.json
+60 −17 google/cloud/compute/v1beta/compute.proto
+60 −4 google/cloud/compute/v1beta/compute.v1beta.json
+1 −1 google/cloud/compute/v1beta/compute_gapic.yaml
+21 −9 google/cloud/databasecenter/v1beta/BUILD.bazel
+4 −0 google/cloud/databasecenter/v1beta/databasecenter_v1beta.yaml
+6 −1 google/cloud/databasecenter/v1beta/databasecenter_v1beta_grpc_service_config.json
+41 −0 google/cloud/databasecenter/v1beta/machine_config.proto
+102 −0 google/cloud/databasecenter/v1beta/maintenance.proto
+83 −0 google/cloud/databasecenter/v1beta/metric_data.proto
+52 −0 google/cloud/databasecenter/v1beta/operation_error_type.proto
+340 −3 google/cloud/databasecenter/v1beta/service.proto
+786 −0 google/cloud/databasecenter/v1beta/signals.proto
+49 −0 google/cloud/databasecenter/v1beta/suspension_reason.proto
+50 −0 google/cloud/geminidataanalytics/v1beta/context.proto
+0 −32 google/cloud/geminidataanalytics/v1beta/data_chat_service.proto
+1 −13 google/cloud/maintenance/api/v1/maintenance_service.proto
+1 −1 google/cloud/maintenance/api/v1/maintenance_v1.yaml
+14 −25 google/cloud/maintenance/api/v1/maintenance_v1_grpc_service_config.json
+0 −1 google/cloud/speech/v2/BUILD.bazel
+27 −21 google/cloud/speech/v2/cloud_speech.proto
+1 −1 google/devtools/artifactregistry/v1/service.proto
+6 −0 google/devtools/artifactregistry/v1/version.proto
+6 −0 google/pubsub/v1/pubsub.proto
+70 −3 google/spanner/admin/instance/v1/spanner_instance_admin.proto
24 changes: 12 additions & 12 deletions gcp/api/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading