@rasadov/lumoar 2.1.3 → 2.1.5
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 +34 -7
- package/dist/api.js +4 -2
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -13,6 +13,31 @@ 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 for cross-account IAM trust policy. User gets quick_connect_url to deploy the CloudFormation stack, then completes POST /aws/setup with account_id and role_arn. external_id is stored briefly; complete POST /aws/setup within the TTL.
|
|
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
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof AWSSetupInfoResponse
|
|
38
|
+
*/
|
|
39
|
+
'quick_connect_url'?: string | null;
|
|
40
|
+
}
|
|
16
41
|
/**
|
|
17
42
|
* Schema for actor information in API responses.
|
|
18
43
|
* @export
|
|
@@ -410,6 +435,7 @@ export declare const AuditLogAction: {
|
|
|
410
435
|
readonly Create: "create";
|
|
411
436
|
readonly Update: "update";
|
|
412
437
|
readonly Delete: "delete";
|
|
438
|
+
readonly Revoke: "revoke";
|
|
413
439
|
};
|
|
414
440
|
export type AuditLogAction = typeof AuditLogAction[keyof typeof AuditLogAction];
|
|
415
441
|
/**
|
|
@@ -429,6 +455,7 @@ export declare const AuditLogEntity: {
|
|
|
429
455
|
readonly Assets: "assets";
|
|
430
456
|
readonly Risks: "risks";
|
|
431
457
|
readonly Integrations: "integrations";
|
|
458
|
+
readonly ApiKeys: "api_keys";
|
|
432
459
|
};
|
|
433
460
|
export type AuditLogEntity = typeof AuditLogEntity[keyof typeof AuditLogEntity];
|
|
434
461
|
/**
|
|
@@ -1073,7 +1100,7 @@ export interface ComplianceReportUploadConfirmRequest {
|
|
|
1073
1100
|
'period_end'?: string | null;
|
|
1074
1101
|
}
|
|
1075
1102
|
/**
|
|
1076
|
-
* Request to setup an AWS provider via cross-account IAM role access.
|
|
1103
|
+
* Request to setup an AWS provider via cross-account IAM role access. One-click: create an IAM role that trusts Lumoar\'s account ID and submit the role ARN here. Optional: call GET /aws/setup-info and add the returned external_id to your trust policy for stronger security.
|
|
1077
1104
|
* @export
|
|
1078
1105
|
* @interface ConnectAWSProviderRequest
|
|
1079
1106
|
*/
|
|
@@ -1096,12 +1123,6 @@ export interface ConnectAWSProviderRequest {
|
|
|
1096
1123
|
* @memberof ConnectAWSProviderRequest
|
|
1097
1124
|
*/
|
|
1098
1125
|
'role_arn': string;
|
|
1099
|
-
/**
|
|
1100
|
-
*
|
|
1101
|
-
* @type {string}
|
|
1102
|
-
* @memberof ConnectAWSProviderRequest
|
|
1103
|
-
*/
|
|
1104
|
-
'external_id': string;
|
|
1105
1126
|
}
|
|
1106
1127
|
/**
|
|
1107
1128
|
*
|
|
@@ -2504,6 +2525,12 @@ export interface LinkProviderResponse {
|
|
|
2504
2525
|
* @memberof LinkProviderResponse
|
|
2505
2526
|
*/
|
|
2506
2527
|
'mappings_created': number;
|
|
2528
|
+
/**
|
|
2529
|
+
*
|
|
2530
|
+
* @type {string}
|
|
2531
|
+
* @memberof LinkProviderResponse
|
|
2532
|
+
*/
|
|
2533
|
+
'company_id'?: string | null;
|
|
2507
2534
|
}
|
|
2508
2535
|
/**
|
|
2509
2536
|
* 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
|
*
|