You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Create scorecards-analysis.yml
* Update README.md
Move Public Data section
Add placeholders for new installation organization, TODOs for public data section
* Update README.md
Remove outdated public data scoring system paragraph
* Update README.md
Add explanation of Scorecard Action install option and link out
* Update README.md
Add sentence introducing CLI installation section; move all heading down a level for that section
* Update README.md
Fix typo
* Update README.md
Remove comma
* Delete scorecards-analysis.yml file
Co-authored-by: Azeem Shaikh <azeemshaikh38@gmail.com>
file in this repository. If you would like us to track more, please feel free to
92
+
send a Pull Request with others. Currently, this list is derived from **projects hosted on GitHub
93
+
ONLY**. We do plan to expand them in near future to account for projects hosted
94
+
on other source control systems.
95
+
63
96
## Using Scorecards
97
+
### Scorecards GitHub Action
98
+
99
+
The easiest way to use Scorecards on GitHub projects you own is with the [Scorecards GitHub Action](https://github.com/ossf/scorecard-action). The Action runs on any repository change and issues alerts that maintainers can view in the repository’s Security tab. For more information, see the Scorecards GitHub Action [installation instructions](https://github.com/ossf/scorecard-action#installation).
64
100
65
-
### Prerequisites
101
+
### Scorecards Command Line Interface
102
+
To run a Scorecards scan on projects you do not own, use the command line interface installation option.
103
+
104
+
#### Prerequisites
66
105
67
106
Platforms: Currently, Scorecards supports OSX and Linux platforms. If you are using a Windows OS you may experience issues. Contributions towards supporting Windows are welcome.
68
107
69
108
Language: You must have GoLang installed to run Scorecards (https://golang.org/doc/install)
70
109
71
-
### Installation
110
+
####Installation
72
111
73
-
#### Standalone
112
+
#####Standalone
74
113
75
114
To install Scorecards as a standalone:
76
115
77
116
1. Visit our latest [release page](https://github.com/ossf/scorecard/releases/latest) and download the correct binary for your operating system
78
117
2. Extract the binary file
79
118
3. Add the binary to your `GOPATH/bin` directory (use `go env GOPATH` to identify your directory if necessary)
80
119
81
-
#### Using Homebrew
120
+
#####Using Homebrew
82
121
83
122
You can use [Homebrew](https://brew.sh/) (on macOS or Linux) to install Scorecards.
84
123
85
124
```sh
86
125
brew install scorecard
87
126
```
88
127
89
-
### Using Linux package managers
128
+
####Using Linux package managers
90
129
91
130
| Package Manager | Linux Distribution | Command |
|[AUR helper](https://wiki.archlinux.org/title/AUR_helpers)| Arch Linux | Use your AUR helper to install `scorecard`|
95
134
96
-
### Authentication
135
+
####Authentication
97
136
98
137
GitHub imposes [api rate limits](https://developer.github.com/v3/#rate-limiting) on unauthenticated requests. To avoid these limits, you must authenticate your requests before running Scorecard. There are two ways to authenticate your requests: either create a GitHub personal access token, or create a GitHub App Installation.
Each individual check returns a score of 0 to 10, with 10 representing the best possible score. Scorecards also produces an aggregate score, which is a weight-based average of the individual checks weighted by risk.
239
278
240
279
* “Critical” risk checks are weighted at 10
@@ -244,7 +283,7 @@ Each individual check returns a score of 0 to 10, with 10 representing the best
244
283
245
284
See the [list of current Scorecards checks](#scorecard-checks) for each check's risk level.
246
285
247
-
#### Showing Detailed Results
286
+
#####Showing Detailed Results
248
287
For more details about why a check fails, use the `--show-details` option:
For projects in the `--npm`, `--pypi`, or `--rubygems` ecosystems, you have the option to run Scorecards using a package manager. Provide the package name to run the checks on the corresponding GitHub source code.
284
323
285
324
For example, `--npm=angular`.
286
325
287
-
#### Running specific checks
326
+
#####Running specific checks
288
327
289
328
To run only specific check(s), add the `--checks` argument with a list of check
290
329
names.
291
330
292
331
For example, `--checks=CI-Tests,Code-Review`.
293
332
294
-
#### Formatting Results
333
+
#####Formatting Results
295
334
296
335
There are three formats currently: `default`, `json`, and `csv`. Others may be
297
336
added in the future.
298
337
299
338
These may be specified with the `--format` flag. For example, `--format=json`.
0 commit comments