@aws-sdk/client-securityhub 3.1080.0 → 3.1082.0
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/README.md +49 -0
- package/dist-cjs/index.js +459 -51
- package/dist-es/SecurityHub.js +14 -0
- package/dist-es/commands/CreateConnectorCommand.js +4 -0
- package/dist-es/commands/DeleteConnectorCommand.js +4 -0
- package/dist-es/commands/DisableSecurityHubFeatureV2Command.js +4 -0
- package/dist-es/commands/EnableSecurityHubFeatureV2Command.js +4 -0
- package/dist-es/commands/GetConnectorCommand.js +4 -0
- package/dist-es/commands/ListConnectorsCommand.js +4 -0
- package/dist-es/commands/UpdateConnectorCommand.js +4 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/enums.js +96 -0
- package/dist-es/schemas/schemas_0.js +284 -50
- package/dist-types/SecurityHub.d.ts +50 -0
- package/dist-types/SecurityHubClient.d.ts +9 -2
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +2 -1
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +2 -1
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +1 -0
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +11 -1
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +3 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +3 -0
- package/dist-types/commands/CreateAutomationRuleV2Command.d.ts +2 -2
- package/dist-types/commands/CreateConnectorCommand.d.ts +151 -0
- package/dist-types/commands/CreateConnectorV2Command.d.ts +14 -1
- package/dist-types/commands/CreateInsightCommand.d.ts +3 -0
- package/dist-types/commands/DeleteConnectorCommand.d.ts +111 -0
- package/dist-types/commands/DeleteConnectorV2Command.d.ts +4 -2
- package/dist-types/commands/DescribeSecurityHubV2Command.d.ts +6 -0
- package/dist-types/commands/DescribeStandardsCommand.d.ts +4 -0
- package/dist-types/commands/DisableSecurityHubFeatureV2Command.d.ts +88 -0
- package/dist-types/commands/DisableSecurityHubV2Command.d.ts +1 -1
- package/dist-types/commands/EnableSecurityHubFeatureV2Command.d.ts +88 -0
- package/dist-types/commands/GetAutomationRuleV2Command.d.ts +2 -2
- package/dist-types/commands/GetConnectorCommand.d.ts +165 -0
- package/dist-types/commands/GetConnectorV2Command.d.ts +21 -1
- package/dist-types/commands/GetEnabledStandardsCommand.d.ts +5 -1
- package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +3 -3
- package/dist-types/commands/GetFindingsCommand.d.ts +14 -1
- package/dist-types/commands/GetFindingsTrendsV2Command.d.ts +2 -2
- package/dist-types/commands/GetFindingsV2Command.d.ts +2 -2
- package/dist-types/commands/GetInsightsCommand.d.ts +3 -0
- package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +3 -3
- package/dist-types/commands/GetResourcesTrendsV2Command.d.ts +2 -2
- package/dist-types/commands/GetResourcesV2Command.d.ts +10 -4
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListAggregatorsV2Command.d.ts +1 -1
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListAutomationRulesV2Command.d.ts +1 -1
- package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectorsCommand.d.ts +155 -0
- package/dist-types/commands/ListConnectorsV2Command.d.ts +34 -5
- package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +1 -1
- package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAutomationRuleV2Command.d.ts +2 -2
- package/dist-types/commands/UpdateConnectorCommand.d.ts +144 -0
- package/dist-types/commands/UpdateConnectorV2Command.d.ts +16 -2
- package/dist-types/commands/UpdateFindingsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/enums.d.ts +184 -0
- package/dist-types/models/models_0.d.ts +15 -0
- package/dist-types/models/models_2.d.ts +889 -635
- package/dist-types/models/models_3.d.ts +625 -4
- package/dist-types/schemas/schemas_0.d.ts +36 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +120 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/DeleteConnectorV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableSecurityHubFeatureV2Command.d.ts +44 -0
- package/dist-types/ts3.4/commands/EnableSecurityHubFeatureV2Command.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetConnectorCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAggregatorsV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAutomationRulesV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListConnectorsV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFindingAggregatorsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/UpdateConnectorV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/enums.d.ts +115 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/dist-types/ts3.4/models/models_2.d.ts +250 -152
- package/dist-types/ts3.4/models/models_3.d.ts +173 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +36 -0
- package/package.json +8 -8
|
@@ -4,15 +4,23 @@ import {
|
|
|
4
4
|
AssociationType,
|
|
5
5
|
AutoEnableStandards,
|
|
6
6
|
BatchUpdateFindingsV2UnprocessedFindingErrorCode,
|
|
7
|
+
CloudProviderName,
|
|
7
8
|
ConfigurationPolicyAssociationStatus,
|
|
8
9
|
ConnectorAuthStatus,
|
|
9
10
|
ConnectorProviderName,
|
|
10
11
|
ConnectorStatus,
|
|
11
12
|
ControlFindingGenerator,
|
|
12
13
|
ControlStatus,
|
|
14
|
+
CspmConnectorProviderName,
|
|
15
|
+
CspmConnectorStatus,
|
|
16
|
+
CspmEnablementStatus,
|
|
17
|
+
EnablementStatus,
|
|
18
|
+
FeatureName,
|
|
19
|
+
FeatureStatus,
|
|
13
20
|
FindingHistoryUpdateSourceType,
|
|
14
21
|
FindingsTrendsStringField,
|
|
15
22
|
GranularityField,
|
|
23
|
+
HealthIssueCode,
|
|
16
24
|
IntegrationType,
|
|
17
25
|
IntegrationV2Type,
|
|
18
26
|
OcsfBooleanField,
|
|
@@ -28,7 +36,6 @@ import {
|
|
|
28
36
|
RecommendationStatus,
|
|
29
37
|
RecommendationType,
|
|
30
38
|
RecordState,
|
|
31
|
-
RegionAvailabilityStatus,
|
|
32
39
|
ResourceCategory,
|
|
33
40
|
ResourcesDateField,
|
|
34
41
|
ResourcesMapField,
|
|
@@ -36,12 +43,14 @@ import {
|
|
|
36
43
|
ResourcesStringField,
|
|
37
44
|
ResourcesTrendsStringField,
|
|
38
45
|
RuleStatus,
|
|
39
|
-
|
|
46
|
+
ScopeType,
|
|
47
|
+
SecurityControlsProvider,
|
|
40
48
|
SecurityHubFeature,
|
|
41
49
|
SeverityLabel,
|
|
42
50
|
SeverityRating,
|
|
43
51
|
SortOrder,
|
|
44
52
|
StandardsControlsUpdatable,
|
|
53
|
+
StandardsProvider,
|
|
45
54
|
StandardsStatus,
|
|
46
55
|
StatusReasonCode,
|
|
47
56
|
TargetType,
|
|
@@ -61,13 +70,9 @@ import {
|
|
|
61
70
|
Action,
|
|
62
71
|
ActionTarget,
|
|
63
72
|
Adjustment,
|
|
64
|
-
AggregatorV2,
|
|
65
|
-
AssociationFilters,
|
|
66
73
|
AutomationRulesAction,
|
|
67
74
|
AutomationRulesConfig,
|
|
68
75
|
AutomationRulesFindingFilters,
|
|
69
|
-
AutomationRulesMetadata,
|
|
70
|
-
AutomationRulesMetadataV2,
|
|
71
76
|
AwsAmazonMqBrokerDetails,
|
|
72
77
|
AwsApiGatewayRestApiDetails,
|
|
73
78
|
AwsApiGatewayStageDetails,
|
|
@@ -422,12 +427,25 @@ export interface ResourceDetails {
|
|
|
422
427
|
AwsS3AccessPoint?: AwsS3AccessPointDetails | undefined;
|
|
423
428
|
AwsEc2ClientVpnEndpoint?: AwsEc2ClientVpnEndpointDetails | undefined;
|
|
424
429
|
CodeRepository?: CodeRepositoryDetails | undefined;
|
|
430
|
+
AzureResource?: __DocumentType | undefined;
|
|
431
|
+
}
|
|
432
|
+
export interface ResourceOwnerAccount {
|
|
433
|
+
Id?: string | undefined;
|
|
434
|
+
}
|
|
435
|
+
export interface ResourceOwnerOrg {
|
|
436
|
+
Id?: string | undefined;
|
|
437
|
+
}
|
|
438
|
+
export interface ResourceOwner {
|
|
439
|
+
Account?: ResourceOwnerAccount | undefined;
|
|
440
|
+
Org?: ResourceOwnerOrg | undefined;
|
|
425
441
|
}
|
|
426
442
|
export interface Resource {
|
|
427
443
|
Type: string | undefined;
|
|
428
444
|
Id: string | undefined;
|
|
429
445
|
Partition?: Partition | undefined;
|
|
430
446
|
Region?: string | undefined;
|
|
447
|
+
Provider?: CloudProviderName | undefined;
|
|
448
|
+
Owner?: ResourceOwner | undefined;
|
|
431
449
|
ResourceRole?: string | undefined;
|
|
432
450
|
Tags?: Record<string, string> | undefined;
|
|
433
451
|
DataClassification?: DataClassificationDetails | undefined;
|
|
@@ -676,11 +694,32 @@ export interface AwsSecurityFindingFilters {
|
|
|
676
694
|
AwsAccountName?: StringFilter[] | undefined;
|
|
677
695
|
ResourceApplicationName?: StringFilter[] | undefined;
|
|
678
696
|
ResourceApplicationArn?: StringFilter[] | undefined;
|
|
697
|
+
ResourceOwnerAccountId?: StringFilter[] | undefined;
|
|
698
|
+
ResourceOwnerOrgId?: StringFilter[] | undefined;
|
|
699
|
+
ResourceProvider?: StringFilter[] | undefined;
|
|
679
700
|
}
|
|
680
701
|
export interface AwsSecurityFindingIdentifier {
|
|
681
702
|
Id: string | undefined;
|
|
682
703
|
ProductArn: string | undefined;
|
|
683
704
|
}
|
|
705
|
+
export interface AzureScopeConfiguration {
|
|
706
|
+
ScopeType: ScopeType | undefined;
|
|
707
|
+
ScopeValues?: string[] | undefined;
|
|
708
|
+
}
|
|
709
|
+
export interface AzureDetail {
|
|
710
|
+
AWSConfigConnectorArn: string | undefined;
|
|
711
|
+
ScopeConfiguration: AzureScopeConfiguration | undefined;
|
|
712
|
+
AzureRegions: string[] | undefined;
|
|
713
|
+
}
|
|
714
|
+
export interface AzureProviderConfiguration {
|
|
715
|
+
AWSConfigConnectorArn: string | undefined;
|
|
716
|
+
ScopeConfiguration: AzureScopeConfiguration | undefined;
|
|
717
|
+
AzureRegions: string[] | undefined;
|
|
718
|
+
}
|
|
719
|
+
export interface AzureUpdateConfiguration {
|
|
720
|
+
ScopeConfiguration: AzureScopeConfiguration | undefined;
|
|
721
|
+
AzureRegions: string[] | undefined;
|
|
722
|
+
}
|
|
684
723
|
export interface BatchDeleteAutomationRulesRequest {
|
|
685
724
|
AutomationRulesArns: string[] | undefined;
|
|
686
725
|
}
|
|
@@ -706,6 +745,7 @@ export interface StandardsSubscription {
|
|
|
706
745
|
StandardsStatus: StandardsStatus | undefined;
|
|
707
746
|
StandardsControlsUpdatable?: StandardsControlsUpdatable | undefined;
|
|
708
747
|
StandardsStatusReason?: StandardsStatusReason | undefined;
|
|
748
|
+
Provider?: StandardsProvider | undefined;
|
|
709
749
|
}
|
|
710
750
|
export interface BatchDisableStandardsResponse {
|
|
711
751
|
StandardsSubscriptions?: StandardsSubscription[] | undefined;
|
|
@@ -936,6 +976,7 @@ export interface SecurityControl {
|
|
|
936
976
|
UpdateStatus?: UpdateStatus | undefined;
|
|
937
977
|
Parameters?: Record<string, ParameterConfiguration> | undefined;
|
|
938
978
|
LastUpdateReason?: string | undefined;
|
|
979
|
+
Provider?: SecurityControlsProvider | undefined;
|
|
939
980
|
}
|
|
940
981
|
export interface UnprocessedSecurityControl {
|
|
941
982
|
SecurityControlId: string | undefined;
|
|
@@ -1273,9 +1314,59 @@ export interface ConfigurationPolicySummary {
|
|
|
1273
1314
|
UpdatedAt?: Date | undefined;
|
|
1274
1315
|
ServiceEnabled?: boolean | undefined;
|
|
1275
1316
|
}
|
|
1317
|
+
export interface JiraCloudDetail {
|
|
1318
|
+
CloudId?: string | undefined;
|
|
1319
|
+
ProjectKey?: string | undefined;
|
|
1320
|
+
Domain?: string | undefined;
|
|
1321
|
+
AuthUrl?: string | undefined;
|
|
1322
|
+
AuthStatus?: ConnectorAuthStatus | undefined;
|
|
1323
|
+
}
|
|
1324
|
+
export interface ServiceNowDetail {
|
|
1325
|
+
InstanceName?: string | undefined;
|
|
1326
|
+
SecretArn: string | undefined;
|
|
1327
|
+
AuthStatus: ConnectorAuthStatus | undefined;
|
|
1328
|
+
}
|
|
1329
|
+
export type ProviderDetail =
|
|
1330
|
+
| ProviderDetail.AzureMember
|
|
1331
|
+
| ProviderDetail.JiraCloudMember
|
|
1332
|
+
| ProviderDetail.ServiceNowMember
|
|
1333
|
+
| ProviderDetail.$UnknownMember;
|
|
1334
|
+
export declare namespace ProviderDetail {
|
|
1335
|
+
interface JiraCloudMember {
|
|
1336
|
+
JiraCloud: JiraCloudDetail;
|
|
1337
|
+
ServiceNow?: never;
|
|
1338
|
+
Azure?: never;
|
|
1339
|
+
$unknown?: never;
|
|
1340
|
+
}
|
|
1341
|
+
interface ServiceNowMember {
|
|
1342
|
+
JiraCloud?: never;
|
|
1343
|
+
ServiceNow: ServiceNowDetail;
|
|
1344
|
+
Azure?: never;
|
|
1345
|
+
$unknown?: never;
|
|
1346
|
+
}
|
|
1347
|
+
interface AzureMember {
|
|
1348
|
+
JiraCloud?: never;
|
|
1349
|
+
ServiceNow?: never;
|
|
1350
|
+
Azure: AzureDetail;
|
|
1351
|
+
$unknown?: never;
|
|
1352
|
+
}
|
|
1353
|
+
interface $UnknownMember {
|
|
1354
|
+
JiraCloud?: never;
|
|
1355
|
+
ServiceNow?: never;
|
|
1356
|
+
Azure?: never;
|
|
1357
|
+
$unknown: [string, any];
|
|
1358
|
+
}
|
|
1359
|
+
interface Visitor<T> {
|
|
1360
|
+
JiraCloud: (value: JiraCloudDetail) => T;
|
|
1361
|
+
ServiceNow: (value: ServiceNowDetail) => T;
|
|
1362
|
+
Azure: (value: AzureDetail) => T;
|
|
1363
|
+
_: (name: string, value: any) => T;
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1276
1366
|
export interface ProviderSummary {
|
|
1277
1367
|
ProviderName?: ConnectorProviderName | undefined;
|
|
1278
1368
|
ConnectorStatus?: ConnectorStatus | undefined;
|
|
1369
|
+
ProviderConfiguration?: ProviderDetail | undefined;
|
|
1279
1370
|
}
|
|
1280
1371
|
export interface ConnectorSummary {
|
|
1281
1372
|
ConnectorArn?: string | undefined;
|
|
@@ -1284,6 +1375,8 @@ export interface ConnectorSummary {
|
|
|
1284
1375
|
Description?: string | undefined;
|
|
1285
1376
|
ProviderSummary: ProviderSummary | undefined;
|
|
1286
1377
|
CreatedAt: Date | undefined;
|
|
1378
|
+
EnablementStatus?: EnablementStatus | undefined;
|
|
1379
|
+
EnablementStatusReason?: string | undefined;
|
|
1287
1380
|
}
|
|
1288
1381
|
export interface CreateActionTargetRequest {
|
|
1289
1382
|
Name: string | undefined;
|
|
@@ -1368,6 +1461,36 @@ export interface CreateConfigurationPolicyResponse {
|
|
|
1368
1461
|
CreatedAt?: Date | undefined;
|
|
1369
1462
|
ConfigurationPolicy?: Policy | undefined;
|
|
1370
1463
|
}
|
|
1464
|
+
export type CspmProviderConfiguration =
|
|
1465
|
+
| CspmProviderConfiguration.AzureMember
|
|
1466
|
+
| CspmProviderConfiguration.$UnknownMember;
|
|
1467
|
+
export declare namespace CspmProviderConfiguration {
|
|
1468
|
+
interface AzureMember {
|
|
1469
|
+
Azure: AzureProviderConfiguration;
|
|
1470
|
+
$unknown?: never;
|
|
1471
|
+
}
|
|
1472
|
+
interface $UnknownMember {
|
|
1473
|
+
Azure?: never;
|
|
1474
|
+
$unknown: [string, any];
|
|
1475
|
+
}
|
|
1476
|
+
interface Visitor<T> {
|
|
1477
|
+
Azure: (value: AzureProviderConfiguration) => T;
|
|
1478
|
+
_: (name: string, value: any) => T;
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
export interface CreateConnectorRequest {
|
|
1482
|
+
Name: string | undefined;
|
|
1483
|
+
Description?: string | undefined;
|
|
1484
|
+
Provider: CspmProviderConfiguration | undefined;
|
|
1485
|
+
Tags?: Record<string, string> | undefined;
|
|
1486
|
+
ClientToken?: string | undefined;
|
|
1487
|
+
}
|
|
1488
|
+
export interface CreateConnectorResponse {
|
|
1489
|
+
ConnectorArn: string | undefined;
|
|
1490
|
+
ConnectorId: string | undefined;
|
|
1491
|
+
ConnectorStatus?: CspmConnectorStatus | undefined;
|
|
1492
|
+
EnablementStatus?: CspmEnablementStatus | undefined;
|
|
1493
|
+
}
|
|
1371
1494
|
export interface JiraCloudProviderConfiguration {
|
|
1372
1495
|
ProjectKey?: string | undefined;
|
|
1373
1496
|
}
|
|
@@ -1376,6 +1499,7 @@ export interface ServiceNowProviderConfiguration {
|
|
|
1376
1499
|
SecretArn: string | undefined;
|
|
1377
1500
|
}
|
|
1378
1501
|
export type ProviderConfiguration =
|
|
1502
|
+
| ProviderConfiguration.AzureMember
|
|
1379
1503
|
| ProviderConfiguration.JiraCloudMember
|
|
1380
1504
|
| ProviderConfiguration.ServiceNowMember
|
|
1381
1505
|
| ProviderConfiguration.$UnknownMember;
|
|
@@ -1383,21 +1507,31 @@ export declare namespace ProviderConfiguration {
|
|
|
1383
1507
|
interface JiraCloudMember {
|
|
1384
1508
|
JiraCloud: JiraCloudProviderConfiguration;
|
|
1385
1509
|
ServiceNow?: never;
|
|
1510
|
+
Azure?: never;
|
|
1386
1511
|
$unknown?: never;
|
|
1387
1512
|
}
|
|
1388
1513
|
interface ServiceNowMember {
|
|
1389
1514
|
JiraCloud?: never;
|
|
1390
1515
|
ServiceNow: ServiceNowProviderConfiguration;
|
|
1516
|
+
Azure?: never;
|
|
1517
|
+
$unknown?: never;
|
|
1518
|
+
}
|
|
1519
|
+
interface AzureMember {
|
|
1520
|
+
JiraCloud?: never;
|
|
1521
|
+
ServiceNow?: never;
|
|
1522
|
+
Azure: AzureProviderConfiguration;
|
|
1391
1523
|
$unknown?: never;
|
|
1392
1524
|
}
|
|
1393
1525
|
interface $UnknownMember {
|
|
1394
1526
|
JiraCloud?: never;
|
|
1395
1527
|
ServiceNow?: never;
|
|
1528
|
+
Azure?: never;
|
|
1396
1529
|
$unknown: [string, any];
|
|
1397
1530
|
}
|
|
1398
1531
|
interface Visitor<T> {
|
|
1399
1532
|
JiraCloud: (value: JiraCloudProviderConfiguration) => T;
|
|
1400
1533
|
ServiceNow: (value: ServiceNowProviderConfiguration) => T;
|
|
1534
|
+
Azure: (value: AzureProviderConfiguration) => T;
|
|
1401
1535
|
_: (name: string, value: any) => T;
|
|
1402
1536
|
}
|
|
1403
1537
|
}
|
|
@@ -1414,6 +1548,7 @@ export interface CreateConnectorV2Response {
|
|
|
1414
1548
|
ConnectorId: string | undefined;
|
|
1415
1549
|
AuthUrl?: string | undefined;
|
|
1416
1550
|
ConnectorStatus?: ConnectorStatus | undefined;
|
|
1551
|
+
EnablementStatus?: EnablementStatus | undefined;
|
|
1417
1552
|
}
|
|
1418
1553
|
export interface CreateFindingAggregatorRequest {
|
|
1419
1554
|
RegionLinkingMode: string | undefined;
|
|
@@ -1453,6 +1588,65 @@ export interface CreateTicketV2Response {
|
|
|
1453
1588
|
TicketId: string | undefined;
|
|
1454
1589
|
TicketSrcUrl?: string | undefined;
|
|
1455
1590
|
}
|
|
1591
|
+
export type CspmProviderDetail =
|
|
1592
|
+
| CspmProviderDetail.AzureMember
|
|
1593
|
+
| CspmProviderDetail.$UnknownMember;
|
|
1594
|
+
export declare namespace CspmProviderDetail {
|
|
1595
|
+
interface AzureMember {
|
|
1596
|
+
Azure: AzureDetail;
|
|
1597
|
+
$unknown?: never;
|
|
1598
|
+
}
|
|
1599
|
+
interface $UnknownMember {
|
|
1600
|
+
Azure?: never;
|
|
1601
|
+
$unknown: [string, any];
|
|
1602
|
+
}
|
|
1603
|
+
interface Visitor<T> {
|
|
1604
|
+
Azure: (value: AzureDetail) => T;
|
|
1605
|
+
_: (name: string, value: any) => T;
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1608
|
+
export interface CspmProviderSummary {
|
|
1609
|
+
ProviderName?: CspmConnectorProviderName | undefined;
|
|
1610
|
+
ConnectorStatus?: CspmConnectorStatus | undefined;
|
|
1611
|
+
ProviderConfiguration?: CspmProviderDetail | undefined;
|
|
1612
|
+
}
|
|
1613
|
+
export interface CspmConnectorSummary {
|
|
1614
|
+
ConnectorArn?: string | undefined;
|
|
1615
|
+
ConnectorId?: string | undefined;
|
|
1616
|
+
Name?: string | undefined;
|
|
1617
|
+
Description?: string | undefined;
|
|
1618
|
+
ProviderSummary?: CspmProviderSummary | undefined;
|
|
1619
|
+
CreatedAt?: Date | undefined;
|
|
1620
|
+
CreatedBy?: string | undefined;
|
|
1621
|
+
EnablementStatus?: CspmEnablementStatus | undefined;
|
|
1622
|
+
}
|
|
1623
|
+
export interface HealthIssue {
|
|
1624
|
+
Code: HealthIssueCode | undefined;
|
|
1625
|
+
Message: string | undefined;
|
|
1626
|
+
}
|
|
1627
|
+
export interface CspmHealthCheck {
|
|
1628
|
+
ConnectorStatus: CspmConnectorStatus | undefined;
|
|
1629
|
+
Message?: string | undefined;
|
|
1630
|
+
LastCheckedAt: Date | undefined;
|
|
1631
|
+
Issues?: HealthIssue[] | undefined;
|
|
1632
|
+
}
|
|
1633
|
+
export type CspmProviderUpdateConfiguration =
|
|
1634
|
+
| CspmProviderUpdateConfiguration.AzureMember
|
|
1635
|
+
| CspmProviderUpdateConfiguration.$UnknownMember;
|
|
1636
|
+
export declare namespace CspmProviderUpdateConfiguration {
|
|
1637
|
+
interface AzureMember {
|
|
1638
|
+
Azure: AzureUpdateConfiguration;
|
|
1639
|
+
$unknown?: never;
|
|
1640
|
+
}
|
|
1641
|
+
interface $UnknownMember {
|
|
1642
|
+
Azure?: never;
|
|
1643
|
+
$unknown: [string, any];
|
|
1644
|
+
}
|
|
1645
|
+
interface Visitor<T> {
|
|
1646
|
+
Azure: (value: AzureUpdateConfiguration) => T;
|
|
1647
|
+
_: (name: string, value: any) => T;
|
|
1648
|
+
}
|
|
1649
|
+
}
|
|
1456
1650
|
export interface DeclineInvitationsRequest {
|
|
1457
1651
|
AccountIds: string[] | undefined;
|
|
1458
1652
|
}
|
|
@@ -1477,10 +1671,18 @@ export interface DeleteConfigurationPolicyRequest {
|
|
|
1477
1671
|
Identifier: string | undefined;
|
|
1478
1672
|
}
|
|
1479
1673
|
export interface DeleteConfigurationPolicyResponse {}
|
|
1674
|
+
export interface DeleteConnectorRequest {
|
|
1675
|
+
ConnectorId: string | undefined;
|
|
1676
|
+
}
|
|
1677
|
+
export interface DeleteConnectorResponse {
|
|
1678
|
+
EnablementStatus?: CspmEnablementStatus | undefined;
|
|
1679
|
+
}
|
|
1480
1680
|
export interface DeleteConnectorV2Request {
|
|
1481
1681
|
ConnectorId: string | undefined;
|
|
1482
1682
|
}
|
|
1483
|
-
export interface DeleteConnectorV2Response {
|
|
1683
|
+
export interface DeleteConnectorV2Response {
|
|
1684
|
+
EnablementStatus?: EnablementStatus | undefined;
|
|
1685
|
+
}
|
|
1484
1686
|
export interface DeleteFindingAggregatorRequest {
|
|
1485
1687
|
FindingAggregatorArn: string | undefined;
|
|
1486
1688
|
}
|
|
@@ -1572,13 +1774,19 @@ export interface DescribeProductsV2Response {
|
|
|
1572
1774
|
NextToken?: string | undefined;
|
|
1573
1775
|
}
|
|
1574
1776
|
export interface DescribeSecurityHubV2Request {}
|
|
1777
|
+
export interface FeatureDetail {
|
|
1778
|
+
FeatureStatus?: FeatureStatus | undefined;
|
|
1779
|
+
UpdatedAt?: Date | undefined;
|
|
1780
|
+
}
|
|
1575
1781
|
export interface DescribeSecurityHubV2Response {
|
|
1576
1782
|
HubV2Arn?: string | undefined;
|
|
1577
1783
|
SubscribedAt?: string | undefined;
|
|
1784
|
+
Features?: Record<string, FeatureDetail> | undefined;
|
|
1578
1785
|
}
|
|
1579
1786
|
export interface DescribeStandardsRequest {
|
|
1580
1787
|
NextToken?: string | undefined;
|
|
1581
1788
|
MaxResults?: number | undefined;
|
|
1789
|
+
Providers?: StandardsProvider[] | undefined;
|
|
1582
1790
|
}
|
|
1583
1791
|
export interface StandardsManagedBy {
|
|
1584
1792
|
Company?: string | undefined;
|
|
@@ -1589,6 +1797,7 @@ export interface Standard {
|
|
|
1589
1797
|
Name?: string | undefined;
|
|
1590
1798
|
Description?: string | undefined;
|
|
1591
1799
|
EnabledByDefault?: boolean | undefined;
|
|
1800
|
+
Provider?: StandardsProvider | undefined;
|
|
1592
1801
|
StandardsManagedBy?: StandardsManagedBy | undefined;
|
|
1593
1802
|
}
|
|
1594
1803
|
export interface DescribeStandardsResponse {
|
|
@@ -1627,6 +1836,10 @@ export interface DisableOrganizationAdminAccountRequest {
|
|
|
1627
1836
|
export interface DisableOrganizationAdminAccountResponse {}
|
|
1628
1837
|
export interface DisableSecurityHubRequest {}
|
|
1629
1838
|
export interface DisableSecurityHubResponse {}
|
|
1839
|
+
export interface DisableSecurityHubFeatureV2Request {
|
|
1840
|
+
FeatureName: FeatureName | undefined;
|
|
1841
|
+
}
|
|
1842
|
+
export interface DisableSecurityHubFeatureV2Response {}
|
|
1630
1843
|
export interface DisableSecurityHubV2Request {}
|
|
1631
1844
|
export interface DisableSecurityHubV2Response {}
|
|
1632
1845
|
export interface DisassociateFromAdministratorAccountRequest {}
|
|
@@ -1657,6 +1870,10 @@ export interface EnableSecurityHubRequest {
|
|
|
1657
1870
|
ControlFindingGenerator?: ControlFindingGenerator | undefined;
|
|
1658
1871
|
}
|
|
1659
1872
|
export interface EnableSecurityHubResponse {}
|
|
1873
|
+
export interface EnableSecurityHubFeatureV2Request {
|
|
1874
|
+
FeatureName: FeatureName | undefined;
|
|
1875
|
+
}
|
|
1876
|
+
export interface EnableSecurityHubFeatureV2Response {}
|
|
1660
1877
|
export interface EnableSecurityHubV2Request {
|
|
1661
1878
|
Tags?: Record<string, string> | undefined;
|
|
1662
1879
|
}
|
|
@@ -1740,6 +1957,21 @@ export interface GetConfigurationPolicyAssociationResponse {
|
|
|
1740
1957
|
AssociationStatus?: ConfigurationPolicyAssociationStatus | undefined;
|
|
1741
1958
|
AssociationStatusMessage?: string | undefined;
|
|
1742
1959
|
}
|
|
1960
|
+
export interface GetConnectorRequest {
|
|
1961
|
+
ConnectorId: string | undefined;
|
|
1962
|
+
}
|
|
1963
|
+
export interface GetConnectorResponse {
|
|
1964
|
+
ConnectorArn?: string | undefined;
|
|
1965
|
+
ConnectorId: string | undefined;
|
|
1966
|
+
Name: string | undefined;
|
|
1967
|
+
Description?: string | undefined;
|
|
1968
|
+
CreatedAt: Date | undefined;
|
|
1969
|
+
LastUpdatedAt: Date | undefined;
|
|
1970
|
+
Health: CspmHealthCheck | undefined;
|
|
1971
|
+
ProviderDetail: CspmProviderDetail | undefined;
|
|
1972
|
+
CreatedBy?: string | undefined;
|
|
1973
|
+
EnablementStatus?: CspmEnablementStatus | undefined;
|
|
1974
|
+
}
|
|
1743
1975
|
export interface GetConnectorV2Request {
|
|
1744
1976
|
ConnectorId: string | undefined;
|
|
1745
1977
|
}
|
|
@@ -1747,44 +1979,7 @@ export interface HealthCheck {
|
|
|
1747
1979
|
ConnectorStatus: ConnectorStatus | undefined;
|
|
1748
1980
|
Message?: string | undefined;
|
|
1749
1981
|
LastCheckedAt: Date | undefined;
|
|
1750
|
-
|
|
1751
|
-
export interface JiraCloudDetail {
|
|
1752
|
-
CloudId?: string | undefined;
|
|
1753
|
-
ProjectKey?: string | undefined;
|
|
1754
|
-
Domain?: string | undefined;
|
|
1755
|
-
AuthUrl?: string | undefined;
|
|
1756
|
-
AuthStatus?: ConnectorAuthStatus | undefined;
|
|
1757
|
-
}
|
|
1758
|
-
export interface ServiceNowDetail {
|
|
1759
|
-
InstanceName?: string | undefined;
|
|
1760
|
-
SecretArn: string | undefined;
|
|
1761
|
-
AuthStatus: ConnectorAuthStatus | undefined;
|
|
1762
|
-
}
|
|
1763
|
-
export type ProviderDetail =
|
|
1764
|
-
| ProviderDetail.JiraCloudMember
|
|
1765
|
-
| ProviderDetail.ServiceNowMember
|
|
1766
|
-
| ProviderDetail.$UnknownMember;
|
|
1767
|
-
export declare namespace ProviderDetail {
|
|
1768
|
-
interface JiraCloudMember {
|
|
1769
|
-
JiraCloud: JiraCloudDetail;
|
|
1770
|
-
ServiceNow?: never;
|
|
1771
|
-
$unknown?: never;
|
|
1772
|
-
}
|
|
1773
|
-
interface ServiceNowMember {
|
|
1774
|
-
JiraCloud?: never;
|
|
1775
|
-
ServiceNow: ServiceNowDetail;
|
|
1776
|
-
$unknown?: never;
|
|
1777
|
-
}
|
|
1778
|
-
interface $UnknownMember {
|
|
1779
|
-
JiraCloud?: never;
|
|
1780
|
-
ServiceNow?: never;
|
|
1781
|
-
$unknown: [string, any];
|
|
1782
|
-
}
|
|
1783
|
-
interface Visitor<T> {
|
|
1784
|
-
JiraCloud: (value: JiraCloudDetail) => T;
|
|
1785
|
-
ServiceNow: (value: ServiceNowDetail) => T;
|
|
1786
|
-
_: (name: string, value: any) => T;
|
|
1787
|
-
}
|
|
1982
|
+
Issues?: HealthIssue[] | undefined;
|
|
1788
1983
|
}
|
|
1789
1984
|
export interface GetConnectorV2Response {
|
|
1790
1985
|
ConnectorArn?: string | undefined;
|
|
@@ -1796,11 +1991,14 @@ export interface GetConnectorV2Response {
|
|
|
1796
1991
|
LastUpdatedAt: Date | undefined;
|
|
1797
1992
|
Health: HealthCheck | undefined;
|
|
1798
1993
|
ProviderDetail: ProviderDetail | undefined;
|
|
1994
|
+
EnablementStatus?: EnablementStatus | undefined;
|
|
1995
|
+
EnablementStatusReason?: string | undefined;
|
|
1799
1996
|
}
|
|
1800
1997
|
export interface GetEnabledStandardsRequest {
|
|
1801
1998
|
StandardsSubscriptionArns?: string[] | undefined;
|
|
1802
1999
|
NextToken?: string | undefined;
|
|
1803
2000
|
MaxResults?: number | undefined;
|
|
2001
|
+
Providers?: StandardsProvider[] | undefined;
|
|
1804
2002
|
}
|
|
1805
2003
|
export interface GetEnabledStandardsResponse {
|
|
1806
2004
|
StandardsSubscriptions?: StandardsSubscription[] | undefined;
|
|
@@ -2037,9 +2235,15 @@ export interface ResourceResult {
|
|
|
2037
2235
|
ResourceGuid?: string | undefined;
|
|
2038
2236
|
ResourceId: string | undefined;
|
|
2039
2237
|
AccountId: string | undefined;
|
|
2238
|
+
AccountName?: string | undefined;
|
|
2040
2239
|
Region: string | undefined;
|
|
2240
|
+
ResourceProvider?: string | undefined;
|
|
2241
|
+
ResourceOwnerAccountId?: string | undefined;
|
|
2242
|
+
ResourceOwnerOrgId?: string | undefined;
|
|
2243
|
+
ResourceCloudPartition?: string | undefined;
|
|
2244
|
+
ResourceRegion?: string | undefined;
|
|
2041
2245
|
ResourceCategory?: ResourceCategory | undefined;
|
|
2042
|
-
ResourceType
|
|
2246
|
+
ResourceType: string | undefined;
|
|
2043
2247
|
ResourceName?: string | undefined;
|
|
2044
2248
|
ResourceCreationTimeDt?: string | undefined;
|
|
2045
2249
|
ResourceDetailCaptureTimeDt: string | undefined;
|
|
@@ -2051,109 +2255,3 @@ export interface GetResourcesV2Response {
|
|
|
2051
2255
|
Resources: ResourceResult[] | undefined;
|
|
2052
2256
|
NextToken?: string | undefined;
|
|
2053
2257
|
}
|
|
2054
|
-
export interface GetSecurityControlDefinitionRequest {
|
|
2055
|
-
SecurityControlId: string | undefined;
|
|
2056
|
-
}
|
|
2057
|
-
export interface ParameterDefinition {
|
|
2058
|
-
Description: string | undefined;
|
|
2059
|
-
ConfigurationOptions: ConfigurationOptions | undefined;
|
|
2060
|
-
}
|
|
2061
|
-
export interface SecurityControlDefinition {
|
|
2062
|
-
SecurityControlId: string | undefined;
|
|
2063
|
-
Title: string | undefined;
|
|
2064
|
-
Description: string | undefined;
|
|
2065
|
-
RemediationUrl: string | undefined;
|
|
2066
|
-
SeverityRating: SeverityRating | undefined;
|
|
2067
|
-
CurrentRegionAvailability: RegionAvailabilityStatus | undefined;
|
|
2068
|
-
CustomizableProperties?: SecurityControlProperty[] | undefined;
|
|
2069
|
-
ParameterDefinitions?: Record<string, ParameterDefinition> | undefined;
|
|
2070
|
-
}
|
|
2071
|
-
export interface GetSecurityControlDefinitionResponse {
|
|
2072
|
-
SecurityControlDefinition: SecurityControlDefinition | undefined;
|
|
2073
|
-
}
|
|
2074
|
-
export interface InviteMembersRequest {
|
|
2075
|
-
AccountIds: string[] | undefined;
|
|
2076
|
-
}
|
|
2077
|
-
export interface InviteMembersResponse {
|
|
2078
|
-
UnprocessedAccounts?: Result[] | undefined;
|
|
2079
|
-
}
|
|
2080
|
-
export interface JiraCloudUpdateConfiguration {
|
|
2081
|
-
ProjectKey?: string | undefined;
|
|
2082
|
-
}
|
|
2083
|
-
export interface ListAggregatorsV2Request {
|
|
2084
|
-
NextToken?: string | undefined;
|
|
2085
|
-
MaxResults?: number | undefined;
|
|
2086
|
-
}
|
|
2087
|
-
export interface ListAggregatorsV2Response {
|
|
2088
|
-
AggregatorsV2?: AggregatorV2[] | undefined;
|
|
2089
|
-
NextToken?: string | undefined;
|
|
2090
|
-
}
|
|
2091
|
-
export interface ListAutomationRulesRequest {
|
|
2092
|
-
NextToken?: string | undefined;
|
|
2093
|
-
MaxResults?: number | undefined;
|
|
2094
|
-
}
|
|
2095
|
-
export interface ListAutomationRulesResponse {
|
|
2096
|
-
AutomationRulesMetadata?: AutomationRulesMetadata[] | undefined;
|
|
2097
|
-
NextToken?: string | undefined;
|
|
2098
|
-
}
|
|
2099
|
-
export interface ListAutomationRulesV2Request {
|
|
2100
|
-
NextToken?: string | undefined;
|
|
2101
|
-
MaxResults?: number | undefined;
|
|
2102
|
-
}
|
|
2103
|
-
export interface ListAutomationRulesV2Response {
|
|
2104
|
-
Rules?: AutomationRulesMetadataV2[] | undefined;
|
|
2105
|
-
NextToken?: string | undefined;
|
|
2106
|
-
}
|
|
2107
|
-
export interface ListConfigurationPoliciesRequest {
|
|
2108
|
-
NextToken?: string | undefined;
|
|
2109
|
-
MaxResults?: number | undefined;
|
|
2110
|
-
}
|
|
2111
|
-
export interface ListConfigurationPoliciesResponse {
|
|
2112
|
-
ConfigurationPolicySummaries?: ConfigurationPolicySummary[] | undefined;
|
|
2113
|
-
NextToken?: string | undefined;
|
|
2114
|
-
}
|
|
2115
|
-
export interface ListConfigurationPolicyAssociationsRequest {
|
|
2116
|
-
NextToken?: string | undefined;
|
|
2117
|
-
MaxResults?: number | undefined;
|
|
2118
|
-
Filters?: AssociationFilters | undefined;
|
|
2119
|
-
}
|
|
2120
|
-
export interface ListConfigurationPolicyAssociationsResponse {
|
|
2121
|
-
ConfigurationPolicyAssociationSummaries?:
|
|
2122
|
-
| ConfigurationPolicyAssociationSummary[]
|
|
2123
|
-
| undefined;
|
|
2124
|
-
NextToken?: string | undefined;
|
|
2125
|
-
}
|
|
2126
|
-
export interface ListConnectorsV2Request {
|
|
2127
|
-
NextToken?: string | undefined;
|
|
2128
|
-
MaxResults?: number | undefined;
|
|
2129
|
-
ProviderName?: ConnectorProviderName | undefined;
|
|
2130
|
-
ConnectorStatus?: ConnectorStatus | undefined;
|
|
2131
|
-
}
|
|
2132
|
-
export interface ListConnectorsV2Response {
|
|
2133
|
-
NextToken?: string | undefined;
|
|
2134
|
-
Connectors: ConnectorSummary[] | undefined;
|
|
2135
|
-
}
|
|
2136
|
-
export interface ListEnabledProductsForImportRequest {
|
|
2137
|
-
NextToken?: string | undefined;
|
|
2138
|
-
MaxResults?: number | undefined;
|
|
2139
|
-
}
|
|
2140
|
-
export interface ListEnabledProductsForImportResponse {
|
|
2141
|
-
ProductSubscriptions?: string[] | undefined;
|
|
2142
|
-
NextToken?: string | undefined;
|
|
2143
|
-
}
|
|
2144
|
-
export interface ListFindingAggregatorsRequest {
|
|
2145
|
-
NextToken?: string | undefined;
|
|
2146
|
-
MaxResults?: number | undefined;
|
|
2147
|
-
}
|
|
2148
|
-
export interface ListFindingAggregatorsResponse {
|
|
2149
|
-
FindingAggregators?: FindingAggregator[] | undefined;
|
|
2150
|
-
NextToken?: string | undefined;
|
|
2151
|
-
}
|
|
2152
|
-
export interface ListInvitationsRequest {
|
|
2153
|
-
MaxResults?: number | undefined;
|
|
2154
|
-
NextToken?: string | undefined;
|
|
2155
|
-
}
|
|
2156
|
-
export interface ListInvitationsResponse {
|
|
2157
|
-
Invitations?: Invitation[] | undefined;
|
|
2158
|
-
NextToken?: string | undefined;
|
|
2159
|
-
}
|