@harnessio/react-ssca-manager-client 0.84.14 → 0.84.16

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.
Files changed (89) hide show
  1. package/dist/ssca-manager/src/services/hooks/useBulkDownloadAttestationsMutation.d.ts +23 -0
  2. package/dist/ssca-manager/src/services/hooks/useBulkDownloadAttestationsMutation.js +14 -0
  3. package/dist/ssca-manager/src/services/hooks/useCreateEolAutoTicketConfigMutation.d.ts +23 -0
  4. package/dist/ssca-manager/src/services/hooks/useCreateEolAutoTicketConfigMutation.js +14 -0
  5. package/dist/ssca-manager/src/services/hooks/useGetArtifactV2DetailComponentViewQuery.d.ts +1 -1
  6. package/dist/ssca-manager/src/services/hooks/useGetAttestationDetailsQuery.d.ts +21 -0
  7. package/dist/ssca-manager/src/services/hooks/useGetAttestationDetailsQuery.js +14 -0
  8. package/dist/ssca-manager/src/services/hooks/useGetAttestationSummaryBySourceMutation.d.ts +23 -0
  9. package/dist/ssca-manager/src/services/hooks/useGetAttestationSummaryBySourceMutation.js +14 -0
  10. package/dist/ssca-manager/src/services/hooks/useGetAttestationSummaryByTypeMutation.d.ts +23 -0
  11. package/dist/ssca-manager/src/services/hooks/useGetAttestationSummaryByTypeMutation.js +14 -0
  12. package/dist/ssca-manager/src/services/hooks/useGetEolAutoTicketConfigQuery.d.ts +20 -0
  13. package/dist/ssca-manager/src/services/hooks/useGetEolAutoTicketConfigQuery.js +14 -0
  14. package/dist/ssca-manager/src/services/hooks/useListAttestationsMutation.d.ts +44 -0
  15. package/dist/ssca-manager/src/services/hooks/useListAttestationsMutation.js +14 -0
  16. package/dist/ssca-manager/src/services/index.d.ts +46 -0
  17. package/dist/ssca-manager/src/services/index.js +7 -0
  18. package/dist/ssca-manager/src/services/requestBodies/AttestationBulkDownloadRequestBodyRequestBody.d.ts +2 -0
  19. package/dist/ssca-manager/src/services/requestBodies/AttestationBulkDownloadRequestBodyRequestBody.js +1 -0
  20. package/dist/ssca-manager/src/services/requestBodies/AttestationListingRequestBodyRequestBody.d.ts +2 -0
  21. package/dist/ssca-manager/src/services/requestBodies/AttestationListingRequestBodyRequestBody.js +1 -0
  22. package/dist/ssca-manager/src/services/requestBodies/AttestationSummaryBySourceRequestBodyRequestBody.d.ts +2 -0
  23. package/dist/ssca-manager/src/services/requestBodies/AttestationSummaryBySourceRequestBodyRequestBody.js +1 -0
  24. package/dist/ssca-manager/src/services/requestBodies/AttestationSummaryByTypeRequestBodyRequestBody.d.ts +2 -0
  25. package/dist/ssca-manager/src/services/requestBodies/AttestationSummaryByTypeRequestBodyRequestBody.js +1 -0
  26. package/dist/ssca-manager/src/services/requestBodies/CooldownConfigRequestBodyRequestBody.d.ts +2 -0
  27. package/dist/ssca-manager/src/services/requestBodies/CooldownConfigRequestBodyRequestBody.js +1 -0
  28. package/dist/ssca-manager/src/services/responses/AttestationBulkDownloadResponseBodyResponse.d.ts +2 -0
  29. package/dist/ssca-manager/src/services/responses/AttestationBulkDownloadResponseBodyResponse.js +1 -0
  30. package/dist/ssca-manager/src/services/responses/AttestationDetailsResponseBodyResponse.d.ts +2 -0
  31. package/dist/ssca-manager/src/services/responses/AttestationDetailsResponseBodyResponse.js +1 -0
  32. package/dist/ssca-manager/src/services/responses/AttestationListingResponseBodyResponse.d.ts +2 -0
  33. package/dist/ssca-manager/src/services/responses/AttestationListingResponseBodyResponse.js +1 -0
  34. package/dist/ssca-manager/src/services/responses/AttestationSummaryBySourceResponseBodyResponse.d.ts +2 -0
  35. package/dist/ssca-manager/src/services/responses/AttestationSummaryBySourceResponseBodyResponse.js +1 -0
  36. package/dist/ssca-manager/src/services/responses/AttestationSummaryByTypeResponseBodyResponse.d.ts +2 -0
  37. package/dist/ssca-manager/src/services/responses/AttestationSummaryByTypeResponseBodyResponse.js +1 -0
  38. package/dist/ssca-manager/src/services/responses/CooldownConfigResponseBodyResponse.d.ts +2 -0
  39. package/dist/ssca-manager/src/services/responses/CooldownConfigResponseBodyResponse.js +1 -0
  40. package/dist/ssca-manager/src/services/schemas/AttestationBulkDownloadRequest.d.ts +19 -0
  41. package/dist/ssca-manager/src/services/schemas/AttestationBulkDownloadRequest.js +4 -0
  42. package/dist/ssca-manager/src/services/schemas/AttestationDetailsResponse.d.ts +53 -0
  43. package/dist/ssca-manager/src/services/schemas/AttestationDetailsResponse.js +1 -0
  44. package/dist/ssca-manager/src/services/schemas/AttestationListingRequest.d.ts +27 -0
  45. package/dist/ssca-manager/src/services/schemas/AttestationListingRequest.js +1 -0
  46. package/dist/ssca-manager/src/services/schemas/AttestationListingResponse.d.ts +45 -0
  47. package/dist/ssca-manager/src/services/schemas/AttestationListingResponse.js +1 -0
  48. package/dist/ssca-manager/src/services/schemas/AttestationSource.d.ts +1 -1
  49. package/dist/ssca-manager/src/services/schemas/AttestationSubjectDigestSummary.d.ts +10 -0
  50. package/dist/ssca-manager/src/services/schemas/AttestationSubjectDigestSummary.js +4 -0
  51. package/dist/ssca-manager/src/services/schemas/AttestationSubjectSummary.d.ts +15 -0
  52. package/dist/ssca-manager/src/services/schemas/AttestationSubjectSummary.js +1 -0
  53. package/dist/ssca-manager/src/services/schemas/AttestationSummaryBySourceItem.d.ts +8 -0
  54. package/dist/ssca-manager/src/services/schemas/AttestationSummaryBySourceItem.js +1 -0
  55. package/dist/ssca-manager/src/services/schemas/AttestationSummaryBySourceRequest.d.ts +20 -0
  56. package/dist/ssca-manager/src/services/schemas/AttestationSummaryBySourceRequest.js +1 -0
  57. package/dist/ssca-manager/src/services/schemas/AttestationSummaryBySourceResponse.d.ts +11 -0
  58. package/dist/ssca-manager/src/services/schemas/AttestationSummaryBySourceResponse.js +1 -0
  59. package/dist/ssca-manager/src/services/schemas/AttestationSummaryByTypeItem.d.ts +8 -0
  60. package/dist/ssca-manager/src/services/schemas/AttestationSummaryByTypeItem.js +1 -0
  61. package/dist/ssca-manager/src/services/schemas/AttestationSummaryByTypeRequest.d.ts +20 -0
  62. package/dist/ssca-manager/src/services/schemas/AttestationSummaryByTypeRequest.js +1 -0
  63. package/dist/ssca-manager/src/services/schemas/AttestationSummaryByTypeResponse.d.ts +11 -0
  64. package/dist/ssca-manager/src/services/schemas/AttestationSummaryByTypeResponse.js +1 -0
  65. package/dist/ssca-manager/src/services/schemas/AttestationType.d.ts +1 -1
  66. package/dist/ssca-manager/src/services/schemas/AutoPrConfigResponseBody.d.ts +2 -0
  67. package/dist/ssca-manager/src/services/schemas/AutoPrConfigUpdates.d.ts +2 -0
  68. package/dist/ssca-manager/src/services/schemas/AutoPrCooldownRule.d.ts +10 -0
  69. package/dist/ssca-manager/src/services/schemas/AutoPrCooldownRule.js +4 -0
  70. package/dist/ssca-manager/src/services/schemas/AutoPrPresetConfig.d.ts +2 -0
  71. package/dist/ssca-manager/src/services/schemas/CooldownConfigRequestBody.d.ts +16 -0
  72. package/dist/ssca-manager/src/services/schemas/CooldownConfigRequestBody.js +4 -0
  73. package/dist/ssca-manager/src/services/schemas/CooldownConfigResponseBody.d.ts +12 -0
  74. package/dist/ssca-manager/src/services/schemas/CooldownConfigResponseBody.js +4 -0
  75. package/dist/ssca-manager/src/services/schemas/CooldownViolationsResponseBody.d.ts +18 -0
  76. package/dist/ssca-manager/src/services/schemas/CooldownViolationsResponseBody.js +4 -0
  77. package/dist/ssca-manager/src/services/schemas/EolAutoTicketConfigRequest.d.ts +4 -0
  78. package/dist/ssca-manager/src/services/schemas/EolAutoTicketConfigRequest.js +4 -0
  79. package/dist/ssca-manager/src/services/schemas/EolAutoTicketConfigResponse.d.ts +9 -0
  80. package/dist/ssca-manager/src/services/schemas/EolAutoTicketConfigResponse.js +4 -0
  81. package/dist/ssca-manager/src/services/schemas/EolAutoTicketConfigUpdateRequest.d.ts +4 -0
  82. package/dist/ssca-manager/src/services/schemas/EolAutoTicketConfigUpdateRequest.js +4 -0
  83. package/dist/ssca-manager/src/services/schemas/MaliciousDetail.d.ts +2 -0
  84. package/dist/ssca-manager/src/services/schemas/MaliciousDetail.js +0 -3
  85. package/dist/ssca-manager/src/services/schemas/MaliciousPackageReference.d.ts +10 -0
  86. package/dist/ssca-manager/src/services/schemas/MaliciousPackageReference.js +4 -0
  87. package/dist/ssca-manager/src/services/schemas/SubjectNameFilter.d.ts +8 -0
  88. package/dist/ssca-manager/src/services/schemas/SubjectNameFilter.js +1 -0
  89. package/package.json +1 -1
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Download multiple attestations by inclusive creation-time range OR by digest list. Provide either both start_time and end_time, or attestation_ids (GitOID SHA-256), not both.
3
+ */
4
+ export interface AttestationBulkDownloadRequest {
5
+ /**
6
+ * GitOID SHA-256 digests to download. Omit when using start_time and end_time.
7
+ */
8
+ attestation_ids?: string[];
9
+ /**
10
+ * Inclusive range end, epoch ms UTC (creation time). Use with start_time when not using attestation_ids.
11
+ * @format int64
12
+ */
13
+ end_time?: number;
14
+ /**
15
+ * Inclusive range start, epoch ms UTC (creation time). Use with end_time when not using attestation_ids.
16
+ * @format int64
17
+ */
18
+ start_time?: number;
19
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,53 @@
1
+ import type { AttestationSource } from '../schemas/AttestationSource';
2
+ import type { AttestationSubjectSummary } from '../schemas/AttestationSubjectSummary';
3
+ import type { AttestationType } from '../schemas/AttestationType';
4
+ export interface AttestationDetailsResponse {
5
+ /**
6
+ * Associated artifact identifier for tracing.
7
+ */
8
+ artifact_id?: string;
9
+ /**
10
+ * Created at (epoch ms).
11
+ * @format int64
12
+ */
13
+ created_at?: number;
14
+ /**
15
+ * GitOID SHA-256 digest in Archivista.
16
+ */
17
+ gitoid_sha256?: string;
18
+ /**
19
+ * MIME type of the DSSE payload (e.g. application/vnd.in-toto+json).
20
+ */
21
+ payload_type?: string;
22
+ /**
23
+ * Pipeline execution id when present.
24
+ */
25
+ pipeline_execution_id?: string;
26
+ /**
27
+ * Pipeline id when present.
28
+ */
29
+ pipeline_id?: string;
30
+ /**
31
+ * S3 path for attestation storage.
32
+ */
33
+ s3_path?: string;
34
+ source: AttestationSource;
35
+ /**
36
+ * Stage execution id when present.
37
+ */
38
+ stage_execution_id?: string;
39
+ /**
40
+ * Step execution id when present.
41
+ */
42
+ step_execution_id?: string;
43
+ /**
44
+ * All attestation subjects.
45
+ */
46
+ subjects: AttestationSubjectSummary[];
47
+ type: AttestationType;
48
+ /**
49
+ * Updated at (epoch ms).
50
+ * @format int64
51
+ */
52
+ updated_at?: number;
53
+ }
@@ -0,0 +1,27 @@
1
+ import type { AttestationSource } from '../schemas/AttestationSource';
2
+ import type { SubjectNameFilter } from '../schemas/SubjectNameFilter';
3
+ import type { AttestationType } from '../schemas/AttestationType';
4
+ /**
5
+ * List filters (arrays are OR matches). Filters creation time when start/end set. Optional subject_filter matches subject name via operator.
6
+ */
7
+ export interface AttestationListingRequest {
8
+ /**
9
+ * Inclusive range end, epoch ms UTC (creation time).
10
+ * @format int64
11
+ */
12
+ end_time?: number;
13
+ /**
14
+ * Filter by record sources (any match).
15
+ */
16
+ sources?: AttestationSource[];
17
+ /**
18
+ * Inclusive range start, epoch ms UTC (creation time).
19
+ * @format int64
20
+ */
21
+ start_time?: number;
22
+ subject_filter?: SubjectNameFilter;
23
+ /**
24
+ * Filter by attestation types (any match).
25
+ */
26
+ types?: AttestationType[];
27
+ }
@@ -0,0 +1,45 @@
1
+ import type { AttestationSource } from '../schemas/AttestationSource';
2
+ import type { AttestationSubjectSummary } from '../schemas/AttestationSubjectSummary';
3
+ import type { AttestationType } from '../schemas/AttestationType';
4
+ export interface AttestationListingResponse {
5
+ /**
6
+ * Extra subjects after the first (for "+N more").
7
+ */
8
+ additional_subject_count: number;
9
+ /**
10
+ * Created at (epoch ms).
11
+ * @format int64
12
+ */
13
+ created_at: number;
14
+ /**
15
+ * GitOID SHA-256 digest.
16
+ */
17
+ gitoid_sha256: string;
18
+ /**
19
+ * Document id (MongoDB uuid).
20
+ */
21
+ id: string;
22
+ /**
23
+ * Pipeline execution id when present.
24
+ */
25
+ pipeline_execution_id?: string;
26
+ /**
27
+ * Pipeline id when present.
28
+ */
29
+ pipeline_id?: string;
30
+ source: AttestationSource;
31
+ /**
32
+ * Ingestion status (e.g. PENDING, INDEXED).
33
+ */
34
+ status?: string;
35
+ /**
36
+ * First subject summary; null if none.
37
+ */
38
+ subject?: AttestationSubjectSummary;
39
+ type: AttestationType;
40
+ /**
41
+ * Updated at (epoch ms).
42
+ * @format int64
43
+ */
44
+ updated_at: number;
45
+ }
@@ -2,4 +2,4 @@
2
2
  * Source CI/CD system that generated the attestation
3
3
  * @default "Others"
4
4
  */
5
- export type AttestationSource = 'GithubActions' | 'Harness' | 'Jenkins' | 'Others';
5
+ export type AttestationSource = 'GithubActions' | 'Gitlab' | 'Harness' | 'Jenkins' | 'Others';
@@ -0,0 +1,10 @@
1
+ export interface AttestationSubjectDigestSummary {
2
+ /**
3
+ * Digest algorithm.
4
+ */
5
+ algorithm?: string;
6
+ /**
7
+ * Digest value.
8
+ */
9
+ value?: string;
10
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,15 @@
1
+ import type { AttestationSubjectDigestSummary } from '../schemas/AttestationSubjectDigestSummary';
2
+ export interface AttestationSubjectSummary {
3
+ /**
4
+ * Subject digest (algorithm and value).
5
+ */
6
+ digest?: AttestationSubjectDigestSummary;
7
+ /**
8
+ * Subject name.
9
+ */
10
+ name?: string;
11
+ /**
12
+ * Subject SHA-256 when present.
13
+ */
14
+ sha256?: string | null;
15
+ }
@@ -0,0 +1,8 @@
1
+ import type { AttestationSource } from '../schemas/AttestationSource';
2
+ export interface AttestationSummaryBySourceItem {
3
+ /**
4
+ * Number of attestations for this source in the requested range.
5
+ */
6
+ count: number;
7
+ source: AttestationSource;
8
+ }
@@ -0,0 +1,20 @@
1
+ import type { AttestationSource } from '../schemas/AttestationSource';
2
+ /**
3
+ * Time range for aggregation; optional source filter (arrays are OR matches).
4
+ */
5
+ export interface AttestationSummaryBySourceRequest {
6
+ /**
7
+ * Inclusive range end, epoch ms UTC (creation time).
8
+ * @format int64
9
+ */
10
+ end_time: number;
11
+ /**
12
+ * Filter by record sources before aggregating (any match).
13
+ */
14
+ sources?: AttestationSource[];
15
+ /**
16
+ * Inclusive range start, epoch ms UTC (creation time).
17
+ * @format int64
18
+ */
19
+ start_time: number;
20
+ }
@@ -0,0 +1,11 @@
1
+ import type { AttestationSummaryBySourceItem } from '../schemas/AttestationSummaryBySourceItem';
2
+ export interface AttestationSummaryBySourceResponse {
3
+ /**
4
+ * Counts per attestation source present in the result set.
5
+ */
6
+ items: AttestationSummaryBySourceItem[];
7
+ /**
8
+ * Total attestations across all sources in the requested range.
9
+ */
10
+ total: number;
11
+ }
@@ -0,0 +1,8 @@
1
+ import type { AttestationType } from '../schemas/AttestationType';
2
+ export interface AttestationSummaryByTypeItem {
3
+ /**
4
+ * Number of attestations for this type in the requested range.
5
+ */
6
+ count: number;
7
+ type: AttestationType;
8
+ }
@@ -0,0 +1,20 @@
1
+ import type { AttestationType } from '../schemas/AttestationType';
2
+ /**
3
+ * Time range for aggregation; optional type filter (arrays are OR matches).
4
+ */
5
+ export interface AttestationSummaryByTypeRequest {
6
+ /**
7
+ * Inclusive range end, epoch ms UTC (creation time).
8
+ * @format int64
9
+ */
10
+ end_time: number;
11
+ /**
12
+ * Inclusive range start, epoch ms UTC (creation time).
13
+ * @format int64
14
+ */
15
+ start_time: number;
16
+ /**
17
+ * Filter by attestation types before aggregating (any match).
18
+ */
19
+ types?: AttestationType[];
20
+ }
@@ -0,0 +1,11 @@
1
+ import type { AttestationSummaryByTypeItem } from '../schemas/AttestationSummaryByTypeItem';
2
+ export interface AttestationSummaryByTypeResponse {
3
+ /**
4
+ * Counts per attestation type present in the result set.
5
+ */
6
+ items: AttestationSummaryByTypeItem[];
7
+ /**
8
+ * Total attestations across all types in the requested range.
9
+ */
10
+ total: number;
11
+ }
@@ -2,4 +2,4 @@
2
2
  * Type/category of the attestation
3
3
  * @default "Custom"
4
4
  */
5
- export type AttestationType = 'Build' | 'Code' | 'Custom' | 'Deploy' | 'Security' | 'Test';
5
+ export type AttestationType = 'Build' | 'Code' | 'Custom' | 'Deploy' | 'Security' | 'SecurityScan' | 'Test';
@@ -1,6 +1,7 @@
1
1
  import type { AutoPrAdvancedRule } from '../schemas/AutoPrAdvancedRule';
2
2
  import type { AutoPrSchedule } from '../schemas/AutoPrSchedule';
3
3
  import type { AutoPrComplianceRule } from '../schemas/AutoPrComplianceRule';
4
+ import type { AutoPrCooldownRule } from '../schemas/AutoPrCooldownRule';
4
5
  import type { AutoPrDependencySafetyRule } from '../schemas/AutoPrDependencySafetyRule';
5
6
  import type { AutoPrPreset } from '../schemas/AutoPrPreset';
6
7
  import type { AutoPrSecurityRule } from '../schemas/AutoPrSecurityRule';
@@ -21,6 +22,7 @@ export interface AutoPrConfigResponseBody {
21
22
  * Auto PR Config identifier
22
23
  */
23
24
  config_id?: string;
25
+ cooldown_rule?: AutoPrCooldownRule;
24
26
  /**
25
27
  * Creation timestamp
26
28
  * @format int64
@@ -1,6 +1,7 @@
1
1
  import type { AutoPrAdvancedRule } from '../schemas/AutoPrAdvancedRule';
2
2
  import type { AutoPrSchedule } from '../schemas/AutoPrSchedule';
3
3
  import type { AutoPrComplianceRule } from '../schemas/AutoPrComplianceRule';
4
+ import type { AutoPrCooldownRule } from '../schemas/AutoPrCooldownRule';
4
5
  import type { AutoPrDependencySafetyRule } from '../schemas/AutoPrDependencySafetyRule';
5
6
  import type { AutoPrSecurityRule } from '../schemas/AutoPrSecurityRule';
6
7
  import type { AutoPrVersioningRule } from '../schemas/AutoPrVersioningRule';
@@ -15,6 +16,7 @@ export interface AutoPrConfigUpdates {
15
16
  allow_override?: boolean;
16
17
  auto_pr_schedule?: AutoPrSchedule;
17
18
  compliance_rule?: AutoPrComplianceRule;
19
+ cooldown_rule?: AutoPrCooldownRule;
18
20
  dependency_safety_rule?: AutoPrDependencySafetyRule;
19
21
  /**
20
22
  * Enable or disable Auto PR
@@ -0,0 +1,10 @@
1
+ export interface AutoPrCooldownRule {
2
+ /**
3
+ * Number of days a package version must exist before it can be included in an Auto PR. Recommended 2-3 days.
4
+ */
5
+ cooldown_period_days?: number;
6
+ /**
7
+ * When enabled, Auto PRs will only be created for package versions released more than the configured cooldown period ago.
8
+ */
9
+ enable_cooldown_check?: boolean;
10
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,6 +1,7 @@
1
1
  import type { AutoPrAdvancedRule } from '../schemas/AutoPrAdvancedRule';
2
2
  import type { AutoPrSchedule } from '../schemas/AutoPrSchedule';
3
3
  import type { AutoPrComplianceRule } from '../schemas/AutoPrComplianceRule';
4
+ import type { AutoPrCooldownRule } from '../schemas/AutoPrCooldownRule';
4
5
  import type { AutoPrDependencySafetyRule } from '../schemas/AutoPrDependencySafetyRule';
5
6
  import type { AutoPrPreset } from '../schemas/AutoPrPreset';
6
7
  import type { AutoPrSecurityRule } from '../schemas/AutoPrSecurityRule';
@@ -9,6 +10,7 @@ export interface AutoPrPresetConfig {
9
10
  advanced_rule?: AutoPrAdvancedRule;
10
11
  auto_pr_schedule?: AutoPrSchedule;
11
12
  compliance_rule?: AutoPrComplianceRule;
13
+ cooldown_rule?: AutoPrCooldownRule;
12
14
  dependency_safety_rule?: AutoPrDependencySafetyRule;
13
15
  preset?: AutoPrPreset;
14
16
  security_rule?: AutoPrSecurityRule;
@@ -0,0 +1,16 @@
1
+ export interface CooldownConfigRequestBody {
2
+ enabled: boolean;
3
+ number_of_days: number;
4
+ /**
5
+ * Organization identifier
6
+ */
7
+ org?: string;
8
+ /**
9
+ * Project identifier
10
+ */
11
+ project?: string;
12
+ /**
13
+ * Whether cooldown violations are surfaced as a warning or an error.
14
+ */
15
+ severity: 'error' | 'warning';
16
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,12 @@
1
+ export interface CooldownConfigResponseBody {
2
+ enabled?: boolean;
3
+ number_of_days?: number;
4
+ /**
5
+ * The scope at which this configuration is set (account/org/project)
6
+ */
7
+ scope?: string;
8
+ /**
9
+ * Whether cooldown violations are surfaced as a warning or an error.
10
+ */
11
+ severity?: 'error' | 'warning';
12
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,18 @@
1
+ export interface CooldownViolationsResponseBody {
2
+ /**
3
+ * The configured cooldown period in days
4
+ */
5
+ cooldown_period_days?: number;
6
+ /**
7
+ * Total number of SBOM components for the orchestration
8
+ */
9
+ total_components?: number;
10
+ /**
11
+ * Package URLs of components released within the cooldown window
12
+ */
13
+ violating_purls?: string[];
14
+ /**
15
+ * Number of components violating the cooldown period
16
+ */
17
+ violation_count?: number;
18
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,4 @@
1
+ export interface EolAutoTicketConfigRequest {
2
+ artifact_source_ids: string[];
3
+ enabled: boolean;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,9 @@
1
+ export interface EolAutoTicketConfigResponse {
2
+ artifact_source_ids?: string[];
3
+ /**
4
+ * @format int64
5
+ */
6
+ created_at?: number;
7
+ enabled?: boolean;
8
+ id?: string;
9
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,4 @@
1
+ export interface EolAutoTicketConfigUpdateRequest {
2
+ artifact_source_ids?: string[];
3
+ enabled?: boolean;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,3 +1,4 @@
1
+ import type { MaliciousPackageReference } from '../schemas/MaliciousPackageReference';
1
2
  /**
2
3
  * A single malicious package report without CVE identifiers
3
4
  */
@@ -10,6 +11,7 @@ export interface MaliciousDetail {
10
11
  * Publication time of the report if available
11
12
  */
12
13
  published_at?: string;
14
+ references?: MaliciousPackageReference[];
13
15
  /**
14
16
  * Summary text for the malicious report
15
17
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -0,0 +1,10 @@
1
+ export interface MaliciousPackageReference {
2
+ /**
3
+ * Type of reference
4
+ */
5
+ type?: string;
6
+ /**
7
+ * URL for the reference
8
+ */
9
+ url?: string;
10
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { Operator } from '../schemas/Operator';
2
+ /**
3
+ * Subject name matching via operator (same shape as LicenseFilter).
4
+ */
5
+ export interface SubjectNameFilter {
6
+ operator: Operator;
7
+ value: string;
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.84.14",
3
+ "version": "0.84.16",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",