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:
parent
c1c6d89fea
commit
d35b9d1685
1 changed files with 19 additions and 1 deletions
20
README.md
20
README.md
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue