@harnessio/react-ssca-manager-client 0.11.0 → 0.13.0

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.
@@ -32,3 +32,4 @@ export type { ComponentFilter } from './schemas/ComponentFilter';
32
32
  export type { LicenseFilter } from './schemas/LicenseFilter';
33
33
  export type { Operator } from './schemas/Operator';
34
34
  export type { PolicyViolation } from './schemas/PolicyViolation';
35
+ export type { Slsa } from './schemas/Slsa';
@@ -1,5 +1,5 @@
1
1
  export interface ArtifactDeploymentViewRequestBody {
2
2
  environment?: string;
3
3
  environment_type?: 'NonProd' | 'Prod';
4
- policy_violation?: 'ALLOW' | 'DENY';
4
+ policy_violation?: 'ALLOW' | 'ANY' | 'DENY' | 'NONE';
5
5
  }
@@ -1,12 +1,9 @@
1
+ import type { Slsa } from '../schemas/Slsa';
1
2
  export interface ArtifactDeploymentViewResponse {
2
3
  /**
3
4
  * Allow list type policy violation count
4
5
  */
5
6
  allow_list_violation_count?: string;
6
- /**
7
- * Attestation status of the artifact
8
- */
9
- attested_status?: 'FAIL' | 'PASS';
10
7
  /**
11
8
  * Deny list type policy violation count
12
9
  */
@@ -43,16 +40,7 @@ export interface ArtifactDeploymentViewResponse {
43
40
  * Pipeline Sequence id of deployment pipeline
44
41
  */
45
42
  pipeline_sequence_id?: string;
46
- /**
47
- * Provenance Data of the artifact
48
- */
49
- provenance_artifact?: {
50
- [key: string]: any;
51
- };
52
- /**
53
- * SLSA verification status of the artifact
54
- */
55
- slsa_policy_outcome_status?: string;
43
+ slsa_verification?: Slsa;
56
44
  /**
57
45
  * Time of trigger of the deployment pipeline
58
46
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -1,13 +1,50 @@
1
1
  export interface ArtifactDetailResponse {
2
+ /**
3
+ * Pipeline execution id of build pipeline used to orchestrate the artifact
4
+ */
2
5
  build_pipeline_execution_id?: string;
6
+ /**
7
+ * Pipeline id of build pipeline used to orchestrate the artifact
8
+ */
3
9
  build_pipeline_id?: string;
10
+ /**
11
+ * Pipeline name of build pipeline used to orchestrate the artifact
12
+ */
13
+ build_pipeline_name?: string;
14
+ /**
15
+ * Count of the normalized components within the artifact
16
+ */
4
17
  components_count?: number;
18
+ /**
19
+ * Artifact Identifier
20
+ */
5
21
  id: string;
22
+ /**
23
+ * Name of the artifact
24
+ */
6
25
  name: string;
26
+ /**
27
+ * Count of pre-production env in which artifact is deploye
28
+ */
7
29
  non_prod_env_count?: number;
30
+ /**
31
+ * Orchestration step identifier
32
+ */
8
33
  orchestration_id?: string;
34
+ /**
35
+ * Count of production env in which artifact is deployed
36
+ */
9
37
  prod_env_count?: number;
38
+ /**
39
+ * Version of the artifact
40
+ */
10
41
  tag: string;
42
+ /**
43
+ * Last Updated time of artifact
44
+ */
11
45
  updated?: string;
46
+ /**
47
+ * Registry url of the artifact
48
+ */
12
49
  url?: string;
13
50
  }
@@ -4,6 +4,6 @@ export interface ArtifactListingRequestBody {
4
4
  component_filter?: ComponentFilter[];
5
5
  environment_type?: 'All' | 'NonProd' | 'None' | 'Prod';
6
6
  license_filter?: LicenseFilter;
7
- policy_violation?: 'ALLOW' | 'DENY';
7
+ policy_violation?: 'ALLOW' | 'ANY' | 'DENY' | 'NONE';
8
8
  search_term?: string;
9
9
  }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Slsa Verification Data
3
+ */
4
+ export interface Slsa {
5
+ /**
6
+ * Slsa policy outcome
7
+ */
8
+ policy_outcome_status?: string;
9
+ /**
10
+ * Slsa provenance data
11
+ */
12
+ provenance?: string;
13
+ }
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.11.0",
3
+ "version": "0.13.0",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",