Skip to content

Commit efa20ac

Browse files
authored
Merge branch 'main' into patch-1
Signed-off-by: Jay White <[email protected]>
2 parents 285c48c + e3299cf commit efa20ac

File tree

1 file changed

+40
-8
lines changed

1 file changed

+40
-8
lines changed

README.md

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,47 @@ sample config file
3636
dashboard:
3737
title: "Security Risk Dashboard"
3838
description: "This is a sample dashboard"
39+
shape:
40+
x: 4
41+
y: 4
3942
metrics:
40-
- name: "OpenSSF Scorecard"
43+
- source: scorecard
4144
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
4762
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+
---------
5082
```

0 commit comments

Comments
 (0)