.github/workflows/osv-scanner-pr.yml → google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.ymlgrafana-kiosk
grafana-kiosk
Go Go Service P2 Nov 15, 2026
CI/CD Pipeline Docker Container Kubernetes API Surface Service Layer Frontend UI Database
| Primary Language | Go |
|---|---|
| Primary Framework | Go Service |
| Detected Frameworks | Go Service |
| Technology Stack | Go, CI/CD |
| Default Branch | main |
| Documentation Priority | P2 |
| Last Repository Scan | 11/15/2026, 5:12:22 AM |
| Source Repository | Open on GitHub |
grafana/grafana-kiosk — Workflow Hierarchy Overview
100%
Showing top-level workflow hierarchy. Click any workflow node or choose one above to inspect its job DAG.
5 Workflow(s)
7 Job(s)
8 Anti-Pattern(s)
1 Cross-Workflow Edge(s)
11/15/2026, 5:22:52 AM
Pipeline Anti-Patterns Detected
LOW NO_TIMEOUT
LOW NO_TIMEOUT
LOW NO_TIMEOUT
MEDIUM ARTIFACT_CREDENTIAL_PERSISTENCE
LOW NO_TIMEOUT
LOW NO_TIMEOUT
LOW NO_TIMEOUT
LOW NO_TIMEOUT
Cross-Workflow Triggers & Reusable Calls
Go38 Components
38 Files
4436 LoC
Avg CC: 00 OSV CVE(s)
0 Fitness Rule Alert(s)
grafana/grafana-kiosk — Module Architecture Tree
100%
Showing top-level module hierarchy (flowchart TD). Click any subfolder node or pill to traverse deeper.
Arc42 Architecture & Dependency Report
Repository Architecture Analysis: grafana/grafana-kiosk
Metadata
- SHA:
c5fa9c45a1b464069e836c96f832f793623de77f - Primary Ecosystem: Go
Quality Metrics
- ast_engine: fallback
- avg_cognitive_complexity: 0.0
- avg_cyclomatic_complexity: 0.0
- component_count: 38
- dead_code_count: 0
- dead_code_symbols: 0 entry(ies)
- duplication_pct: 0.0
- file_complexities: 0 entry(ies)
- files_analyzed: 38
- fitness_passed: True
- fitness_violation_count: 0
- framework: Go Service
- import_edges: 0 entry(ies)
- loc: 4436
- max_cognitive_complexity: 0
- max_cyclomatic_complexity: 0
- sloc: 3656
- test_file_count: 19
Architecture: grafana/grafana-kiosk
Context
- Repository:
grafana/grafana-kiosk - SHA:
c5fa9c45a1b464069e836c96f832f793623de77f - Ecosystem: Go
- Framework: Go Service
Building Block View
graph TD;
classDef atlasRoot fill:#004882,stroke:#a3c9ff,stroke-width:2px,color:#d3e4ff
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
classDef atlasAlert fill:#93000a,stroke:#ffb4ab,stroke-width:1.5px,color:#ffdad6
classDef atlasMore fill:#252a31,stroke:#8d9199,stroke-dasharray:4 4,color:#c3c6cf
repo_root(["grafana/grafana-kiosk (38 components)"]):::atlasRoot
subgraph sg_dir_0_pkg["pkg (37)"]
direction TB
dir_0_pkg["pkg (37)"]:::atlasCategory
sub_0_0_kiosk["kiosk (28)"]:::atlasWorkflow
dir_0_pkg --> sub_0_0_kiosk
sub_0_1_browser["browser (5)"]:::atlasWorkflow
dir_0_pkg --> sub_0_1_browser
sub_0_2_cmd["cmd (2)"]:::atlasWorkflow
dir_0_pkg --> sub_0_2_cmd
sub_0_more["+1 more submodules (2)"]:::atlasMore
dir_0_pkg --> sub_0_more
end
repo_root --> dir_0_pkg
dir_1__root_["(root) (1)"]:::atlasCategory
repo_root --> dir_1__root_
Component Details
- Magefile (
Magefile.go): module - browser (
pkg/browser/browser.go): module - chromedp (
pkg/browser/chromedp.go): module - chromedp_test (
pkg/browser/chromedp_test.go): module - mock (
pkg/browser/browsertest/mock.go): module - mock_test (
pkg/browser/browsertest/mock_test.go): module - main (
pkg/cmd/grafana-kiosk/main.go): module - main_test (
pkg/cmd/grafana-kiosk/main_test.go): module - lxde (
pkg/initialize/lxde.go): module - lxde_test (
pkg/initialize/lxde_test.go): module - utils (
pkg/kiosk/utils.go): module - utils_test (
pkg/kiosk/utils_test.go): module - config (
pkg/kiosk/config/config.go): module - anonymous_test (
pkg/kiosk/integration/anonymous_test.go): module - helpers_test (
pkg/kiosk/integration/helpers_test.go): module - local_test (
pkg/kiosk/integration/local_test.go): module - smoke_test (
pkg/kiosk/integration/smoke_test.go): module - anonymous (
pkg/kiosk/login/anonymous/anonymous.go): module - anonymous_test (
pkg/kiosk/login/anonymous/anonymous_test.go): module - apikey (
pkg/kiosk/login/apikey/apikey.go): module - apikey_test (
pkg/kiosk/login/apikey/apikey_test.go): module - aws (
pkg/kiosk/login/aws/aws.go): module - aws_test (
pkg/kiosk/login/aws/aws_test.go): module - azuread (
pkg/kiosk/login/azuread/azuread.go): module - azuread_test (
pkg/kiosk/login/azuread/azuread_test.go): module - gcom (
pkg/kiosk/login/gcom/gcom.go): module - gcom_test (
pkg/kiosk/login/gcom/gcom_test.go): module - goauth (
pkg/kiosk/login/goauth/goauth.go): module - goauth_test (
pkg/kiosk/login/goauth/goauth_test.go): module - idtoken (
pkg/kiosk/login/idtoken/idtoken.go): module - idtoken_test (
pkg/kiosk/login/idtoken/idtoken_test.go): module - local (
pkg/kiosk/login/local/local.go): module - local_test (
pkg/kiosk/login/local/local_test.go): module - browser_events (
pkg/kiosk/login/shared/browser_events.go): module - chromedp_utils (
pkg/kiosk/login/shared/chromedp_utils.go): module - chromedp_utils_test (
pkg/kiosk/login/shared/chromedp_utils_test.go): module - flow_utils (
pkg/kiosk/login/shared/flow_utils.go): module - flow_utils_test (
pkg/kiosk/login/shared/flow_utils_test.go): module
6-Dimension Repository Scorecard
- Overall Grade:
B(89.65/100) - Technical Debt Score: 10.35
- Estimated Remediation Effort: 7.09h
| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | A | 100.00 | 0.20 | avg_cc=0.00, max_cc=0, duplication=0.00%, dead_code=0 |
| Dependency Health | B | 85.00 | 0.15 | dependencies=80, outdated=0, vulnerable=0, has_lockfile=False |
| Maintainability | A | 100.00 | 0.15 | avg_cognitive=0.00, max_cognitive=0, fitness_violations=0, oversized_files=0 |
| Pipeline Health | B | 84.00 | 0.15 | workflows=5, operational_antipatterns=7, parallel_branches=True |
| Security | A | 94.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=1 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=True, test_files_detected=True |
Supply Chain Dependencies, Vulnerabilities & Secrets
- Dependencies Parsed: 80 | Vulnerabilities: 0 | Secrets: 0
Inventory Sample
github.com/chromedp/cdproto0.0.0-20260804232424-e85f50dbfd32(golang,go.mod)github.com/chromedp/chromedp0.16.0(golang,go.mod)github.com/ilyakaznacheev/cleanenv1.5.0(golang,go.mod)github.com/magefile/mage1.17.2(golang,go.mod)github.com/smartystreets/goconvey1.8.1(golang,go.mod)github.com/testcontainers/testcontainers-go0.44.0(golang,go.mod)google.golang.org/api0.297.0(golang,go.mod)cloud.google.com/go/auth0.23.2(golang,go.mod)cloud.google.com/go/auth/oauth2adapt0.2.8(golang,go.mod)cloud.google.com/go/compute/metadata0.9.0(golang,go.mod)dario.cat/mergo1.0.2(golang,go.mod)github.com/Azure/go-ansiterm0.0.0-20250102033503-faa5f7b0171c(golang,go.mod)github.com/BurntSushi/toml1.6.0(golang,go.mod)github.com/Microsoft/go-winio0.6.2(golang,go.mod)github.com/cenkalti/backoff/v44.3.0(golang,go.mod)github.com/cespare/xxhash/v22.3.0(golang,go.mod)github.com/chromedp/sysutil1.1.0(golang,go.mod)github.com/containerd/errdefs1.0.0(golang,go.mod)github.com/containerd/errdefs/pkg0.3.0(golang,go.mod)github.com/containerd/log0.1.0(golang,go.mod)github.com/containerd/platforms0.2.1(golang,go.mod)github.com/cpuguy83/dockercfg0.3.2(golang,go.mod)github.com/distribution/reference0.6.0(golang,go.mod)github.com/docker/go-connections0.8.1(golang,go.mod)github.com/docker/go-units0.5.0(golang,go.mod)github.com/ebitengine/purego0.11.0(golang,go.mod)github.com/felixge/httpsnoop1.1.0(golang,go.mod)github.com/go-json-experiment/json0.0.0-20260820222146-c27c302e5fc3(golang,go.mod)github.com/go-logr/logr1.4.4(golang,go.mod)github.com/go-logr/stdr1.2.2(golang,go.mod)- … (+50 more dependencies)
Section 7: Code-to-Cloud Deployment Traceability
flowchart LR
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
subgraph code_modules["Code Modules"]
mod_0012e551_6fc9_4d7f_94d0_418d01692947["0012e551-6fc9-4d7f-94d0-418d01692947"]:::atlasCategory
end
subgraph ci_jobs["CI/CD Jobs"]
job_ci_yml_actionlint["ci.yml#actionlint"]:::atlasJob
job_ci_yml_build["ci.yml#build"]:::atlasJob
job_ci_yml_integration["ci.yml#integration"]:::atlasJob
job_cspell_yml_cspell["cspell.yml#cspell"]:::atlasJob
job_markdownlint_yml_markdownlint["markdownlint.yml#markdownlint"]:::atlasJob
job_osv_scanner_pr_yml_scan_pr["osv-scanner-pr.yml#scan-pr"]:::atlasJob
job_stale_yml_stale["stale.yml#stale"]:::atlasJob
end
mod_0012e551_6fc9_4d7f_94d0_418d01692947 -->|BUILT_BY| job_ci_yml_actionlint
mod_0012e551_6fc9_4d7f_94d0_418d01692947 -->|BUILT_BY| job_ci_yml_build
mod_0012e551_6fc9_4d7f_94d0_418d01692947 -->|BUILT_BY| job_ci_yml_integration
mod_0012e551_6fc9_4d7f_94d0_418d01692947 -->|BUILT_BY| job_cspell_yml_cspell
mod_0012e551_6fc9_4d7f_94d0_418d01692947 -->|BUILT_BY| job_markdownlint_yml_markdownlint
mod_0012e551_6fc9_4d7f_94d0_418d01692947 -->|BUILT_BY| job_osv_scanner_pr_yml_scan_pr
mod_0012e551_6fc9_4d7f_94d0_418d01692947 -->|BUILT_BY| job_stale_yml_stale
0012e551-6fc9-4d7f-94d0-418d01692947(code_module) —[BUILT_BY]—>ci.yml#actionlint(ci_job)0012e551-6fc9-4d7f-94d0-418d01692947(code_module) —[BUILT_BY]—>ci.yml#build(ci_job)0012e551-6fc9-4d7f-94d0-418d01692947(code_module) —[BUILT_BY]—>ci.yml#integration(ci_job)0012e551-6fc9-4d7f-94d0-418d01692947(code_module) —[BUILT_BY]—>cspell.yml#cspell(ci_job)0012e551-6fc9-4d7f-94d0-418d01692947(code_module) —[BUILT_BY]—>markdownlint.yml#markdownlint(ci_job)0012e551-6fc9-4d7f-94d0-418d01692947(code_module) —[BUILT_BY]—>osv-scanner-pr.yml#scan-pr(ci_job)0012e551-6fc9-4d7f-94d0-418d01692947(code_module) —[BUILT_BY]—>stale.yml#stale(ci_job)
CI/CD Pipeline Topology
graph TD;
classDef atlasRoot fill:#004882,stroke:#a3c9ff,stroke-width:2px,color:#d3e4ff
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
classDef atlasAlert fill:#93000a,stroke:#ffb4ab,stroke-width:1.5px,color:#ffdad6
classDef atlasMore fill:#252a31,stroke:#8d9199,stroke-dasharray:4 4,color:#c3c6cf
pipeline_root(["grafana/grafana-kiosk (5 workflows)"]):::atlasRoot
subgraph sg_grp_0_CI___Verification["CI & Verification (3 workflows · 3 jobs)"]
direction TB
subgraph sg_wf_1_Spell_Check["Spell Check (1 jobs)"]
direction TB
wf_1_Spell_Check(["Trigger: Spell Check"]):::atlasWorkflow
job_1_cspell["cspell"]:::atlasJob
wf_1_Spell_Check --> job_1_cspell
end
pipeline_root --> wf_1_Spell_Check
subgraph sg_wf_2_Markdown_Lint["Markdown Lint (1 jobs)"]
direction TB
wf_2_Markdown_Lint(["Trigger: Markdown Lint"]):::atlasWorkflow
job_2_markdownlint["markdownlint"]:::atlasJob
wf_2_Markdown_Lint --> job_2_markdownlint
end
pipeline_root --> wf_2_Markdown_Lint
subgraph sg_wf_3_OSV_Scanner_PR_Scan["OSV-Scanner PR Scan (1 jobs)"]
direction TB
wf_3_OSV_Scanner_PR_Scan(["Trigger: OSV-Scanner PR Scan"]):::atlasWorkflow
job_3_scan_pr["scan-pr"]:::atlasJob
wf_3_OSV_Scanner_PR_Scan --> job_3_scan_pr
end
pipeline_root --> wf_3_OSV_Scanner_PR_Scan
end
subgraph sg_grp_1_Scheduled___Manual["Scheduled & Manual (1 workflows · 3 jobs)"]
direction TB
subgraph sg_wf_0_Build["Build (3 jobs)"]
direction TB
wf_0_Build(["Trigger: Build"]):::atlasWorkflow
job_0_actionlint["actionlint"]:::atlasJob
job_0_build["build"]:::atlasJob
job_0_integration["integration"]:::atlasJob
wf_0_Build --> job_0_actionlint
wf_0_Build --> job_0_build
job_0_build --> job_0_integration
end
pipeline_root --> wf_0_Build
end
subgraph sg_grp_2_Security___Governance["Security & Governance (1 workflows · 1 jobs)"]
direction TB
subgraph sg_wf_4_Close_stale_issues_and_PRs["Close stale issues and PRs (1 jobs)"]
direction TB
wf_4_Close_stale_issues_and_PRs(["Trigger: Close stale issues and PRs"]):::atlasWorkflow
job_4_stale["stale"]:::atlasJob
wf_4_Close_stale_issues_and_PRs --> job_4_stale
end
pipeline_root --> wf_4_Close_stale_issues_and_PRs
endB
Technical Debt10.3
Remediation Effort7.1h
Dependencies80
OSV Findings0
Score Trend (Repository)
2 snapshot(s)
6-Dimension Scorecard Breakdown
Code Quality
Weight 20%100.0
avg_cc=0.00, max_cc=0, duplication=0.00%, dead_code=0
Security
Weight 20%94.0
vulnerabilities=0, secrets=0, pipeline_security_findings=1
Maintainability
Weight 15%100.0
avg_cognitive=0.00, max_cognitive=0, fitness_violations=0, oversized_files=0
Test Coverage
Weight 15%70.0
coverage=unavailable, ci_test_job=True, test_files_detected=True
Dependency Health
Weight 15%85.0
dependencies=80, outdated=0, vulnerable=0, has_lockfile=False
Pipeline Health
Weight 15%84.0
workflows=5, operational_antipatterns=7, parallel_branches=True
Module Complexity & Quality Heatmap
Duplication: 0.00%
Dead Code: 0
No per-file complexity hotspots recorded in this report.
Architectural Fitness Rules
All architectural boundary, cycle, and complexity thresholds passed.
Supply-Chain Dependencies & OSV Vulnerabilities
80 Dependencies
0 OSV Vulnerabilities
No known OSV vulnerabilities detected across 80 parsed dependencies.
Redacted Secret Findings
No hardcoded secret patterns detected.
Code-to-Cloud & Workspace Packages
0 Workspace Package(s)
7 Code-to-Cloud Edge(s)
Workspace Packages
Single-package repository or no monorepo workspace manifests.
Code-to-Cloud Traceability Links
0012e551-6fc9-4d7f-94d0-418d01692947(code_module)BUILT_BYci.yml#actionlint(ci_job)
0012e551-6fc9-4d7f-94d0-418d01692947(code_module)BUILT_BYci.yml#build(ci_job)
0012e551-6fc9-4d7f-94d0-418d01692947(code_module)BUILT_BYci.yml#integration(ci_job)
0012e551-6fc9-4d7f-94d0-418d01692947(code_module)BUILT_BYcspell.yml#cspell(ci_job)
0012e551-6fc9-4d7f-94d0-418d01692947(code_module)BUILT_BYmarkdownlint.yml#markdownlint(ci_job)
0012e551-6fc9-4d7f-94d0-418d01692947(code_module)BUILT_BYosv-scanner-pr.yml#scan-pr(ci_job)
0012e551-6fc9-4d7f-94d0-418d01692947(code_module)BUILT_BYstale.yml#stale(ci_job)