@harnessio/react-ssca-manager-client 0.84.44 → 0.84.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  import { useQuery } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
6
  export function getSbomScoreDetailV2(props) {
7
- return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/orchestration/${props.orchestration}/sbom-score-detail`, method: 'GET' }, props));
7
+ return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/sbom-risk-score/${props.orchestration}/score-detail`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
10
  * Returns the detailed SBOM score v2 (sub-scores, weights, and applied cap rules) for the given orchestration, used by the SBOM sidecar.
@@ -53,7 +53,7 @@ export interface AffectedArtifactInfo {
53
53
  /**
54
54
  * Reason why remediation is not possible (only set when eligible=false)
55
55
  */
56
- remediation_ineligible_reason?: 'connector_invalid' | 'file_not_found' | 'no_file_path' | 'purl_invalid' | 'unknown_error' | 'unsupported_ecosystem';
56
+ remediation_ineligible_reason?: 'already_latest' | 'eol' | 'malicious' | 'transitive_dependency' | 'typosquatted' | 'unknown_dependency_type' | 'unknown_error' | 'unsupported_artifact_type';
57
57
  /**
58
58
  * URL of the created remediation pull request (present when status is PR_CREATED or REMEDIATED)
59
59
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.84.44",
3
+ "version": "0.84.45",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",