@harnessio/react-har-service-client 0.71.0 → 0.72.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.
@@ -463,6 +463,7 @@ export type { EnumLabelType } from './schemas/EnumLabelType';
463
463
  export type { EnvironmentType } from './schemas/EnvironmentType';
464
464
  export type { Error } from './schemas/Error';
465
465
  export type { ErrorV3 } from './schemas/ErrorV3';
466
+ export type { ExemptionStatusV3 } from './schemas/ExemptionStatusV3';
466
467
  export type { ExtraHeader } from './schemas/ExtraHeader';
467
468
  export type { FileDetail } from './schemas/FileDetail';
468
469
  export type { FileMetadata } from './schemas/FileMetadata';
@@ -1,4 +1,5 @@
1
1
  import type { BuildDetailsV3 } from '../schemas/BuildDetailsV3';
2
+ import type { ExemptionStatusV3 } from '../schemas/ExemptionStatusV3';
2
3
  import type { FixVersionDetailsV3 } from '../schemas/FixVersionDetailsV3';
3
4
  import type { PackageTypeV3 } from '../schemas/PackageTypeV3';
4
5
  import type { PolicySetFailureDetailV3 } from '../schemas/PolicySetFailureDetailV3';
@@ -8,6 +9,7 @@ import type { PolicySetFailureDetailV3 } from '../schemas/PolicySetFailureDetail
8
9
  export interface ArtifactScanDetailsV3 {
9
10
  buildDetails: BuildDetailsV3;
10
11
  createdAt?: string;
12
+ exemptionStatus?: ExemptionStatusV3;
11
13
  fixVersionDetails?: FixVersionDetailsV3;
12
14
  /**
13
15
  * Unique identifier for this artifact scan details
@@ -1,4 +1,5 @@
1
1
  import type { BuildDetailsV3 } from '../schemas/BuildDetailsV3';
2
+ import type { ExemptionStatusV3 } from '../schemas/ExemptionStatusV3';
2
3
  import type { PackageTypeV3 } from '../schemas/PackageTypeV3';
3
4
  import type { PolicySetsV3 } from '../schemas/PolicySetsV3';
4
5
  import type { PolicyFailureDetailCategoryV3 } from '../schemas/PolicyFailureDetailCategoryV3';
@@ -12,6 +13,7 @@ export interface ArtifactScanV3 {
12
13
  */
13
14
  RegistryProjectId?: string;
14
15
  buildDetails: BuildDetailsV3;
16
+ exemptionStatus?: ExemptionStatusV3;
15
17
  id: string;
16
18
  lastEvaluatedAt?: string;
17
19
  lastEvaluatedBy?: string;
@@ -0,0 +1,17 @@
1
+ import type { CreatedAtMsV3 } from '../schemas/CreatedAtMsV3';
2
+ /**
3
+ * Exemption status for an artifact, showing if an exception exists (APPROVED or PENDING).
4
+ */
5
+ export interface ExemptionStatusV3 {
6
+ createdAt: CreatedAtMsV3;
7
+ expirationAt?: CreatedAtMsV3;
8
+ /**
9
+ * Firewall exception ID for navigation to the exception detail.
10
+ * @format uuid
11
+ */
12
+ id: string;
13
+ /**
14
+ * Current status of the exception.
15
+ */
16
+ status: 'APPROVED' | 'PENDING';
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-har-service-client",
3
- "version": "0.71.0",
3
+ "version": "0.72.0",
4
4
  "description": "Harness HAR Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",