@harnessio/react-ssca-manager-client 0.11.0 → 0.12.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,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 {};
@@ -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.12.0",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",