Skip to content

Commit ed504ac

Browse files
authored
feat(linter): add a dashboard to display linter results (#3804)
This PR adds a new dashboard (osv.dev/linter) to display linter findings. <img width="1606" height="1240" alt="Screenshot From 2025-08-13 14-23-27" src="https://github.com/user-attachments/assets/8379d722-b674-4e93-bd2a-e34a49285c46" /> <img width="1606" height="1240" alt="Screenshot From 2025-08-13 14-23-39" src="https://github.com/user-attachments/assets/8a27e833-90c4-44e2-9aec-24cf18074d56" />
1 parent db6cf91 commit ed504ac

File tree

7 files changed

+1049
-4
lines changed

7 files changed

+1049
-4
lines changed

deployment/terraform/modules/osv/main.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ resource "google_storage_bucket" "osv_public_import_logs" {
8787
versioning {
8888
enabled = true
8989
}
90+
91+
# Add this CORS configuration for linter
92+
cors {
93+
origin = ["*"]
94+
method = ["GET"]
95+
response_header = ["Content-Type"]
96+
max_age_seconds = 3600
97+
}
9098
}
9199

92100
resource "google_storage_bucket" "osv_vulnerabilities_export" {

0 commit comments

Comments
 (0)