scorecard/checks/evaluation
AdamKorcz 1c3d9eb6e7
🌱 Migrate Maintained check to probes (#3507)
* 🌱 Migrate Maintained check to probes

Signed-off-by: AdamKorcz <adam@adalogics.com>

* fix typos

Signed-off-by: AdamKorcz <adam@adalogics.com>

* rename 'archived' probe to 'notArchvied

Signed-off-by: AdamKorcz <adam@adalogics.com>

* remove part of comment

Signed-off-by: AdamKorcz <adam@adalogics.com>

* fix typo

Signed-off-by: AdamKorcz <adam@adalogics.com>

* log negative findings

Signed-off-by: AdamKorcz <adam@adalogics.com>

* log non positive findings if repo was created less than 90 days ago

Signed-off-by: AdamKorcz <adam@adalogics.com>

* rename probe from 'activityOnIssuesByCollaboratorsMembersOrOwnersInLast90Days' to 'issueActivityByProjectMember'

Signed-off-by: AdamKorcz <adam@adalogics.com>

* change probe descriptions

Signed-off-by: AdamKorcz <adam@adalogics.com>

* rename 'wasCreatedInLast90Days' probe to 'notCreatedInLast90Days'

Signed-off-by: AdamKorcz <adam@adalogics.com>

* Add tests with zero issues

Signed-off-by: AdamKorcz <adam@adalogics.com>

* use values instead of returning multiple findings

Signed-off-by: AdamKorcz <adam@adalogics.com>

* return negative findings instead of non-positive

Signed-off-by: AdamKorcz <adam@adalogics.com>

* correct 'notCreatedInLast90Days' probe definition

Signed-off-by: AdamKorcz <adam@adalogics.com>

* make nested conditionals a single line

Signed-off-by: AdamKorcz <adam@adalogics.com>

* make nested conditionals a single line

Signed-off-by: AdamKorcz <adam@adalogics.com>

* change var name 'issuesUpdatedWithinThreshold' to 'numberOfIssuesUpdatedWithinThreshold'

Signed-off-by: AdamKorcz <adam@adalogics.com>

* rename 'notCreatedInLast90Days' to 'notCreatedRecently'

Signed-off-by: AdamKorcz <adam@adalogics.com>

* explain 'commitsWithinThreshold' in probe definition

Signed-off-by: AdamKorcz <adam@adalogics.com>

* rename 'commitsInLast90Days' to 'hasRecentCommits'" -s

Signed-off-by: AdamKorcz <adam@adalogics.com>

* fix linter issues

Signed-off-by: AdamKorcz <adam@adalogics.com>

* define 'numberOfIssuesUpdatedWithinThreshold'

Signed-off-by: AdamKorcz <adam@adalogics.com>

---------

Signed-off-by: AdamKorcz <adam@adalogics.com>
2023-11-17 09:57:10 -08:00
..
permissions 🐛 Fix loop aliasing errors causing linter to fail. (#3414) 2023-08-22 17:48:21 -07:00
binary_artifacts_test.go 🌱 enable nolintlint linter and fix violations (#3650) 2023-11-15 11:44:28 -08:00
binary_artifacts.go Structured results for permissions (#2584) 2023-01-30 18:41:36 -08:00
branch_protection_test.go Move "EnforcesAdmins" to tier 5 Branch-Protection (#3502) 2023-09-25 15:10:23 -04:00
branch_protection.go Move "EnforcesAdmins" to tier 5 Branch-Protection (#3502) 2023-09-25 15:10:23 -04:00
ci_tests_test.go 🌱 enable nolintlint linter and fix violations (#3650) 2023-11-15 11:44:28 -08:00
ci_tests.go 🌱 Unit tests for checks/ci_tests (#2899) 2023-04-25 16:43:31 +00:00
cii_best_practices_test.go 🌱 Included unit tests for CII Best practices (#2870) 2023-04-14 20:03:02 +00:00
cii_best_practices.go 📖 Tweak Best Practices badge description to clarify things (#2907) 2023-04-25 14:43:15 -07:00
code_review_test.go 🐛 Code Review: Use proportional scoring (#2882) 2023-06-14 15:13:20 +00:00
code_review.go 🌱 bump project minimum Go version to go1.21 (#3661) 2023-11-13 15:12:29 -08:00
contributors_test.go 🌱 Add probe support for contributors metrics (#3460) 2023-10-24 14:02:18 -07:00
contributors.go 🌱 Add probe support for contributors metrics (#3460) 2023-10-24 14:02:18 -07:00
dangerous_workflow_test.go 🌱 Convert Dangerous Workflow check to probes (#3521) 2023-11-06 21:43:03 +00:00
dangerous_workflow.go 🌱 Convert Dangerous Workflow check to probes (#3521) 2023-11-06 21:43:03 +00:00
dependency_update_tool_test.go 🌱 enable nolintlint linter and fix violations (#3650) 2023-11-15 11:44:28 -08:00
dependency_update_tool.go remove sonatype lift (#3605) 2023-10-24 20:46:57 -04:00
finding.go 🌱 convert vulnerabilities check to probe (#3487) 2023-10-25 10:02:24 -07:00
fuzzing_test.go ⚠️ Remove OneFuzz from fuzzing checks (#3666) 2023-11-13 10:35:29 -08:00
fuzzing.go ⚠️ Remove OneFuzz from fuzzing checks (#3666) 2023-11-13 10:35:29 -08:00
license_test.go 🌱 Add license probe (#3465) 2023-10-24 11:48:41 -07:00
license.go 🌱 Add license probe (#3465) 2023-10-24 11:48:41 -07:00
maintained_test.go 🌱 Migrate Maintained check to probes (#3507) 2023-11-17 09:57:10 -08:00
maintained.go 🌱 Migrate Maintained check to probes (#3507) 2023-11-17 09:57:10 -08:00
packaging_test.go 🌱 convert packaging check to probe (#3486) 2023-10-24 19:12:05 +00:00
packaging.go 🌱 convert packaging check to probe (#3486) 2023-10-24 19:12:05 +00:00
pinned_dependencies_test.go 🌱 enable nolintlint linter and fix violations (#3650) 2023-11-15 11:44:28 -08:00
pinned_dependencies.go 🌱 Add dependency remediation in raw results instead of at log time (#3632) 2023-11-09 10:32:06 -08:00
sast_test.go 🌱 Convert SAST check to probes (#3571) 2023-11-07 08:41:44 -05:00
sast.go 🌱 Convert SAST check to probes (#3571) 2023-11-07 08:41:44 -05:00
security_policy_test.go 🌱 enable nolintlint linter and fix violations (#3650) 2023-11-15 11:44:28 -08:00
security_policy.go checks/evaluation logs findings (#3409) 2023-09-12 15:28:06 +00:00
signed_releases_test.go 🌱 Unit tests checks/evaluation/signedrelease.go (#2921) 2023-05-04 12:04:55 +00:00
signed_releases.go 🌱 enable nolintlint linter and fix violations (#3650) 2023-11-15 11:44:28 -08:00
vulnerabilities_test.go 🌱 enable nolintlint linter and fix violations (#3650) 2023-11-15 11:44:28 -08:00
vulnerabilities.go 🌱 convert vulnerabilities check to probe (#3487) 2023-10-25 10:02:24 -07:00
webhooks_test.go 🌱 enable nolintlint linter and fix violations (#3650) 2023-11-15 11:44:28 -08:00
webhooks.go Structured results for permissions (#2584) 2023-01-30 18:41:36 -08:00