@harnessio/react-ssca-manager-client 0.7.0 → 0.9.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 +3 -0
- package/dist/ssca-manager/src/services/schemas/ArtifactComponentViewRequestBody.d.ts +4 -9
- package/dist/ssca-manager/src/services/schemas/ArtifactComponentViewRequestBody.js +0 -3
- package/dist/ssca-manager/src/services/schemas/ArtifactDeploymentViewRequestBody.d.ts +1 -1
- package/dist/ssca-manager/src/services/schemas/ArtifactDeploymentViewResponse.d.ts +2 -2
- package/dist/ssca-manager/src/services/schemas/ArtifactListingRequestBody.d.ts +4 -9
- package/dist/ssca-manager/src/services/schemas/ArtifactListingRequestBody.js +0 -3
- package/dist/ssca-manager/src/services/schemas/ArtifactListingResponse.d.ts +3 -3
- package/dist/ssca-manager/src/services/schemas/ComponentFilter.d.ts +6 -0
- package/dist/ssca-manager/src/services/schemas/ComponentFilter.js +1 -0
- package/dist/ssca-manager/src/services/schemas/LicenseFilter.d.ts +5 -0
- package/dist/ssca-manager/src/services/schemas/LicenseFilter.js +1 -0
- package/dist/ssca-manager/src/services/schemas/Operator.d.ts +2 -0
- package/dist/ssca-manager/src/services/schemas/Operator.js +4 -0
- package/package.json +1 -1
|
@@ -28,4 +28,7 @@ export type { ArtifactDetailResponse } from './schemas/ArtifactDetailResponse';
|
|
|
28
28
|
export type { ArtifactListingRequestBody } from './schemas/ArtifactListingRequestBody';
|
|
29
29
|
export type { ArtifactListingResponse } from './schemas/ArtifactListingResponse';
|
|
30
30
|
export type { ArtifactSbomResponseBody } from './schemas/ArtifactSbomResponseBody';
|
|
31
|
+
export type { ComponentFilter } from './schemas/ComponentFilter';
|
|
32
|
+
export type { LicenseFilter } from './schemas/LicenseFilter';
|
|
33
|
+
export type { Operator } from './schemas/Operator';
|
|
31
34
|
export type { PolicyViolation } from './schemas/PolicyViolation';
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
+
import type { ComponentFilter } from '../schemas/ComponentFilter';
|
|
2
|
+
import type { LicenseFilter } from '../schemas/LicenseFilter';
|
|
1
3
|
export interface ArtifactComponentViewRequestBody {
|
|
2
|
-
component_filter?:
|
|
3
|
-
|
|
4
|
-
operator?: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
};
|
|
7
|
-
license_filter?: {
|
|
8
|
-
operator?: string;
|
|
9
|
-
value?: string;
|
|
10
|
-
};
|
|
4
|
+
component_filter?: ComponentFilter[];
|
|
5
|
+
license_filter?: LicenseFilter;
|
|
11
6
|
package_manager?: string;
|
|
12
7
|
package_supplier?: string;
|
|
13
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface ArtifactDeploymentViewResponse {
|
|
2
|
-
|
|
2
|
+
allow_list_violation_count?: string;
|
|
3
3
|
attested_status?: 'FAIL' | 'PASS';
|
|
4
|
-
|
|
4
|
+
deny_list_violation_count?: string;
|
|
5
5
|
enforcement_id?: string;
|
|
6
6
|
env_id?: string;
|
|
7
7
|
env_name?: string;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
+
import type { ComponentFilter } from '../schemas/ComponentFilter';
|
|
2
|
+
import type { LicenseFilter } from '../schemas/LicenseFilter';
|
|
1
3
|
export interface ArtifactListingRequestBody {
|
|
2
|
-
component_filter?:
|
|
3
|
-
field_name?: 'ComponentName' | 'ComponentVersion';
|
|
4
|
-
operator?: 'Contains' | 'Equals' | 'StartsWith';
|
|
5
|
-
value?: string;
|
|
6
|
-
}>;
|
|
4
|
+
component_filter?: ComponentFilter[];
|
|
7
5
|
environment_type?: 'All' | 'NonProd' | 'None' | 'Prod';
|
|
8
|
-
license_filter?:
|
|
9
|
-
operator?: 'Equals';
|
|
10
|
-
value?: string;
|
|
11
|
-
};
|
|
6
|
+
license_filter?: LicenseFilter;
|
|
12
7
|
policy_violation?: 'ALLOW' | 'DENY';
|
|
13
8
|
search_term?: string;
|
|
14
9
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export interface ArtifactListingResponse {
|
|
2
2
|
activity?: 'DEPLOYED' | 'GENERATED';
|
|
3
|
-
allow_list_violation_count?:
|
|
3
|
+
allow_list_violation_count?: string;
|
|
4
4
|
build_pipeline_execution_id?: string;
|
|
5
5
|
build_pipeline_id?: string;
|
|
6
6
|
components_count?: number;
|
|
7
|
-
deny_list_violation_count?:
|
|
7
|
+
deny_list_violation_count?: string;
|
|
8
8
|
enforcement_id?: string;
|
|
9
9
|
id: string;
|
|
10
10
|
name: string;
|
|
@@ -12,5 +12,5 @@ export interface ArtifactListingResponse {
|
|
|
12
12
|
orchestration_id?: string;
|
|
13
13
|
prod_env_count?: number;
|
|
14
14
|
tag: string;
|
|
15
|
-
|
|
15
|
+
updated?: string;
|
|
16
16
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|