@harnessio/react-ssca-manager-client 0.84.13 → 0.84.14

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.
@@ -21,7 +21,7 @@ export interface CodeRepositoriesListQueryQueryParams {
21
21
  */
22
22
  page?: number;
23
23
  /**
24
- * @default "last-scan"
24
+ * @default "last_scan"
25
25
  */
26
26
  sort?: 'compliance_results' | 'last_scan' | 'name';
27
27
  enforce_elasticsearch?: boolean;
@@ -495,6 +495,7 @@ export type { LicenseFamilyResponse } from './schemas/LicenseFamilyResponse';
495
495
  export type { LicenseFilter } from './schemas/LicenseFilter';
496
496
  export type { LicenseUsageResponse } from './schemas/LicenseUsageResponse';
497
497
  export type { ListIntegrationReposResponse } from './schemas/ListIntegrationReposResponse';
498
+ export type { MaliciousDetail } from './schemas/MaliciousDetail';
498
499
  export type { NameOperator } from './schemas/NameOperator';
499
500
  export type { NormalisedSbomComponentRequestBody } from './schemas/NormalisedSbomComponentRequestBody';
500
501
  export type { NormalizedSbomComponentDto } from './schemas/NormalizedSbomComponentDto';
@@ -1,6 +1,7 @@
1
1
  import type { DependencyType } from '../schemas/DependencyType';
2
2
  import type { LayerType } from '../schemas/LayerType';
3
3
  import type { StoIssueCount } from '../schemas/StoIssueCount';
4
+ import type { MaliciousDetail } from '../schemas/MaliciousDetail';
4
5
  import type { ComponentParent } from '../schemas/ComponentParent';
5
6
  import type { VulnerabilitySource } from '../schemas/VulnerabilitySource';
6
7
  export interface ArtifactComponentViewResponse {
@@ -49,13 +50,13 @@ export interface ArtifactComponentViewResponse {
49
50
  */
50
51
  license_family?: string;
51
52
  /**
52
- * Source of the malicious package
53
+ * Malicious package intelligence reports for the component (CVE identifiers are not included)
53
54
  */
54
- malicious_source?: string;
55
+ malicious_details?: MaliciousDetail[];
55
56
  /**
56
- * Summary of the OSS risks for the component
57
+ * Source of the malicious package
57
58
  */
58
- oss_risk_summary?: string;
59
+ malicious_source?: string;
59
60
  package_license?: string;
60
61
  package_manager?: string;
61
62
  package_name?: string;
@@ -7,5 +7,5 @@ export interface Integration {
7
7
  last_scan_at?: number;
8
8
  org?: string;
9
9
  status?: 'ACTIVE' | 'INACTIVE';
10
- type?: 'GITHUB' | 'HARNESS';
10
+ type?: 'BITBUCKET' | 'GITHUB' | 'HARNESS';
11
11
  }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * A single malicious package report without CVE identifiers
3
+ */
4
+ export interface MaliciousDetail {
5
+ /**
6
+ * Identifier of the malicious report
7
+ */
8
+ id?: string;
9
+ /**
10
+ * Publication time of the report if available
11
+ */
12
+ published_at?: string;
13
+ /**
14
+ * Summary text for the malicious report
15
+ */
16
+ summary?: string;
17
+ /**
18
+ * Title of the malicious report
19
+ */
20
+ title?: string;
21
+ /**
22
+ * URL for more information about the report
23
+ */
24
+ url?: string;
25
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -2,7 +2,15 @@ export interface OrchestrationOssRisksSummary {
2
2
  close_to_eol_component_count?: number;
3
3
  definite_eol_component_count?: number;
4
4
  derived_eol_component_count?: number;
5
+ /**
6
+ * Count of components identified as malicious packages
7
+ */
8
+ malicious_component_count?: number;
5
9
  outdated_component_count?: number;
6
10
  total_eol_component_count?: number;
11
+ /**
12
+ * Count of components identified as typosquatted packages
13
+ */
14
+ typosquatted_component_count?: number;
7
15
  unmaintained_component_count?: number;
8
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.84.13",
3
+ "version": "0.84.14",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",