1
0
Fork 0
mirror of https://github.com/imjasonh/bqrekor synced 2026-07-07 00:52:23 +00:00

update readme

Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
Jason Hall 2023-11-19 17:17:00 -06:00
parent c1c6d89fea
commit d35b9d1685
Failed to extract signature

View file

@ -2,4 +2,22 @@
Scraping Rekor into a BigQuery dataset
Work in progress
_WORK IN PROGRESS_
## Setup
```
terraform init
terraform apply
```
This will prompt for a Google Cloud project ID and region.
It will create:
* A BigQuery dataset and table called `rekor_logs`
* A Cloud Run Job that scrapes the Rekor API and write the results into a GCS object as JSON
* A Cloud Scheduler config to run the Cloud Run Job every 10 minutes
* A BigQuery Data Transfer config to load the GCS object into the BigQuery table on a schedule
The result is an automatically updating BigQuery table containing Rekor entries seen by the app.