Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs for setting up a BQ client #417

Open
ianlewis opened this issue Jun 14, 2023 · 0 comments
Open

Docs for setting up a BQ client #417

ianlewis opened this issue Jun 14, 2023 · 0 comments

Comments

@ianlewis
Copy link

It seems that criticality_score tries to detect a project ID to execute BigQuery queries. It would be nice to have a bit of documentation that this is needed, and how to set it up.

2023-06-14 06:29:39.253 ERROR   Failed to create collector      {"error": "init deps.dev source: failed to create bigquery client: unable to detect projectID, please refer to docs for DetectProjectID"}                                                                                                                                                                  
main.main                                                                      
        /usr/local/google/home/ianlewis/go/pkg/mod/github.com/ossf/criticality_score@v1.0.8/cmd/criticality_score/main.go:160
runtime.main
        /usr/local/google/home/ianlewis/opt/go/src/runtime/proc.go:250
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant