@harnessio/react-ssca-manager-client 0.84.27 → 0.84.29

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 (26) hide show
  1. package/dist/ssca-manager/src/services/hooks/useGetAccountAiWorkflowConfigQuery.d.ts +2 -1
  2. package/dist/ssca-manager/src/services/hooks/useGetAiBomComponentsQuery.d.ts +39 -0
  3. package/dist/ssca-manager/src/services/hooks/useGetAiBomComponentsQuery.js +14 -0
  4. package/dist/ssca-manager/src/services/hooks/useGetAiBomSummaryQuery.d.ts +21 -0
  5. package/dist/ssca-manager/src/services/hooks/useGetAiBomSummaryQuery.js +14 -0
  6. package/dist/ssca-manager/src/services/hooks/useSaveAccountAiWorkflowConfigMutation.d.ts +4 -2
  7. package/dist/ssca-manager/src/services/index.d.ts +9 -2
  8. package/dist/ssca-manager/src/services/index.js +2 -0
  9. package/dist/ssca-manager/src/services/schemas/AiBomComponentViewRequestBody.d.ts +3 -4
  10. package/dist/ssca-manager/src/services/schemas/AiBomComponentViewRequestBody.js +0 -3
  11. package/dist/ssca-manager/src/services/schemas/AiBomStringFilter.d.ts +8 -0
  12. package/dist/ssca-manager/src/services/schemas/AiWorkflowConfigRequest.d.ts +6 -2
  13. package/dist/ssca-manager/src/services/schemas/AiWorkflowConfigResponse.d.ts +6 -2
  14. package/dist/ssca-manager/src/services/schemas/AiWorkflowConfigYamlRequest.d.ts +6 -0
  15. package/dist/ssca-manager/src/services/schemas/AiWorkflowConfigYamlResponse.d.ts +6 -0
  16. package/dist/ssca-manager/src/services/schemas/AiWorkflowConfigYamlResponse.js +4 -0
  17. package/dist/ssca-manager/src/services/schemas/AiWorkflowIncludeScope.d.ts +14 -0
  18. package/dist/ssca-manager/src/services/schemas/AiWorkflowIncludeScope.js +1 -0
  19. package/dist/ssca-manager/src/services/schemas/AiWorkflowScopeEntry.d.ts +10 -0
  20. package/dist/ssca-manager/src/services/schemas/AiWorkflowScopeEntry.js +4 -0
  21. package/dist/ssca-manager/src/services/schemas/CodeRepositoryOverview.d.ts +2 -0
  22. package/package.json +1 -1
  23. package/dist/ssca-manager/src/services/schemas/AiWorkflowExcludedScope.d.ts +0 -10
  24. package/dist/ssca-manager/src/services/schemas/AiWorkflowExclusionScope.d.ts +0 -23
  25. /package/dist/ssca-manager/src/services/schemas/{AiWorkflowExclusionScope.js → AiBomStringFilter.js} +0 -0
  26. /package/dist/ssca-manager/src/services/schemas/{AiWorkflowExcludedScope.js → AiWorkflowConfigYamlRequest.js} +0 -0
@@ -1,4 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { AiWorkflowConfigYamlResponse } from '../schemas/AiWorkflowConfigYamlResponse';
2
3
  import type { AiWorkflowTypeEnum } from '../schemas/AiWorkflowTypeEnum';
3
4
  import type { ResponseWithPagination } from '../helpers';
4
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
@@ -8,7 +9,7 @@ export interface GetAccountAiWorkflowConfigQueryQueryParams {
8
9
  export interface GetAccountAiWorkflowConfigQueryHeaderParams {
9
10
  'Harness-Account': string;
10
11
  }
11
- export type GetAccountAiWorkflowConfigOkResponse = ResponseWithPagination<unknown>;
12
+ export type GetAccountAiWorkflowConfigOkResponse = ResponseWithPagination<AiWorkflowConfigYamlResponse>;
12
13
  export type GetAccountAiWorkflowConfigErrorResponse = unknown;
13
14
  export interface GetAccountAiWorkflowConfigProps extends Omit<FetcherOptions<GetAccountAiWorkflowConfigQueryQueryParams, unknown, GetAccountAiWorkflowConfigQueryHeaderParams>, 'url'> {
14
15
  queryParams: GetAccountAiWorkflowConfigQueryQueryParams;
@@ -0,0 +1,39 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { AiBomComponentViewResponse } from '../schemas/AiBomComponentViewResponse';
3
+ import type { AiBomComponentViewRequestBody } from '../schemas/AiBomComponentViewRequestBody';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetAiBomComponentsQueryPathParams {
7
+ org: string;
8
+ project: string;
9
+ artifact: string;
10
+ }
11
+ export interface GetAiBomComponentsQueryQueryParams {
12
+ /**
13
+ * @default 30
14
+ */
15
+ limit?: number;
16
+ /**
17
+ * @default "ASC"
18
+ */
19
+ order?: 'ASC' | 'DESC';
20
+ /**
21
+ * @default 0
22
+ */
23
+ page?: number;
24
+ }
25
+ export interface GetAiBomComponentsQueryHeaderParams {
26
+ 'Harness-Account': string;
27
+ }
28
+ export type GetAiBomComponentsRequestBody = AiBomComponentViewRequestBody;
29
+ export type GetAiBomComponentsOkResponse = ResponseWithPagination<AiBomComponentViewResponse[]>;
30
+ export type GetAiBomComponentsErrorResponse = unknown;
31
+ export interface GetAiBomComponentsProps extends GetAiBomComponentsQueryPathParams, Omit<FetcherOptions<GetAiBomComponentsQueryQueryParams, GetAiBomComponentsRequestBody, GetAiBomComponentsQueryHeaderParams>, 'url'> {
32
+ queryParams: GetAiBomComponentsQueryQueryParams;
33
+ body: GetAiBomComponentsRequestBody;
34
+ }
35
+ export declare function getAiBomComponents(props: GetAiBomComponentsProps): Promise<GetAiBomComponentsOkResponse>;
36
+ /**
37
+ * Get AI-BOM components for an artifact
38
+ */
39
+ export declare function useGetAiBomComponentsQuery(props: GetAiBomComponentsProps, options?: Omit<UseQueryOptions<GetAiBomComponentsOkResponse, GetAiBomComponentsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAiBomComponentsOkResponse, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getAiBomComponents(props) {
7
+ return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/artifacts/${props.artifact}/ai-bom/components`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Get AI-BOM components for an artifact
11
+ */
12
+ export function useGetAiBomComponentsQuery(props, options) {
13
+ return useQuery(['getAiBomComponents', props.org, props.project, props.artifact, props.queryParams, props.body], ({ signal }) => getAiBomComponents(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,21 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { AiBomSummaryResponse } from '../schemas/AiBomSummaryResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface GetAiBomSummaryQueryPathParams {
6
+ org: string;
7
+ project: string;
8
+ artifact: string;
9
+ }
10
+ export interface GetAiBomSummaryQueryHeaderParams {
11
+ 'Harness-Account': string;
12
+ }
13
+ export type GetAiBomSummaryOkResponse = ResponseWithPagination<AiBomSummaryResponse>;
14
+ export type GetAiBomSummaryErrorResponse = unknown;
15
+ export interface GetAiBomSummaryProps extends GetAiBomSummaryQueryPathParams, Omit<FetcherOptions<unknown, unknown, GetAiBomSummaryQueryHeaderParams>, 'url'> {
16
+ }
17
+ export declare function getAiBomSummary(props: GetAiBomSummaryProps): Promise<GetAiBomSummaryOkResponse>;
18
+ /**
19
+ * Get AI-BOM summary with component type counts for an artifact
20
+ */
21
+ export declare function useGetAiBomSummaryQuery(props: GetAiBomSummaryProps, options?: Omit<UseQueryOptions<GetAiBomSummaryOkResponse, GetAiBomSummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAiBomSummaryOkResponse, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getAiBomSummary(props) {
7
+ return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/artifacts/${props.artifact}/ai-bom/summary`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Get AI-BOM summary with component type counts for an artifact
11
+ */
12
+ export function useGetAiBomSummaryQuery(props, options) {
13
+ return useQuery(['getAiBomSummary', props.org, props.project, props.artifact], ({ signal }) => getAiBomSummary(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -1,4 +1,6 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { AiWorkflowConfigYamlResponse } from '../schemas/AiWorkflowConfigYamlResponse';
3
+ import type { AiWorkflowConfigYamlRequest } from '../schemas/AiWorkflowConfigYamlRequest';
2
4
  import type { AiWorkflowTypeEnum } from '../schemas/AiWorkflowTypeEnum';
3
5
  import type { ResponseWithPagination } from '../helpers';
4
6
  import { FetcherOptions } from '../../../../fetcher/index.js';
@@ -8,8 +10,8 @@ export interface SaveAccountAiWorkflowConfigMutationQueryParams {
8
10
  export interface SaveAccountAiWorkflowConfigMutationHeaderParams {
9
11
  'Harness-Account': string;
10
12
  }
11
- export type SaveAccountAiWorkflowConfigRequestBody = unknown;
12
- export type SaveAccountAiWorkflowConfigOkResponse = ResponseWithPagination<unknown>;
13
+ export type SaveAccountAiWorkflowConfigRequestBody = AiWorkflowConfigYamlRequest;
14
+ export type SaveAccountAiWorkflowConfigOkResponse = ResponseWithPagination<AiWorkflowConfigYamlResponse>;
13
15
  export type SaveAccountAiWorkflowConfigErrorResponse = unknown;
14
16
  export interface SaveAccountAiWorkflowConfigProps extends Omit<FetcherOptions<SaveAccountAiWorkflowConfigMutationQueryParams, SaveAccountAiWorkflowConfigRequestBody, SaveAccountAiWorkflowConfigMutationHeaderParams>, 'url'> {
15
17
  queryParams: SaveAccountAiWorkflowConfigMutationQueryParams;
@@ -45,6 +45,10 @@ export type { FetchReposInIntegrationErrorResponse, FetchReposInIntegrationOkRes
45
45
  export { fetchReposInIntegration, useFetchReposInIntegrationQuery, } from './hooks/useFetchReposInIntegrationQuery';
46
46
  export type { GetAccountAiWorkflowConfigErrorResponse, GetAccountAiWorkflowConfigOkResponse, GetAccountAiWorkflowConfigProps, GetAccountAiWorkflowConfigQueryQueryParams, } from './hooks/useGetAccountAiWorkflowConfigQuery';
47
47
  export { getAccountAiWorkflowConfig, useGetAccountAiWorkflowConfigQuery, } from './hooks/useGetAccountAiWorkflowConfigQuery';
48
+ export type { GetAiBomComponentsErrorResponse, GetAiBomComponentsOkResponse, GetAiBomComponentsProps, GetAiBomComponentsQueryPathParams, GetAiBomComponentsQueryQueryParams, GetAiBomComponentsRequestBody, } from './hooks/useGetAiBomComponentsQuery';
49
+ export { getAiBomComponents, useGetAiBomComponentsQuery } from './hooks/useGetAiBomComponentsQuery';
50
+ export type { GetAiBomSummaryErrorResponse, GetAiBomSummaryOkResponse, GetAiBomSummaryProps, GetAiBomSummaryQueryPathParams, } from './hooks/useGetAiBomSummaryQuery';
51
+ export { getAiBomSummary, useGetAiBomSummaryQuery } from './hooks/useGetAiBomSummaryQuery';
48
52
  export type { GetAiWorkflowExecutionAffectedTargetsErrorResponse, GetAiWorkflowExecutionAffectedTargetsOkResponse, GetAiWorkflowExecutionAffectedTargetsProps, GetAiWorkflowExecutionAffectedTargetsQueryPathParams, GetAiWorkflowExecutionAffectedTargetsQueryQueryParams, } from './hooks/useGetAiWorkflowExecutionAffectedTargetsQuery';
49
53
  export { getAiWorkflowExecutionAffectedTargets, useGetAiWorkflowExecutionAffectedTargetsQuery, } from './hooks/useGetAiWorkflowExecutionAffectedTargetsQuery';
50
54
  export type { GetAiWorkflowExecutionDetailErrorResponse, GetAiWorkflowExecutionDetailOkResponse, GetAiWorkflowExecutionDetailProps, GetAiWorkflowExecutionDetailQueryPathParams, GetAiWorkflowExecutionDetailQueryQueryParams, } from './hooks/useGetAiWorkflowExecutionDetailQuery';
@@ -347,19 +351,22 @@ export type { AiBomExternalReference } from './schemas/AiBomExternalReference';
347
351
  export type { AiBomModelCard } from './schemas/AiBomModelCard';
348
352
  export type { AiBomModelPipeline } from './schemas/AiBomModelPipeline';
349
353
  export type { AiBomOccurrence } from './schemas/AiBomOccurrence';
354
+ export type { AiBomStringFilter } from './schemas/AiBomStringFilter';
350
355
  export type { AiBomSummaryResponse } from './schemas/AiBomSummaryResponse';
351
356
  export type { AiWorkflowAlertConfig } from './schemas/AiWorkflowAlertConfig';
352
357
  export type { AiWorkflowConfigRequest } from './schemas/AiWorkflowConfigRequest';
353
358
  export type { AiWorkflowConfigResponse } from './schemas/AiWorkflowConfigResponse';
354
- export type { AiWorkflowExcludedScope } from './schemas/AiWorkflowExcludedScope';
355
- export type { AiWorkflowExclusionScope } from './schemas/AiWorkflowExclusionScope';
359
+ export type { AiWorkflowConfigYamlRequest } from './schemas/AiWorkflowConfigYamlRequest';
360
+ export type { AiWorkflowConfigYamlResponse } from './schemas/AiWorkflowConfigYamlResponse';
356
361
  export type { AiWorkflowExecutionDetailResponse } from './schemas/AiWorkflowExecutionDetailResponse';
357
362
  export type { AiWorkflowExecutionRequest } from './schemas/AiWorkflowExecutionRequest';
358
363
  export type { AiWorkflowExecutionStatusEnum } from './schemas/AiWorkflowExecutionStatusEnum';
359
364
  export type { AiWorkflowExecutionStepsResponse } from './schemas/AiWorkflowExecutionStepsResponse';
360
365
  export type { AiWorkflowExecutionSummary } from './schemas/AiWorkflowExecutionSummary';
366
+ export type { AiWorkflowIncludeScope } from './schemas/AiWorkflowIncludeScope';
361
367
  export type { AiWorkflowInfrastructureConfig } from './schemas/AiWorkflowInfrastructureConfig';
362
368
  export type { AiWorkflowResults } from './schemas/AiWorkflowResults';
369
+ export type { AiWorkflowScopeEntry } from './schemas/AiWorkflowScopeEntry';
363
370
  export type { AiWorkflowStepExecution } from './schemas/AiWorkflowStepExecution';
364
371
  export type { AiWorkflowTriggerConfig } from './schemas/AiWorkflowTriggerConfig';
365
372
  export type { AiWorkflowTriggerRequest } from './schemas/AiWorkflowTriggerRequest';
@@ -21,6 +21,8 @@ export { fetchComplianceResultsGroupById, useFetchComplianceResultsGroupByIdMuta
21
21
  export { fetchPluginsForWorkflow, useFetchPluginsForWorkflowQuery, } from './hooks/useFetchPluginsForWorkflowQuery';
22
22
  export { fetchReposInIntegration, useFetchReposInIntegrationQuery, } from './hooks/useFetchReposInIntegrationQuery';
23
23
  export { getAccountAiWorkflowConfig, useGetAccountAiWorkflowConfigQuery, } from './hooks/useGetAccountAiWorkflowConfigQuery';
24
+ export { getAiBomComponents, useGetAiBomComponentsQuery } from './hooks/useGetAiBomComponentsQuery';
25
+ export { getAiBomSummary, useGetAiBomSummaryQuery } from './hooks/useGetAiBomSummaryQuery';
24
26
  export { getAiWorkflowExecutionAffectedTargets, useGetAiWorkflowExecutionAffectedTargetsQuery, } from './hooks/useGetAiWorkflowExecutionAffectedTargetsQuery';
25
27
  export { getAiWorkflowExecutionDetail, useGetAiWorkflowExecutionDetailQuery, } from './hooks/useGetAiWorkflowExecutionDetailQuery';
26
28
  export { getAiWorkflowExecutionStepsAccountScope, useGetAiWorkflowExecutionStepsAccountScopeQuery, } from './hooks/useGetAiWorkflowExecutionStepsAccountScopeQuery';
@@ -1,3 +1,4 @@
1
+ import type { AiBomStringFilter } from '../schemas/AiBomStringFilter';
1
2
  /**
2
3
  * Filter and search criteria for AI-BOM components
3
4
  */
@@ -6,8 +7,6 @@ export interface AiBomComponentViewRequestBody {
6
7
  * Filter by component type (e.g. model, pkg, agent, framework)
7
8
  */
8
9
  ai_component_type?: string;
9
- /**
10
- * Search by component name
11
- */
12
- search?: string;
10
+ name_filter?: AiBomStringFilter;
11
+ provider_filter?: AiBomStringFilter;
13
12
  }
@@ -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,8 @@
1
+ import type { Operator } from '../schemas/Operator';
2
+ /**
3
+ * String filter with operator and value
4
+ */
5
+ export interface AiBomStringFilter {
6
+ operator: Operator;
7
+ value: string;
8
+ }
@@ -1,4 +1,4 @@
1
- import type { AiWorkflowExclusionScope } from '../schemas/AiWorkflowExclusionScope';
1
+ import type { AiWorkflowIncludeScope } from '../schemas/AiWorkflowIncludeScope';
2
2
  import type { AiWorkflowInfrastructureConfig } from '../schemas/AiWorkflowInfrastructureConfig';
3
3
  import type { AiWorkflowTriggerConfig } from '../schemas/AiWorkflowTriggerConfig';
4
4
  import type { AiWorkflowTypeEnum } from '../schemas/AiWorkflowTypeEnum';
@@ -7,7 +7,7 @@ export interface AiWorkflowConfigRequest {
7
7
  * Master on/off switch for the remediation agent
8
8
  */
9
9
  enabled: boolean;
10
- exclusion_scope?: AiWorkflowExclusionScope;
10
+ include_scope?: AiWorkflowIncludeScope;
11
11
  infrastructure?: AiWorkflowInfrastructureConfig;
12
12
  /**
13
13
  * Risk categories to monitor (e.g. Remote Code Execution, SQL Injection). Stored in v3; enforcement deferred to v4.
@@ -17,6 +17,10 @@ export interface AiWorkflowConfigRequest {
17
17
  * FP Triage "Scan Types to Triage" filter. Allowed tokens: SCA, SAST, CONTAINER, SECRET, IAC, DAST. Subset of scan types whose findings the agent triages; empty/absent means all supported types. Forwarded to the pre-plugin and applied at the sto-core occurrences-in-scope query.
18
18
  */
19
19
  scan_types?: string[];
20
+ /**
21
+ * FP Triage "Severities to Triage" filter. Allowed tokens: CRITICAL, HIGH, MEDIUM, LOW, INFO. Subset of severities whose findings the agent triages; empty/absent means all severities. Forwarded to the pre-plugin and applied at the sto-core occurrences-in-scope query.
22
+ */
23
+ severity_types?: string[];
20
24
  trigger_config?: AiWorkflowTriggerConfig;
21
25
  workflow_type?: AiWorkflowTypeEnum;
22
26
  }
@@ -1,4 +1,4 @@
1
- import type { AiWorkflowExclusionScope } from '../schemas/AiWorkflowExclusionScope';
1
+ import type { AiWorkflowIncludeScope } from '../schemas/AiWorkflowIncludeScope';
2
2
  import type { AiWorkflowInfrastructureConfig } from '../schemas/AiWorkflowInfrastructureConfig';
3
3
  import type { AiWorkflowTriggerConfig } from '../schemas/AiWorkflowTriggerConfig';
4
4
  import type { AiWorkflowTypeEnum } from '../schemas/AiWorkflowTypeEnum';
@@ -16,7 +16,7 @@ export interface AiWorkflowConfigResponse {
16
16
  * Whether the AI workflow is enabled for this account
17
17
  */
18
18
  enabled?: boolean;
19
- exclusion_scope?: AiWorkflowExclusionScope;
19
+ include_scope?: AiWorkflowIncludeScope;
20
20
  infrastructure?: AiWorkflowInfrastructureConfig;
21
21
  /**
22
22
  * Organization identifier (null for account-global configs)
@@ -31,6 +31,10 @@ export interface AiWorkflowConfigResponse {
31
31
  * FP Triage "Scan Types to Triage" filter. Allowed tokens: SCA, SAST, CONTAINER, SECRET, IAC, DAST. Empty/absent means all supported types.
32
32
  */
33
33
  scan_types?: string[];
34
+ /**
35
+ * FP Triage "Severities to Triage" filter. Allowed tokens: CRITICAL, HIGH, MEDIUM, LOW, INFO. Empty/absent means all severities.
36
+ */
37
+ severity_types?: string[];
34
38
  trigger_config?: AiWorkflowTriggerConfig;
35
39
  /**
36
40
  * Last updated timestamp in milliseconds
@@ -0,0 +1,6 @@
1
+ export interface AiWorkflowConfigYamlRequest {
2
+ /**
3
+ * Stringified YAML of the agent configuration
4
+ */
5
+ yaml: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ export interface AiWorkflowConfigYamlResponse {
2
+ /**
3
+ * Stringified YAML of the agent configuration
4
+ */
5
+ yaml?: string;
6
+ }
@@ -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,14 @@
1
+ import type { AiWorkflowScopeEntry } from '../schemas/AiWorkflowScopeEntry';
2
+ /**
3
+ * Inclusion scope for agent triggering. type=ALL (or unset) includes every (org, project); type=SPECIFIC restricts triggering to the listed scopes only.
4
+ */
5
+ export interface AiWorkflowIncludeScope {
6
+ /**
7
+ * (orgId, projectId) pairs eligible for triggering. Required and non-empty when type=SPECIFIC; ignored when type=ALL.
8
+ */
9
+ scopes?: AiWorkflowScopeEntry[];
10
+ /**
11
+ * ALL includes every scope; SPECIFIC restricts triggering to the listed scopes.
12
+ */
13
+ type?: 'ALL' | 'SPECIFIC';
14
+ }
@@ -0,0 +1,10 @@
1
+ export interface AiWorkflowScopeEntry {
2
+ /**
3
+ * Organization identifier to include
4
+ */
5
+ orgId?: string;
6
+ /**
7
+ * Project identifier to include (within the given org)
8
+ */
9
+ projectId?: 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 {};
@@ -1,3 +1,4 @@
1
+ import type { AiBomSummaryResponse } from '../schemas/AiBomSummaryResponse';
1
2
  import type { ComplianceEvaluationSummary } from '../schemas/ComplianceEvaluationSummary';
2
3
  import type { DriftDetailsDto } from '../schemas/DriftDetailsDto';
3
4
  import type { RepositoryPlatform } from '../schemas/RepositoryPlatform';
@@ -7,6 +8,7 @@ import type { ArtifactVariant } from '../schemas/ArtifactVariant';
7
8
  import type { Violations } from '../schemas/Violations';
8
9
  import type { StoIssueCount } from '../schemas/StoIssueCount';
9
10
  export interface CodeRepositoryOverview {
11
+ aibom_details?: AiBomSummaryResponse;
10
12
  compliance_summary?: ComplianceEvaluationSummary;
11
13
  drift_summary?: DriftDetailsDto;
12
14
  last_commit?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.84.27",
3
+ "version": "0.84.29",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,10 +0,0 @@
1
- export interface AiWorkflowExcludedScope {
2
- /**
3
- * Organization identifier to exclude
4
- */
5
- org_identifier?: string;
6
- /**
7
- * Project identifier to exclude (within the given org)
8
- */
9
- project_identifier?: string;
10
- }
@@ -1,23 +0,0 @@
1
- import type { AiWorkflowExcludedScope } from '../schemas/AiWorkflowExcludedScope';
2
- export interface AiWorkflowExclusionScope {
3
- /**
4
- * Artifact name glob patterns to exclude from identification (e.g. "org/frontend-app", "!*-SNAPSHOT")
5
- */
6
- exclude_artifact_patterns?: string[];
7
- /**
8
- * Repository name glob patterns to exclude from identification (e.g. "*-test", "dev-*")
9
- */
10
- exclude_repo_patterns?: string[];
11
- /**
12
- * Organization identifiers to exclude from identification scans
13
- */
14
- excluded_org_ids?: string[];
15
- /**
16
- * Project identifiers to exclude from identification scans
17
- */
18
- excluded_project_ids?: string[];
19
- /**
20
- * FP Triage account-level exclusion: (org, project) pairs whose scan-completion events are skipped before any agent run. Evaluated against the originating scan scope.
21
- */
22
- excluded_scopes?: AiWorkflowExcludedScope[];
23
- }