Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/integrations-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
nix_path: nixpkgs=channel:nixos-25.05
extra_nix_config: "build-users-group = nixbld"

- name: Debugging information
Expand Down
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# FOSSA CLI Changelog

## Unreleased

- Updates the `fossa test` output to include severity data on supported FOSSA instances ([#1562](https://github.com/fossas/fossa-cli/pull/1562))

## 3.10.12

- PNPM: Initial support for lockfile version 9.0 ([#1561](https://github.com/fossas/fossa-cli/pull/1561))
Expand Down
7 changes: 5 additions & 2 deletions src/Fossa/API/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ instance Pretty IssueType where

data Issue = Issue
{ issueId :: Int
, issuePriorityString :: Maybe Text -- we only use this field for `fossa test --json`
, issuePriorityString :: Maybe Text
, issueResolved :: Bool
, issueRevisionId :: Text
, issueType :: IssueType
Expand Down Expand Up @@ -785,7 +785,10 @@ renderedIssues issues = rendered
IssueUnlicensedAndPublicDep -> "Unlicensed dependency detected in " <> nameRevision
IssuePolicyFlag -> issuePolicyFlagMessage
IssuePolicyConflict -> issuePolicyConflictMessage
IssueVulnerability -> "Critical vulnerability detected on " <> nameRevision
IssueVulnerability ->
case issuePriorityString of
Just priority -> Text.toTitle priority <> " vulnerability was detected on " <> nameRevision
Nothing -> "A vulnerability was detected on " <> nameRevision
IssueUnlicensedDependency -> "Unlicensed dependency detected in " <> nameRevision
IssueOutdatedDependency -> "Outdated dependency detected in " <> nameRevision
IssueOther t -> t
Expand Down
Loading