Skip to content

Conversation

@snyk-will
Copy link
Contributor

Add functionality to render license instructions in the human readable output.

https://snyksec.atlassian.net/browse/UNIFY-926

@snyk-io
Copy link

snyk-io bot commented Oct 8, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@snyk-will snyk-will force-pushed the feat/add_license_instructions branch from 1adf52a to 303557a Compare October 8, 2025 14:32
@snyk-will snyk-will marked this pull request as ready for review October 8, 2025 14:44
@snyk-will snyk-will requested review from a team as code owners October 8, 2025 14:44
@snyk-will snyk-will force-pushed the feat/add_license_instructions branch from 4f48c4d to b41c292 Compare October 9, 2025 08:31
@snyk-will snyk-will requested a review from klesniewski October 10, 2025 08:40
if inst.Content == "" {
continue
}
instructions = append(instructions, fmt.Sprintf(" %s for %s: %s", bulletPoint, inst.License, inst.Content))

Choose a reason for hiding this comment

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

From a quick look at the CLI screenshot here it looks like some of the text is bold, coloured etc., e.g. in this line everything from the bullet point to the colon is white and the text after is grey. Do we need to mirror this here? (The formatting might be happening elsewhere so I might be missing something)

Choose a reason for hiding this comment

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

Not sure how easy/hard it is to do and whether we even want it, just wondering out of curiosity

Copy link
Contributor Author

@snyk-will snyk-will Oct 14, 2025

Choose a reason for hiding this comment

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

yeah I don't think that's too hard to add, however, it looks like the other fields (reachability, risk score etc.) are not in bold so I don't want to have this as the only field that stands out. @paulrosca-snyk do you have any insight? I can see you working on reachability rendering atm

@snyk-will snyk-will merged commit 56ff848 into main Oct 15, 2025
9 checks 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.

4 participants