@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.
- package/dist/ssca-manager/src/services/index.d.ts +1 -0
- package/dist/ssca-manager/src/services/schemas/ArtifactDeploymentViewRequestBody.d.ts +1 -1
- package/dist/ssca-manager/src/services/schemas/ArtifactDeploymentViewResponse.d.ts +2 -14
- package/dist/ssca-manager/src/services/schemas/ArtifactDeploymentViewResponse.js +0 -3
- package/dist/ssca-manager/src/services/schemas/ArtifactDetailResponse.d.ts +37 -0
- package/dist/ssca-manager/src/services/schemas/ArtifactListingRequestBody.d.ts +1 -1
- package/dist/ssca-manager/src/services/schemas/Slsa.d.ts +13 -0
- package/dist/ssca-manager/src/services/schemas/Slsa.js +4 -0
- package/package.json +1 -1
|
@@ -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,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
|
}
|