Commit Graph

69 Commits

Author SHA1 Message Date
laurentsimon
b4e0ee2fe8
Start support for action on PR (#1085)
* changes

* fix

* fix

* fix

* comment

* bug
2021-09-29 01:03:30 +00:00
Naveen
6c537537ab
🌱 Reproducible go builds (#1083) 2021-09-28 22:02:58 +00:00
laurentsimon
ac6802e397
fixes (#1081) 2021-09-28 12:50:17 -07:00
laurentsimon
fb77e42da2
Per-check score threshold for SARIF (#1057)
* fixes

* fix
2021-09-23 23:55:41 +00:00
laurentsimon
5655cbb10d
Add aggregate score to cron JSON (#1050)
* change JSON cron

* linter

* linter

* comments
2021-09-22 17:00:08 -07:00
laurentsimon
39bd00c359
Add aggregated score (#1046)
* ag scores

* fix

* CSV and string

* comments

* updates

* changes

* fixes
2021-09-21 22:30:25 +00:00
laurentsimon
617820706c
Update cron's JSON format (#1001)
* JSON2 for cron

* fixes

* linter

* fix
2021-09-13 21:55:06 +00:00
Azeem Shaikh
bc37c74b28
Remove Owner/Repo strings from CheckRequest (#997)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-09-10 10:13:14 -07:00
Azeem Shaikh
e730e911e6
sce.Create -> sce.WithMessage for wrapcheck (#995)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-09-10 15:50:33 +00:00
laurentsimon
d6174dbe59
semantic version (#991) 2021-09-10 07:13:17 -07:00
laurentsimon
870db56814
Cleanup documentation code (#981)
* draft 1

* unit tests

* fix

* fixes

* fix

* mod

* comments

* fixes

* rename

* fix

* linter
2021-09-09 22:09:39 +00:00
neil465
5476b878bd
Removed unnecessary linters (#969)
* gomnd
* prealloc
* dupl
2021-09-07 10:45:12 -04:00
Azeem Shaikh
afe5b40567
Make RepoClient as default interface for Scorecard (#951)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-09-02 02:32:26 +00:00
laurentsimon
8f5e742e20
Improve JSON format (#934)
* support for verison

* fix

* fix

* linter

* typo

* fix
2021-09-01 17:29:40 +00:00
laurentsimon
bb6e010dc1
Decouple scorecard json from cron json (#941)
* decouple

* linnter
2021-08-31 15:27:29 -07:00
laurentsimon
788fd33222
Add JSON unit tests (#915)
* fix

* typo

* draft

* fixes

* typo

* add validator

* comments

* typo
2021-08-26 01:42:34 +00:00
laurentsimon
e083f04e4c
🐛 Fix date cron issue (#914)
* fix

* typo

* fix
2021-08-25 23:29:03 +00:00
laurentsimon
9eb7929ebc
🐛 Address friction logs' comments (#899)
* fixes

* fix

* fix

* fixes

* doc

* missing file

* fixes

* comments

* typo
2021-08-25 21:02:23 +00:00
Azeem Shaikh
41d0ce38c4
Replace errors.As with Is (#901)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-25 01:03:45 +00:00
Azeem Shaikh
46a655d405
Fixes for Branch Protection (#900)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-25 00:04:17 +00:00
laurentsimon
ad134ac30d
Add hash to results (JSON, SARIF) (#892)
* add hash to result

* add json file
2021-08-24 16:50:47 +00:00
laurentsimon
6403eb1382
Transition Packaging, SAST, Security-policy, Signed-releases check to the new structured detail format (#887)
* move checks to new format

* fix

* comments

* fix

* comments
2021-08-24 01:44:06 +00:00
laurentsimon
276155d1eb
SARIF 4: Add support to output SARIF format (#866)
* draft1

* draft2

* draft

* draft 3

* typos

* unit tests

* fixes

* fixes

* related locs

* fixes

* version

* fixes

* linter/fix

* fixes

* linter

* gofmt -s
2021-08-23 21:31:33 +00:00
laurentsimon
d1de6cf513
support v3 (#883) 2021-08-23 18:48:29 +00:00
laurentsimon
dbdcd4bea7
SARIF 1: add structured detail (#843)
* sarif-1

* comment

* typos

* comments

* comments

* typo

* typo

* fixes

* linter

* linter

* linter
2021-08-16 23:26:19 +00:00
laurentsimon
23764f0168
Upload cron results to a table with new format (#830)
* add json2 function

* asJSON2

* url2

* draft

* root

* tables and bucket

* fix

* comments

* new transfer instances

* comments

* rename files

* update k8 names

* typo

* fizes

* linter
2021-08-16 16:38:41 +00:00
Azeem Shaikh
b7ddc9ac93
Update go-github version for consistency (#852)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-13 00:43:22 +00:00
laurentsimon
6718939a08
Cleanup errors and log (#782)
* cleanup

* text

* add errors

* fixes

* more

* fixes

* linnter

* comments

* name
2021-08-02 22:38:42 +00:00
laurentsimon
9b2f3f5270
broken link to doc (#799)
* broken link

* main doc link
2021-08-02 14:33:17 -07:00
Azeem Shaikh
6368c25f54
More linter issues (#794)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-08-01 03:42:14 +00:00
Azeem Shaikh
83e9f52501
Enable revive linters which are used in google3 (#793)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-07-31 22:31:34 +00:00
laurentsimon
577061b5e3
enable score results by default (#788)
* enable v2

* linnter
2021-07-30 15:21:09 +00:00
Naveen
4d7fb5d748
🌱 Fix the go.mod with v2 upgrade (#716)
The go.mod and the related files weren't t updated with the v2 upgrade.

https://github.com/ossf/scorecard/issues/711

This fix will address the issue.
2021-07-26 13:01:25 -05:00
laurentsimon
89c8e2af31
[migration to score] 7: CI-Test, CII Best practices, security policy file (#733)
* ci, cii, sec file

* linter

* check doc

* typo

* fix

* comments

* linter

* fix sast

* fix score calc
2021-07-22 15:37:31 +00:00
laurentsimon
6f203e73b6
[migration to score] 4: active, fuzzing and code-review (#721)
* details-1

* nits

* typo

* commments

* dependabot and binary artifacts checks

* typo

* linter

* missing errors.go

* linter

* merge fix

* active, fuzzing and code review checks

* e2e tests for fuzzing

* fixes
2021-07-21 09:40:40 -07:00
laurentsimon
5e634c8945
[migration to score] 2: dependabot and binary artifact checks (#718)
* details-1

* nits

* typo

* commments

* dependabot and binary artifacts checks

* typo

* linter

* missing errors.go

* linter

* merge fix

* dates
2021-07-21 09:02:43 -07:00
laurentsimon
ab4bb60c9c
[migration to score] 1: create errors and new functions (#712)
* details-1

* comment

* doc

* nits

* typo

* commments

* nit

* linter
2021-07-20 11:36:35 -07:00
naveen
7afc0918e2 Table output for the results
* Included the table output in the default results
2021-07-08 20:00:13 -05:00
naveen
dcdb452a97 Sorted and grouped the output results
* Grouped the output results to pass and fail
* Sorted them by confidence
2021-07-06 06:57:49 -05:00
Azeem Shaikh
2d5c770ff3
Move repos.RepoResult -> pkg.ScorecardResult (#620)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-28 16:14:34 +10:00
laurentsimon
1829ee7600
🐛 Fix for e2e failures (#598)
* draft

* fixes

* linter

* disable parallel

* comments

* commments

* linter
2021-06-22 10:55:59 -07:00
Azeem Shaikh
7861478e1a
Add error handling to RunScorecard fn (#595)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-20 23:31:10 -07:00
Azeem Shaikh
bfe0169326
Check error type instead of value (#592)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-20 12:31:51 -07:00
Azeem Shaikh
db02490da4
50k cron repos and allow skipping 404 URLs (#591)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-18 16:00:08 -07:00
Azeem Shaikh
0b62c58704
Add v0 of RepoClient interface (#587)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-17 13:21:32 -07:00
Azeem Shaikh
88f645bb76
Add per-repo CPU stats (#562)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-06-09 14:18:40 -07:00
Chris McGehee
61ecad3151
Add new linter: gci (#498) 2021-05-23 20:51:52 -07:00
Azeem Shaikh
4584311fc6
Add monitoring to checks (#480)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-05-20 23:47:49 -07:00
Azeem Shaikh
37519d9672
Update RunScorecards API. (#461)
Co-authored-by: Azeem Shaikh <azeems@google.com>
2021-05-16 19:38:46 -07:00
Chris McGehee
6a7142fe21 Fix lint issues: golint linter 2021-05-02 14:49:40 -05:00