@harnessio/react-har-service-client 0.94.0 → 0.95.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 +0 -2
- package/dist/har-service/src/services/schemas/GenerateKeyRequestV3.d.ts +7 -17
- package/dist/har-service/src/services/schemas/ImportKeyRequestV3.d.ts +6 -2
- package/dist/har-service/src/services/schemas/ImportKeyRequestV3.js +3 -0
- package/dist/har-service/src/services/schemas/SigningKeyV3.d.ts +12 -4
- package/dist/har-service/src/services/schemas/UpdateKeyRequestV3.d.ts +1 -1
- package/package.json +1 -1
- package/dist/har-service/src/services/schemas/SigningKeyAlgorithmV3.d.ts +0 -6
- package/dist/har-service/src/services/schemas/SigningKeyAlgorithmV3.js +0 -4
- package/dist/har-service/src/services/schemas/SigningKeyTypeV3.d.ts +0 -6
- package/dist/har-service/src/services/schemas/SigningKeyTypeV3.js +0 -4
|
@@ -748,10 +748,8 @@ export type { SectionType } from './schemas/SectionType';
|
|
|
748
748
|
export type { SecurityPolicyFailureDetailConfigV3 } from './schemas/SecurityPolicyFailureDetailConfigV3';
|
|
749
749
|
export type { SecurityPolicyFailureVulnerabilityV3 } from './schemas/SecurityPolicyFailureVulnerabilityV3';
|
|
750
750
|
export type { SigningConfig } from './schemas/SigningConfig';
|
|
751
|
-
export type { SigningKeyAlgorithmV3 } from './schemas/SigningKeyAlgorithmV3';
|
|
752
751
|
export type { SigningKeyStatusV3 } from './schemas/SigningKeyStatusV3';
|
|
753
752
|
export type { SigningKeySummaryV3 } from './schemas/SigningKeySummaryV3';
|
|
754
|
-
export type { SigningKeyTypeV3 } from './schemas/SigningKeyTypeV3';
|
|
755
753
|
export type { SigningKeyV3 } from './schemas/SigningKeyV3';
|
|
756
754
|
export type { SlsaDetails } from './schemas/SlsaDetails';
|
|
757
755
|
export type { StartedAtMsV3 } from './schemas/StartedAtMsV3';
|
|
@@ -23,34 +23,24 @@
|
|
|
23
23
|
*/
|
|
24
24
|
export interface GenerateKeyRequestV3 {
|
|
25
25
|
/**
|
|
26
|
-
* Underlying cryptographic algorithm:
|
|
27
|
-
* - RSA: 2048/3072/4096-bit RSA (compatible with all package types)
|
|
28
|
-
* - Ed25519: Modern elliptic curve algorithm (GPG only, fixed size)
|
|
26
|
+
* Underlying cryptographic algorithm of a signing key. Known values include: RSA, ED25519, ECDSA. This field is extensible; clients must handle unknown values. Note that only RSA and ED25519 can be generated; ECDSA is only observed on imported keys.
|
|
29
27
|
*
|
|
28
|
+
* @example "RSA"
|
|
30
29
|
*/
|
|
31
|
-
algorithm:
|
|
30
|
+
algorithm: string;
|
|
32
31
|
/**
|
|
33
32
|
* Optional expiration timestamp in Unix milliseconds
|
|
34
33
|
* @format int64
|
|
35
34
|
*/
|
|
36
|
-
|
|
35
|
+
expirationAt?: number | null;
|
|
37
36
|
/**
|
|
38
37
|
* Human-readable name for the key
|
|
39
38
|
*/
|
|
40
39
|
name: string;
|
|
41
40
|
/**
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
orgIdentifier?: string | null;
|
|
45
|
-
/**
|
|
46
|
-
* Project identifier (optional, for project-level keys)
|
|
47
|
-
*/
|
|
48
|
-
projectIdentifier?: string | null;
|
|
49
|
-
/**
|
|
50
|
-
* Type of key to generate:
|
|
51
|
-
* - GPG: OpenPGP key for package signing (Debian, RPM, Alpine)
|
|
52
|
-
* - RSA: Raw RSA key for direct signing operations
|
|
41
|
+
* Cryptographic system of a signing key. Known values include: GPG (for Debian, RPM, Alpine), RSA (for direct signing operations). This field is extensible; clients must handle unknown values.
|
|
53
42
|
*
|
|
43
|
+
* @example "GPG"
|
|
54
44
|
*/
|
|
55
|
-
type:
|
|
45
|
+
type: string;
|
|
56
46
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { SigningKeyTypeV3 } from '../schemas/SigningKeyTypeV3';
|
|
2
1
|
/**
|
|
3
2
|
* Request to import an existing signing key from secret manager. `type` is the cryptographic system of the key being imported.
|
|
4
3
|
*
|
|
@@ -41,5 +40,10 @@ export interface ImportKeyRequestV3 {
|
|
|
41
40
|
* Space path for the private key secret (e.g., "accountId/orgId/projectId")
|
|
42
41
|
*/
|
|
43
42
|
privateKeySecretSpacePath: string;
|
|
44
|
-
|
|
43
|
+
/**
|
|
44
|
+
* Cryptographic system of a signing key. Known values include: GPG (for Debian, RPM, Alpine), RSA (for direct signing operations). This field is extensible; clients must handle unknown values.
|
|
45
|
+
*
|
|
46
|
+
* @example "GPG"
|
|
47
|
+
*/
|
|
48
|
+
type: string;
|
|
45
49
|
}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import type { SigningKeyAlgorithmV3 } from '../schemas/SigningKeyAlgorithmV3';
|
|
2
1
|
import type { CreatedAtMsV3 } from '../schemas/CreatedAtMsV3';
|
|
3
2
|
import type { UserInfoV3 } from '../schemas/UserInfoV3';
|
|
4
3
|
import type { ModifiedAtMsV3 } from '../schemas/ModifiedAtMsV3';
|
|
5
4
|
import type { SigningKeyStatusV3 } from '../schemas/SigningKeyStatusV3';
|
|
6
|
-
import type { SigningKeyTypeV3 } from '../schemas/SigningKeyTypeV3';
|
|
7
5
|
/**
|
|
8
6
|
* A signing key used for repository metadata signing (Debian, Alpine, etc.)
|
|
9
7
|
*/
|
|
10
8
|
export interface SigningKeyV3 {
|
|
11
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Underlying cryptographic algorithm of a signing key. Known values include: RSA, ED25519, ECDSA. This field is extensible; clients must handle unknown values. Note that only RSA and ED25519 can be generated; ECDSA is only observed on imported keys.
|
|
11
|
+
*
|
|
12
|
+
* @example "RSA"
|
|
13
|
+
*/
|
|
14
|
+
algorithm: string;
|
|
12
15
|
createdAt: CreatedAtMsV3;
|
|
13
16
|
createdBy?: UserInfoV3;
|
|
14
17
|
/**
|
|
@@ -48,6 +51,11 @@ export interface SigningKeyV3 {
|
|
|
48
51
|
*/
|
|
49
52
|
source: 'GENERATED' | 'IMPORTED';
|
|
50
53
|
status: SigningKeyStatusV3;
|
|
51
|
-
|
|
54
|
+
/**
|
|
55
|
+
* Cryptographic system of a signing key. Known values include: GPG (for Debian, RPM, Alpine), RSA (for direct signing operations). This field is extensible; clients must handle unknown values.
|
|
56
|
+
*
|
|
57
|
+
* @example "GPG"
|
|
58
|
+
*/
|
|
59
|
+
type: string;
|
|
52
60
|
updatedBy?: UserInfoV3;
|
|
53
61
|
}
|
|
@@ -6,5 +6,5 @@ export interface UpdateKeyRequestV3 {
|
|
|
6
6
|
* New status for the key (cannot transition from REVOKED or DELETED). Intentionally a closed subset of `SigningKeyStatusV3` rather than an extensible enum: DELETED is reachable only via `DELETE /signing-keys/{id}`, which emits a distinct audit event.
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
|
-
status: 'ACTIVE' | 'INACTIVE' | 'REVOKED'
|
|
9
|
+
status: 'ACTIVE' | 'INACTIVE' | 'REVOKED';
|
|
10
10
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Underlying cryptographic algorithm of a signing key. Known values include: RSA, ED25519, ECDSA. This field is extensible; clients must handle unknown values. Note that only RSA and ED25519 can be generated; ECDSA is only observed on imported keys.
|
|
3
|
-
*
|
|
4
|
-
* @example "RSA"
|
|
5
|
-
*/
|
|
6
|
-
export type SigningKeyAlgorithmV3 = string;
|