File tree Expand file tree Collapse file tree 1 file changed +40
-8
lines changed Expand file tree Collapse file tree 1 file changed +40
-8
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,47 @@ sample config file
36
36
dashboard:
37
37
title: "Security Risk Dashboard"
38
38
description: "This is a sample dashboard"
39
+ shape:
40
+ x: 4
41
+ y: 4
39
42
metrics:
40
- - name: "OpenSSF Scorecard"
43
+ - source: scorecard
41
44
attributes: # these are pulled from the raw json output; use jq syntax
42
- - path: .score
43
- component: card
44
- - path: .checks[0].{name: name, score: score}
45
- component: donut
46
- - name: "Libraries.io"
45
+ - name: A
46
+ path: .score
47
+ component:
48
+ - type: card
49
+ x0: 0
50
+ y0: 0
51
+ x: 2
52
+ y: 2
53
+ - name: B
54
+ path: .checks[0].{score: score}
55
+ component:
56
+ - type: donut
57
+ x0: 2
58
+ y0: 0
59
+ x: 2
60
+ y: 2
61
+ - source: libraries_io
47
62
attributes:
48
- - path: .checks[0].{value: values}
49
- component: card
63
+ - name: C
64
+ path: .checks[0].{value: values}
65
+ component:
66
+ - type: card
67
+ x0: 0
68
+ y0: 2
69
+ x: 4
70
+ y: 2
71
+ ```
72
+
73
+ corresponding view
74
+ ```
75
+ title
76
+ description
77
+ ---------
78
+ | A | B |
79
+ ---------
80
+ | C |
81
+ ---------
50
82
```
You can’t perform that action at this time.
0 commit comments