@harnessio/react-ssca-manager-client 0.9.0 → 0.10.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.
@@ -1,14 +1,72 @@
1
1
  export interface ArtifactDeploymentViewResponse {
2
+ /**
3
+ * Allow list type policy violation count
4
+ */
2
5
  allow_list_violation_count?: string;
6
+ /**
7
+ * Attestation status of the artifact
8
+ */
3
9
  attested_status?: 'FAIL' | 'PASS';
10
+ /**
11
+ * Deny list type policy violation count
12
+ */
4
13
  deny_list_violation_count?: string;
14
+ /**
15
+ * Enforcement step identifier
16
+ */
5
17
  enforcement_id?: string;
18
+ /**
19
+ * Harness environment id
20
+ */
6
21
  env_id?: string;
22
+ /**
23
+ * Environment name
24
+ */
7
25
  env_name?: string;
26
+ /**
27
+ * Environment type
28
+ */
8
29
  env_type?: 'NONPROD' | 'PROD';
30
+ /**
31
+ * Pipeline execution identifier of deployment pipeline
32
+ */
9
33
  pipeline_execution_id?: string;
34
+ /**
35
+ * Pipeline identifier of deployment pipeline
36
+ */
10
37
  pipeline_id?: string;
38
+ /**
39
+ * Pipeline name of deployment pipeline
40
+ */
41
+ pipeline_name?: string;
42
+ /**
43
+ * Pipeline Sequence id of deployment pipeline
44
+ */
45
+ 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;
56
+ /**
57
+ * Time of trigger of the deployment pipeline
58
+ */
11
59
  triggered_at?: string;
60
+ /**
61
+ * Name of who trigger the deployment pipeline
62
+ */
12
63
  triggered_by?: string;
64
+ /**
65
+ * Id of who trigger the deployment pipeline
66
+ */
13
67
  triggered_by_id?: string;
68
+ /**
69
+ * Trigger type of the deployment pipeline
70
+ */
71
+ triggered_type?: string;
14
72
  }
@@ -9,4 +9,5 @@ export interface ArtifactDetailResponse {
9
9
  prod_env_count?: number;
10
10
  tag: string;
11
11
  updated?: string;
12
+ url?: string;
12
13
  }
@@ -13,4 +13,5 @@ export interface ArtifactListingResponse {
13
13
  prod_env_count?: number;
14
14
  tag: string;
15
15
  updated?: string;
16
+ url?: string;
16
17
  }
@@ -1,6 +1,6 @@
1
1
  import type { Operator } from '../schemas/Operator';
2
2
  export interface ComponentFilter {
3
- field_name?: 'ComponentName' | 'ComponentVersion';
4
- operator?: Operator;
5
- value?: string;
3
+ field_name: 'ComponentName' | 'ComponentVersion';
4
+ operator: Operator;
5
+ value: string;
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import type { Operator } from '../schemas/Operator';
2
2
  export interface LicenseFilter {
3
- operator?: Operator;
4
- value?: string;
3
+ operator: Operator;
4
+ value: string;
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",