@harnessio/react-ssca-manager-client 0.86.11 → 0.86.12

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.
@@ -1,3 +1,4 @@
1
+ import type { RspmScannerId } from '../schemas/RspmScannerId';
1
2
  import type { InfraConfigDto } from '../schemas/InfraConfigDto';
2
3
  import type { IntegrationType } from '../schemas/IntegrationType';
3
4
  export interface CreateIntegrationRequest {
@@ -11,9 +12,9 @@ export interface CreateIntegrationRequest {
11
12
  */
12
13
  cron_expression?: string;
13
14
  /**
14
- * Flat list of enabled scanner identifiers (e.g. SEMGREP, WIZ, CHECKMARX)
15
+ * Enabled sequential RSPM scanners. Values must match RspmScannerId.
15
16
  */
16
- enabled_scanners?: string[];
17
+ enabled_scanners?: RspmScannerId[];
17
18
  infra_config?: InfraConfigDto;
18
19
  installation_id?: string;
19
20
  /**
@@ -10,7 +10,7 @@ export interface Integration {
10
10
  */
11
11
  cron_expression?: string;
12
12
  /**
13
- * Flat list of enabled scanner identifiers
13
+ * Stored enabled sequential RSPM scanner identifiers
14
14
  */
15
15
  enabled_scanners?: string[];
16
16
  id?: string;
@@ -1,4 +1,4 @@
1
1
  /**
2
- * Supported STO RSPM sequential scanner identifiers
2
+ * Supported RSPM sequential scanner identifiers (STO scanners plus serial SCS steps)
3
3
  */
4
- export type RspmScannerId = 'CHECKMARX_ONE' | 'CHECKOV' | 'SNYK' | 'WIZ';
4
+ export type RspmScannerId = 'CHECKMARX_ONE' | 'CHECKOV' | 'GENERATE_SBOM' | 'SNYK' | 'SSCA_COMPLIANCE' | 'WIZ';
@@ -1,4 +1,4 @@
1
1
  /**
2
- * Scan types supported by an RSPM scanner (derived from STO step categories, excluding DAST and Container)
2
+ * Scan types supported by an RSPM scanner. STO scanners derive these from step categories (excluding DAST and Container). Serial SCS scanners are hardcoded to SUPPLY_CHAIN.
3
3
  */
4
- export type RspmScannerType = 'IAC' | 'SAST' | 'SCA' | 'SECRET';
4
+ export type RspmScannerType = 'IAC' | 'SAST' | 'SCA' | 'SECRET' | 'SUPPLY_CHAIN';
@@ -1,3 +1,4 @@
1
+ import type { RspmScannerId } from '../schemas/RspmScannerId';
1
2
  import type { InfraConfigDto } from '../schemas/InfraConfigDto';
2
3
  /**
3
4
  * Partial update of RSPM scan configuration on an existing integration. Only supplied fields are updated; `type` and `connector_id` are immutable after create.
@@ -12,9 +13,9 @@ export interface UpdateIntegrationRspmRequest {
12
13
  */
13
14
  cron_expression?: string;
14
15
  /**
15
- * Flat list of enabled scanner identifiers (e.g. SEMGREP, WIZ, CHECKMARX)
16
+ * Enabled sequential RSPM scanners. Values must match RspmScannerId.
16
17
  */
17
- enabled_scanners?: string[];
18
+ enabled_scanners?: RspmScannerId[];
18
19
  infra_config?: InfraConfigDto;
19
20
  /**
20
21
  * Map of scanner identifier to scanner configuration catalog id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.86.11",
3
+ "version": "0.86.12",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",