@harnessio/react-har-service-client 0.54.0 → 0.55.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/har-service/src/services/index.d.ts +1 -1
- package/dist/har-service/src/services/schemas/ArtifactDetail.d.ts +2 -1
- package/dist/har-service/src/services/schemas/ArtifactMetadata.d.ts +4 -0
- package/dist/har-service/src/services/schemas/ArtifactScanV3.d.ts +2 -2
- package/dist/har-service/src/services/schemas/PackageType.d.ts +1 -1
- package/dist/har-service/src/services/schemas/PackageTypeV3.d.ts +1 -1
- package/dist/har-service/src/services/schemas/PuppetArtifactDetailConfig.d.ts +8 -0
- package/dist/har-service/src/services/schemas/UpstreamConfig.d.ts +1 -1
- package/dist/har-service/src/services/schemas/VersionMetadata.d.ts +4 -0
- package/package.json +1 -1
- package/dist/har-service/src/services/schemas/PolicySetsV3.d.ts +0 -13
- /package/dist/har-service/src/services/schemas/{PolicySetsV3.js → PuppetArtifactDetailConfig.js} +0 -0
|
@@ -468,7 +468,7 @@ export type { PageInfoV3 } from './schemas/PageInfoV3';
|
|
|
468
468
|
export type { PolicyFailureDetailCategoryV3 } from './schemas/PolicyFailureDetailCategoryV3';
|
|
469
469
|
export type { PolicyFailureDetailV3 } from './schemas/PolicyFailureDetailV3';
|
|
470
470
|
export type { PolicySetFailureDetailV3 } from './schemas/PolicySetFailureDetailV3';
|
|
471
|
-
export type {
|
|
471
|
+
export type { PuppetArtifactDetailConfig } from './schemas/PuppetArtifactDetailConfig';
|
|
472
472
|
export type { PythonArtifactDetailConfig } from './schemas/PythonArtifactDetailConfig';
|
|
473
473
|
export type { QuarantinePath } from './schemas/QuarantinePath';
|
|
474
474
|
export type { QuarantineRequest } from './schemas/QuarantineRequest';
|
|
@@ -13,12 +13,13 @@ import type { CondaArtifactDetailConfig } from '../schemas/CondaArtifactDetailCo
|
|
|
13
13
|
import type { DartArtifactDetailConfig } from '../schemas/DartArtifactDetailConfig';
|
|
14
14
|
import type { ComposerArtifactDetailConfig } from '../schemas/ComposerArtifactDetailConfig';
|
|
15
15
|
import type { SwiftArtifactDetailConfig } from '../schemas/SwiftArtifactDetailConfig';
|
|
16
|
+
import type { PuppetArtifactDetailConfig } from '../schemas/PuppetArtifactDetailConfig';
|
|
16
17
|
import type { ArtifactType } from '../schemas/ArtifactType';
|
|
17
18
|
import type { PackageType } from '../schemas/PackageType';
|
|
18
19
|
/**
|
|
19
20
|
* Artifact Detail
|
|
20
21
|
*/
|
|
21
|
-
export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | PythonArtifactDetailConfig | NpmArtifactDetailConfig | RpmArtifactDetailConfig | NugetArtifactDetailConfig | CargoArtifactDetailConfig | GoArtifactDetailConfig | HuggingFaceArtifactDetailConfig | CondaArtifactDetailConfig | DartArtifactDetailConfig | ComposerArtifactDetailConfig | SwiftArtifactDetailConfig) & {
|
|
22
|
+
export type ArtifactDetail = (DockerArtifactDetailConfig | HelmArtifactDetailConfig | GenericArtifactDetailConfig | MavenArtifactDetailConfig | PythonArtifactDetailConfig | NpmArtifactDetailConfig | RpmArtifactDetailConfig | NugetArtifactDetailConfig | CargoArtifactDetailConfig | GoArtifactDetailConfig | HuggingFaceArtifactDetailConfig | CondaArtifactDetailConfig | DartArtifactDetailConfig | ComposerArtifactDetailConfig | SwiftArtifactDetailConfig | PuppetArtifactDetailConfig) & {
|
|
22
23
|
artifactType?: ArtifactType;
|
|
23
24
|
createdAt?: string;
|
|
24
25
|
createdBy?: string;
|
|
@@ -29,6 +29,10 @@ export interface ArtifactMetadata {
|
|
|
29
29
|
name: string;
|
|
30
30
|
packageType: PackageType;
|
|
31
31
|
pullCommand?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Package URL (PURL) identifying the package version.
|
|
34
|
+
*/
|
|
35
|
+
purl?: string;
|
|
32
36
|
quarantineReason?: string;
|
|
33
37
|
registryIdentifier: string;
|
|
34
38
|
registryPath: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PackageTypeV3 } from '../schemas/PackageTypeV3';
|
|
2
|
-
import type {
|
|
2
|
+
import type { PolicySetFailureDetailV3 } from '../schemas/PolicySetFailureDetailV3';
|
|
3
3
|
export interface ArtifactScanV3 {
|
|
4
4
|
id: string;
|
|
5
5
|
lastEvaluatedAt?: string;
|
|
@@ -9,7 +9,7 @@ export interface ArtifactScanV3 {
|
|
|
9
9
|
*/
|
|
10
10
|
packageName: string;
|
|
11
11
|
packageType: PackageTypeV3;
|
|
12
|
-
policySets:
|
|
12
|
+
policySets: PolicySetFailureDetailV3[];
|
|
13
13
|
/**
|
|
14
14
|
* Package URL (PURL) identifying the package version
|
|
15
15
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* refers to package
|
|
3
3
|
*/
|
|
4
|
-
export type PackageType = 'CARGO' | 'COMPOSER' | 'CONDA' | 'DART' | 'DOCKER' | 'GENERIC' | 'GO' | 'HELM' | 'HUGGINGFACE' | 'MAVEN' | 'NPM' | 'NUGET' | 'PYTHON' | 'RAW' | 'RPM' | 'SWIFT';
|
|
4
|
+
export type PackageType = 'CARGO' | 'COMPOSER' | 'CONDA' | 'DART' | 'DOCKER' | 'GENERIC' | 'GO' | 'HELM' | 'HUGGINGFACE' | 'MAVEN' | 'NPM' | 'NUGET' | 'PUPPET' | 'PYTHON' | 'RAW' | 'RPM' | 'SWIFT';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, RAW. This field is extensible; clients must handle unknown values.
|
|
2
|
+
* Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RAW. This field is extensible; clients must handle unknown values.
|
|
3
3
|
*
|
|
4
4
|
* @example "DOCKER"
|
|
5
5
|
*/
|
|
@@ -15,6 +15,6 @@ export interface UpstreamConfig {
|
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
remoteUrlSuffix?: string;
|
|
18
|
-
source?: 'Anaconda' | 'AwsEcr' | 'Crates' | 'Custom' | 'Dockerhub' | 'GoProxy' | 'HuggingFace' | 'MavenCentral' | 'NpmJs' | 'NugetOrg' | 'Packagist' | 'Pubdev' | 'PyPi';
|
|
18
|
+
source?: 'Anaconda' | 'AwsEcr' | 'Crates' | 'Custom' | 'Dockerhub' | 'GoProxy' | 'HuggingFace' | 'MavenCentral' | 'NpmJs' | 'NugetOrg' | 'Packagist' | 'Pubdev' | 'PuppetForge' | 'PyPi';
|
|
19
19
|
url?: string;
|
|
20
20
|
}
|
|
@@ -30,6 +30,10 @@ export interface VersionMetadata {
|
|
|
30
30
|
package: string;
|
|
31
31
|
packageType: PackageType;
|
|
32
32
|
pullCommand?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Package URL (PURL) for this artifact version when supported for the package type.
|
|
35
|
+
*/
|
|
36
|
+
purl?: string;
|
|
33
37
|
quarantineReason?: string;
|
|
34
38
|
registryIdentifier: string;
|
|
35
39
|
registryType?: RegistryType;
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* List of opa policy sets.
|
|
3
|
-
*/
|
|
4
|
-
export type PolicySetsV3 = Array<{
|
|
5
|
-
/**
|
|
6
|
-
* Policy Set name
|
|
7
|
-
*/
|
|
8
|
-
policySetName: string;
|
|
9
|
-
/**
|
|
10
|
-
* Unique reference for the opa policy set. Example: `my-policy` or `account.my-policy`
|
|
11
|
-
*/
|
|
12
|
-
policySetRef: string;
|
|
13
|
-
}>;
|
/package/dist/har-service/src/services/schemas/{PolicySetsV3.js → PuppetArtifactDetailConfig.js}
RENAMED
|
File without changes
|