@rasadov/lumoar 2.1.3 → 2.1.4

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/api.d.ts CHANGED
@@ -13,6 +13,25 @@ import type { Configuration } from './configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import type { RequestArgs } from './base';
15
15
  import { BaseAPI } from './base';
16
+ /**
17
+ * Response for AWS setup info: values the user must add to their IAM role trust policy for cross-account access. external_id is generated by the backend and stored briefly; the user must complete POST /aws/setup within the TTL window.
18
+ * @export
19
+ * @interface AWSSetupInfoResponse
20
+ */
21
+ export interface AWSSetupInfoResponse {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof AWSSetupInfoResponse
26
+ */
27
+ 'lumoar_account_id': string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof AWSSetupInfoResponse
32
+ */
33
+ 'external_id': string;
34
+ }
16
35
  /**
17
36
  * Schema for actor information in API responses.
18
37
  * @export
@@ -410,6 +429,7 @@ export declare const AuditLogAction: {
410
429
  readonly Create: "create";
411
430
  readonly Update: "update";
412
431
  readonly Delete: "delete";
432
+ readonly Revoke: "revoke";
413
433
  };
414
434
  export type AuditLogAction = typeof AuditLogAction[keyof typeof AuditLogAction];
415
435
  /**
@@ -429,6 +449,7 @@ export declare const AuditLogEntity: {
429
449
  readonly Assets: "assets";
430
450
  readonly Risks: "risks";
431
451
  readonly Integrations: "integrations";
452
+ readonly ApiKeys: "api_keys";
432
453
  };
433
454
  export type AuditLogEntity = typeof AuditLogEntity[keyof typeof AuditLogEntity];
434
455
  /**
@@ -1073,7 +1094,7 @@ export interface ComplianceReportUploadConfirmRequest {
1073
1094
  'period_end'?: string | null;
1074
1095
  }
1075
1096
  /**
1076
- * Request to setup an AWS provider via cross-account IAM role access. This schema is used for configuring AWS cross-account access. Users create an IAM role in their AWS account and provide the role ARN and external ID. No AWS credentials are stored - only configuration for secure cross-account access.
1097
+ * Request to setup an AWS provider via cross-account IAM role access. Users create an IAM role in their AWS account using lumoar_account_id and external_id from GET /aws/setup-info, then provide the role ARN here. External ID is supplied by the backend (from setup-info), not the client.
1077
1098
  * @export
1078
1099
  * @interface ConnectAWSProviderRequest
1079
1100
  */
@@ -1096,12 +1117,6 @@ export interface ConnectAWSProviderRequest {
1096
1117
  * @memberof ConnectAWSProviderRequest
1097
1118
  */
1098
1119
  'role_arn': string;
1099
- /**
1100
- *
1101
- * @type {string}
1102
- * @memberof ConnectAWSProviderRequest
1103
- */
1104
- 'external_id': string;
1105
1120
  }
1106
1121
  /**
1107
1122
  *
@@ -2504,6 +2519,12 @@ export interface LinkProviderResponse {
2504
2519
  * @memberof LinkProviderResponse
2505
2520
  */
2506
2521
  'mappings_created': number;
2522
+ /**
2523
+ *
2524
+ * @type {string}
2525
+ * @memberof LinkProviderResponse
2526
+ */
2527
+ 'company_id'?: string | null;
2507
2528
  }
2508
2529
  /**
2509
2530
  * Response for listing audit logs
package/dist/api.js CHANGED
@@ -45,7 +45,8 @@ export const AuditLogAction = {
45
45
  Invite: 'invite',
46
46
  Create: 'create',
47
47
  Update: 'update',
48
- Delete: 'delete'
48
+ Delete: 'delete',
49
+ Revoke: 'revoke'
49
50
  };
50
51
  /**
51
52
  *
@@ -63,7 +64,8 @@ export const AuditLogEntity = {
63
64
  Vendors: 'vendors',
64
65
  Assets: 'assets',
65
66
  Risks: 'risks',
66
- Integrations: 'integrations'
67
+ Integrations: 'integrations',
68
+ ApiKeys: 'api_keys'
67
69
  };
68
70
  /**
69
71
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rasadov/lumoar",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "Lumoar API SDK for public use (API key authentication)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",