Skip to content

Commit e3299cf

Browse files
committed
init readme
1 parent 7d5e4af commit e3299cf

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed

README.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
Security Risk Dashboard
2+
3+
`*alpha software*`
4+
5+
This is a simple dashboard that shows the security risk of open-source projects. Target audiences include:
6+
- Software Developers -> quickly evaluate the risk of OSS they plan to use in their product
7+
- Security Engineering Teams -> incorporate the rich set of metrics into their risk assessment process
8+
- Engineering Management -> understand ecosystem-wide risk and make informed decisions about OSS usage
9+
10+
The dashboard is customizable and incorporates data from the following sources (more to come):
11+
- OpenSSF Scorecard
12+
- Libraries.io
13+
- git
14+
- GitHub
15+
16+
Usage
17+
18+
`1.` raw data
19+
```
20+
$ dash generate --repo=github.com/project/repo --output=json
21+
22+
{
23+
"scorecard": { ... },
24+
"libraries_io": { ... },
25+
"git": { ... },
26+
"github": { ... }
27+
}
28+
```
29+
30+
`2.` dashboard
31+
```
32+
$ dash generate --repo=github.com/project/repo --output=html --config=dashboard.yaml
33+
```
34+
sample config file
35+
```
36+
dashboard:
37+
title: "Security Risk Dashboard"
38+
description: "This is a sample dashboard"
39+
shape:
40+
x: 4
41+
y: 4
42+
metrics:
43+
- source: scorecard
44+
attributes: # these are pulled from the raw json output; use jq syntax
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
62+
attributes:
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+
---------
82+
```

0 commit comments

Comments
 (0)