Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve report formatting #17

Merged
merged 2 commits into from
Apr 30, 2024
Merged

feat: improve report formatting #17

merged 2 commits into from
Apr 30, 2024

Conversation

yrobla
Copy link
Contributor

@yrobla yrobla commented Apr 30, 2024

Group dependencies by failed/succeeded, and add better formatting

Closes: #16

Group dependencies by failed/succeeded, and add better formatting

Closes: #16
@yrobla yrobla requested a review from lukehinds April 30, 2024 08:55
@yrobla
Copy link
Contributor Author

yrobla commented Apr 30, 2024

Sample report:

🐻 Trusty Dependency Analysis Action Report

🔴 Failed Dependency Checks

📦 bugsnagmw - 0.00

Malicious (This package is marked as Malicious. Proceed with extreme caution!) ❌

📉 Trusty Score: 0.00 ❌
Category Score Passed
Repo activity 0.00
Author activity 0.00
Provenance 5.00
Typosquatting 10.00
Proof of origin (Provenance)   Stacklok
Number of versions 0
Number of Git Tags/Releases 0
Number of versions matched to Git Tags/Releases 0

Learn more about source of origin provenance

Alternative Packages 💡
Package Score Trusty Link
rollbar 5.70 rollbar

📦 scriptoni - 4.40

Deprecated (This package is marked as Deprecated. Proceed with caution!) ❌
Archived (This package is marked as Archived. Proceed with caution!) ❌

📉 Trusty Score: 4.40 ❌
Category Score Passed
Repo activity 2.70
Author activity 6.20
Provenance 8.00
Typosquatting 10.00
Proof of origin (Provenance)   Stacklok
Number of versions 100
Number of Git Tags/Releases 96
Number of versions matched to Git Tags/Releases 90

Learn more about source of origin provenance

Alternative Packages 💡
Package Score Trusty Link
create-react-app 8.00 create-react-app
react-app-rewired 7.20 react-app-rewired
react-scripts 5.00 react-scripts
craco 3.50 craco

📦 notifyjs - 5.70

Archived (This package is marked as Archived. Proceed with caution!) ❌

📉 Trusty Score: 5.70 ✅
Category Score Passed
Repo activity 5.00
Author activity 6.40
Provenance 8.00
Typosquatting 10.00
Proof of origin (Provenance)   Stacklok
Number of versions 16
Number of Git Tags/Releases 16
Number of versions matched to Git Tags/Releases 13

Learn more about source of origin provenance

Alternative Packages 💡
Package Score Trusty Link
node-notifier 7.10 node-notifier

🟢 Successful Dependency Checks

📦 next - 9.30

📉 Trusty Score: 9.30 ✅
Category Score Passed
Repo activity 10.00
Author activity 8.60
Provenance 10.00
Typosquatting 10.00
Proof of origin (Provenance)   Sigstore

Built and signed with sigstore using GitHub Actions.

Source repo https://github.com/vercel/next.js
Github Action Workflow .github/workflows/build_and_deploy.yml
Issuer CN=sigstore-intermediate,O=sigstore.dev
Rekor Public Ledger https://search.sigstore.dev/?logIndex=88381843

Learn more about source of origin provenance

Alternative Packages 💡
Package Score Trusty Link
http-proxy 8.00 http-proxy
react-router 8.00 react-router
vue-router 5.00 vue-router
react-router-dom 5.00 react-router-dom

📦 react - 8.00

📉 Trusty Score: 8.00 ✅
Category Score Passed
Repo activity 10.00
Author activity 8.20
Provenance 8.00
Typosquatting 10.00
Proof of origin (Provenance)   Stacklok
Number of versions 1744
Number of Git Tags/Releases 136
Number of versions matched to Git Tags/Releases 69

Learn more about source of origin provenance

Alternative Packages 💡
Package Score Trusty Link
styled-components 8.00 styled-components
vue 8.00 vue
svelte 8.00 svelte
preact 7.80 preact
inferno 7.50 inferno

🌟 If you like this action, why not try out Minder, the secure supply chain platform. It has vastly more protections and is also free (as in 🍺) to opensource projects.

Copy link

@therealnb therealnb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good

@yrobla yrobla merged commit 6f7fb9c into main Apr 30, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Group dependencies by failed and succeeded
2 participants