@aws-sdk/client-securityhub 3.458.0 → 3.459.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 +80 -0
- package/dist-cjs/SecurityHub.js +20 -0
- package/dist-cjs/commands/BatchGetConfigurationPolicyAssociationsCommand.js +51 -0
- package/dist-cjs/commands/CreateConfigurationPolicyCommand.js +51 -0
- package/dist-cjs/commands/DeleteConfigurationPolicyCommand.js +51 -0
- package/dist-cjs/commands/GetConfigurationPolicyAssociationCommand.js +51 -0
- package/dist-cjs/commands/GetConfigurationPolicyCommand.js +51 -0
- package/dist-cjs/commands/ListConfigurationPoliciesCommand.js +51 -0
- package/dist-cjs/commands/ListConfigurationPolicyAssociationsCommand.js +51 -0
- package/dist-cjs/commands/StartConfigurationPolicyAssociationCommand.js +51 -0
- package/dist-cjs/commands/StartConfigurationPolicyDisassociationCommand.js +51 -0
- package/dist-cjs/commands/UpdateConfigurationPolicyCommand.js +51 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/models/models_0.js +10 -1
- package/dist-cjs/models/models_2.js +34 -1
- package/dist-cjs/pagination/ListConfigurationPoliciesPaginator.js +29 -0
- package/dist-cjs/pagination/ListConfigurationPolicyAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +943 -35
- package/dist-es/SecurityHub.js +20 -0
- package/dist-es/commands/BatchGetConfigurationPolicyAssociationsCommand.js +47 -0
- package/dist-es/commands/CreateConfigurationPolicyCommand.js +47 -0
- package/dist-es/commands/DeleteConfigurationPolicyCommand.js +47 -0
- package/dist-es/commands/GetConfigurationPolicyAssociationCommand.js +47 -0
- package/dist-es/commands/GetConfigurationPolicyCommand.js +47 -0
- package/dist-es/commands/ListConfigurationPoliciesCommand.js +47 -0
- package/dist-es/commands/ListConfigurationPolicyAssociationsCommand.js +47 -0
- package/dist-es/commands/StartConfigurationPolicyAssociationCommand.js +47 -0
- package/dist-es/commands/StartConfigurationPolicyDisassociationCommand.js +47 -0
- package/dist-es/commands/UpdateConfigurationPolicyCommand.js +47 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/models/models_2.js +33 -0
- package/dist-es/pagination/ListConfigurationPoliciesPaginator.js +25 -0
- package/dist-es/pagination/ListConfigurationPolicyAssociationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +920 -33
- package/dist-types/SecurityHub.d.ts +70 -0
- package/dist-types/SecurityHubClient.d.ts +12 -2
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +3 -0
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +128 -0
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +22 -2
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +4 -0
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +3 -0
- package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +3 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +3 -0
- package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +189 -0
- package/dist-types/commands/CreateInsightCommand.d.ts +3 -0
- package/dist-types/commands/CreateMembersCommand.d.ts +3 -0
- package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +98 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +7 -2
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/DisableSecurityHubCommand.d.ts +3 -0
- package/dist-types/commands/DisassociateMembersCommand.d.ts +3 -0
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +107 -0
- package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +143 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +7 -0
- package/dist-types/commands/GetInsightsCommand.d.ts +3 -0
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +35 -0
- package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +104 -0
- package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +110 -0
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +6 -0
- package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +108 -0
- package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +102 -0
- package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +191 -0
- package/dist-types/commands/UpdateFindingsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +3 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +16 -2
- package/dist-types/commands/UpdateSecurityControlCommand.d.ts +23 -0
- package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/UpdateStandardsControlCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +86 -192
- package/dist-types/models/models_1.d.ts +192 -49
- package/dist-types/models/models_2.d.ts +1180 -37
- package/dist-types/pagination/ListConfigurationPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +200 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateConfigurationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteConfigurationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetConfigurationPolicyAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetConfigurationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateConfigurationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +21 -26
- package/dist-types/ts3.4/models/models_1.d.ts +32 -9
- package/dist-types/ts3.4/models/models_2.d.ts +243 -4
- package/dist-types/ts3.4/pagination/ListConfigurationPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +1 -1
|
@@ -224,6 +224,24 @@ export interface AdminAccount {
|
|
|
224
224
|
export interface AssociatedStandard {
|
|
225
225
|
StandardsId?: string;
|
|
226
226
|
}
|
|
227
|
+
export declare const ConfigurationPolicyAssociationStatus: {
|
|
228
|
+
readonly FAILED: "FAILED";
|
|
229
|
+
readonly PENDING: "PENDING";
|
|
230
|
+
readonly SUCCESS: "SUCCESS";
|
|
231
|
+
};
|
|
232
|
+
export type ConfigurationPolicyAssociationStatus =
|
|
233
|
+
(typeof ConfigurationPolicyAssociationStatus)[keyof typeof ConfigurationPolicyAssociationStatus];
|
|
234
|
+
export declare const AssociationType: {
|
|
235
|
+
readonly APPLIED: "APPLIED";
|
|
236
|
+
readonly INHERITED: "INHERITED";
|
|
237
|
+
};
|
|
238
|
+
export type AssociationType =
|
|
239
|
+
(typeof AssociationType)[keyof typeof AssociationType];
|
|
240
|
+
export interface AssociationFilters {
|
|
241
|
+
ConfigurationPolicyId?: string;
|
|
242
|
+
AssociationType?: AssociationType;
|
|
243
|
+
AssociationStatus?: ConfigurationPolicyAssociationStatus;
|
|
244
|
+
}
|
|
227
245
|
export interface AssociationStateDetails {
|
|
228
246
|
State?: string;
|
|
229
247
|
StatusMessage?: string;
|
|
@@ -331,6 +349,9 @@ export interface AutomationRulesFindingFilters {
|
|
|
331
349
|
NoteUpdatedAt?: DateFilter[];
|
|
332
350
|
NoteUpdatedBy?: StringFilter[];
|
|
333
351
|
UserDefinedFields?: MapFilter[];
|
|
352
|
+
ResourceApplicationArn?: StringFilter[];
|
|
353
|
+
ResourceApplicationName?: StringFilter[];
|
|
354
|
+
AwsAccountName?: StringFilter[];
|
|
334
355
|
}
|
|
335
356
|
export declare const RuleStatus: {
|
|
336
357
|
readonly DISABLED: "DISABLED";
|
|
@@ -1997,29 +2018,3 @@ export interface AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails {
|
|
|
1997
2018
|
TransitEncryption?: string;
|
|
1998
2019
|
TransitEncryptionPort?: number;
|
|
1999
2020
|
}
|
|
2000
|
-
export interface AwsEcsTaskDefinitionVolumesHostDetails {
|
|
2001
|
-
SourcePath?: string;
|
|
2002
|
-
}
|
|
2003
|
-
export interface AwsEcsTaskDefinitionVolumesDetails {
|
|
2004
|
-
DockerVolumeConfiguration?: AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails;
|
|
2005
|
-
EfsVolumeConfiguration?: AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails;
|
|
2006
|
-
Host?: AwsEcsTaskDefinitionVolumesHostDetails;
|
|
2007
|
-
Name?: string;
|
|
2008
|
-
}
|
|
2009
|
-
export interface AwsEcsTaskDefinitionDetails {
|
|
2010
|
-
ContainerDefinitions?: AwsEcsTaskDefinitionContainerDefinitionsDetails[];
|
|
2011
|
-
Cpu?: string;
|
|
2012
|
-
ExecutionRoleArn?: string;
|
|
2013
|
-
Family?: string;
|
|
2014
|
-
InferenceAccelerators?: AwsEcsTaskDefinitionInferenceAcceleratorsDetails[];
|
|
2015
|
-
IpcMode?: string;
|
|
2016
|
-
Memory?: string;
|
|
2017
|
-
NetworkMode?: string;
|
|
2018
|
-
PidMode?: string;
|
|
2019
|
-
PlacementConstraints?: AwsEcsTaskDefinitionPlacementConstraintsDetails[];
|
|
2020
|
-
ProxyConfiguration?: AwsEcsTaskDefinitionProxyConfigurationDetails;
|
|
2021
|
-
RequiresCompatibilities?: string[];
|
|
2022
|
-
TaskRoleArn?: string;
|
|
2023
|
-
Volumes?: AwsEcsTaskDefinitionVolumesDetails[];
|
|
2024
|
-
Status?: string;
|
|
2025
|
-
}
|
|
@@ -2,9 +2,41 @@ import {
|
|
|
2
2
|
AssociatedStandard,
|
|
3
3
|
AvailabilityZone,
|
|
4
4
|
AwsEcsContainerDetails,
|
|
5
|
+
AwsEcsTaskDefinitionContainerDefinitionsDetails,
|
|
6
|
+
AwsEcsTaskDefinitionInferenceAcceleratorsDetails,
|
|
7
|
+
AwsEcsTaskDefinitionPlacementConstraintsDetails,
|
|
8
|
+
AwsEcsTaskDefinitionProxyConfigurationDetails,
|
|
9
|
+
AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails,
|
|
10
|
+
AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails,
|
|
5
11
|
RelatedFinding,
|
|
6
12
|
SeverityLabel,
|
|
7
13
|
} from "./models_0";
|
|
14
|
+
export interface AwsEcsTaskDefinitionVolumesHostDetails {
|
|
15
|
+
SourcePath?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface AwsEcsTaskDefinitionVolumesDetails {
|
|
18
|
+
DockerVolumeConfiguration?: AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails;
|
|
19
|
+
EfsVolumeConfiguration?: AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails;
|
|
20
|
+
Host?: AwsEcsTaskDefinitionVolumesHostDetails;
|
|
21
|
+
Name?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface AwsEcsTaskDefinitionDetails {
|
|
24
|
+
ContainerDefinitions?: AwsEcsTaskDefinitionContainerDefinitionsDetails[];
|
|
25
|
+
Cpu?: string;
|
|
26
|
+
ExecutionRoleArn?: string;
|
|
27
|
+
Family?: string;
|
|
28
|
+
InferenceAccelerators?: AwsEcsTaskDefinitionInferenceAcceleratorsDetails[];
|
|
29
|
+
IpcMode?: string;
|
|
30
|
+
Memory?: string;
|
|
31
|
+
NetworkMode?: string;
|
|
32
|
+
PidMode?: string;
|
|
33
|
+
PlacementConstraints?: AwsEcsTaskDefinitionPlacementConstraintsDetails[];
|
|
34
|
+
ProxyConfiguration?: AwsEcsTaskDefinitionProxyConfigurationDetails;
|
|
35
|
+
RequiresCompatibilities?: string[];
|
|
36
|
+
TaskRoleArn?: string;
|
|
37
|
+
Volumes?: AwsEcsTaskDefinitionVolumesDetails[];
|
|
38
|
+
Status?: string;
|
|
39
|
+
}
|
|
8
40
|
export interface AwsEcsTaskVolumeHostDetails {
|
|
9
41
|
SourcePath?: string;
|
|
10
42
|
}
|
|
@@ -1838,12 +1870,3 @@ export interface AwsWafv2CustomResponseDetails {
|
|
|
1838
1870
|
ResponseCode?: number;
|
|
1839
1871
|
ResponseHeaders?: AwsWafv2CustomHttpHeader[];
|
|
1840
1872
|
}
|
|
1841
|
-
export interface AwsWafv2ActionBlockDetails {
|
|
1842
|
-
CustomResponse?: AwsWafv2CustomResponseDetails;
|
|
1843
|
-
}
|
|
1844
|
-
export interface AwsWafv2RulesActionCaptchaDetails {
|
|
1845
|
-
CustomRequestHandling?: AwsWafv2CustomRequestHandlingDetails;
|
|
1846
|
-
}
|
|
1847
|
-
export interface AwsWafv2RulesActionCountDetails {
|
|
1848
|
-
CustomRequestHandling?: AwsWafv2CustomRequestHandlingDetails;
|
|
1849
|
-
}
|
|
@@ -5,7 +5,9 @@ import {
|
|
|
5
5
|
ActionTarget,
|
|
6
6
|
Adjustment,
|
|
7
7
|
AdminAccount,
|
|
8
|
+
AssociationFilters,
|
|
8
9
|
AssociationStatus,
|
|
10
|
+
AssociationType,
|
|
9
11
|
AutoEnableStandards,
|
|
10
12
|
AutomationRulesAction,
|
|
11
13
|
AutomationRulesConfig,
|
|
@@ -52,7 +54,7 @@ import {
|
|
|
52
54
|
AwsEcsClusterDetails,
|
|
53
55
|
AwsEcsContainerDetails,
|
|
54
56
|
AwsEcsServiceDetails,
|
|
55
|
-
|
|
57
|
+
ConfigurationPolicyAssociationStatus,
|
|
56
58
|
DateFilter,
|
|
57
59
|
MapFilter,
|
|
58
60
|
NoteUpdate,
|
|
@@ -67,6 +69,7 @@ import {
|
|
|
67
69
|
WorkflowUpdate,
|
|
68
70
|
} from "./models_0";
|
|
69
71
|
import {
|
|
72
|
+
AwsEcsTaskDefinitionDetails,
|
|
70
73
|
AwsEcsTaskDetails,
|
|
71
74
|
AwsEfsAccessPointDetails,
|
|
72
75
|
AwsEksClusterDetails,
|
|
@@ -117,9 +120,8 @@ import {
|
|
|
117
120
|
AwsWafRuleDetails,
|
|
118
121
|
AwsWafRuleGroupDetails,
|
|
119
122
|
AwsWafv2ActionAllowDetails,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
AwsWafv2RulesActionCountDetails,
|
|
123
|
+
AwsWafv2CustomRequestHandlingDetails,
|
|
124
|
+
AwsWafv2CustomResponseDetails,
|
|
123
125
|
Compliance,
|
|
124
126
|
DataClassificationDetails,
|
|
125
127
|
FindingProviderFields,
|
|
@@ -134,6 +136,15 @@ import {
|
|
|
134
136
|
Remediation,
|
|
135
137
|
} from "./models_1";
|
|
136
138
|
import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
|
|
139
|
+
export interface AwsWafv2ActionBlockDetails {
|
|
140
|
+
CustomResponse?: AwsWafv2CustomResponseDetails;
|
|
141
|
+
}
|
|
142
|
+
export interface AwsWafv2RulesActionCaptchaDetails {
|
|
143
|
+
CustomRequestHandling?: AwsWafv2CustomRequestHandlingDetails;
|
|
144
|
+
}
|
|
145
|
+
export interface AwsWafv2RulesActionCountDetails {
|
|
146
|
+
CustomRequestHandling?: AwsWafv2CustomRequestHandlingDetails;
|
|
147
|
+
}
|
|
137
148
|
export interface AwsWafv2RulesActionDetails {
|
|
138
149
|
Allow?: AwsWafv2ActionAllowDetails;
|
|
139
150
|
Block?: AwsWafv2ActionBlockDetails;
|
|
@@ -339,6 +350,8 @@ export interface Resource {
|
|
|
339
350
|
Tags?: Record<string, string>;
|
|
340
351
|
DataClassification?: DataClassificationDetails;
|
|
341
352
|
Details?: ResourceDetails;
|
|
353
|
+
ApplicationName?: string;
|
|
354
|
+
ApplicationArn?: string;
|
|
342
355
|
}
|
|
343
356
|
export interface Severity {
|
|
344
357
|
Product?: number;
|
|
@@ -508,6 +521,8 @@ export interface AwsSecurityFinding {
|
|
|
508
521
|
FindingProviderFields?: FindingProviderFields;
|
|
509
522
|
Sample?: boolean;
|
|
510
523
|
GeneratorDetails?: GeneratorDetails;
|
|
524
|
+
ProcessedAt?: string;
|
|
525
|
+
AwsAccountName?: string;
|
|
511
526
|
}
|
|
512
527
|
export interface KeywordFilter {
|
|
513
528
|
Value?: string;
|
|
@@ -620,6 +635,9 @@ export interface AwsSecurityFindingFilters {
|
|
|
620
635
|
VulnerabilitiesFixAvailable?: StringFilter[];
|
|
621
636
|
ComplianceSecurityControlParametersName?: StringFilter[];
|
|
622
637
|
ComplianceSecurityControlParametersValue?: StringFilter[];
|
|
638
|
+
AwsAccountName?: StringFilter[];
|
|
639
|
+
ResourceApplicationName?: StringFilter[];
|
|
640
|
+
ResourceApplicationArn?: StringFilter[];
|
|
623
641
|
}
|
|
624
642
|
export interface AwsSecurityFindingIdentifier {
|
|
625
643
|
Id: string | undefined;
|
|
@@ -685,6 +703,75 @@ export interface BatchGetAutomationRulesResponse {
|
|
|
685
703
|
Rules?: AutomationRulesConfig[];
|
|
686
704
|
UnprocessedAutomationRules?: UnprocessedAutomationRule[];
|
|
687
705
|
}
|
|
706
|
+
export type Target =
|
|
707
|
+
| Target.AccountIdMember
|
|
708
|
+
| Target.OrganizationalUnitIdMember
|
|
709
|
+
| Target.RootIdMember
|
|
710
|
+
| Target.$UnknownMember;
|
|
711
|
+
export declare namespace Target {
|
|
712
|
+
interface AccountIdMember {
|
|
713
|
+
AccountId: string;
|
|
714
|
+
OrganizationalUnitId?: never;
|
|
715
|
+
RootId?: never;
|
|
716
|
+
$unknown?: never;
|
|
717
|
+
}
|
|
718
|
+
interface OrganizationalUnitIdMember {
|
|
719
|
+
AccountId?: never;
|
|
720
|
+
OrganizationalUnitId: string;
|
|
721
|
+
RootId?: never;
|
|
722
|
+
$unknown?: never;
|
|
723
|
+
}
|
|
724
|
+
interface RootIdMember {
|
|
725
|
+
AccountId?: never;
|
|
726
|
+
OrganizationalUnitId?: never;
|
|
727
|
+
RootId: string;
|
|
728
|
+
$unknown?: never;
|
|
729
|
+
}
|
|
730
|
+
interface $UnknownMember {
|
|
731
|
+
AccountId?: never;
|
|
732
|
+
OrganizationalUnitId?: never;
|
|
733
|
+
RootId?: never;
|
|
734
|
+
$unknown: [string, any];
|
|
735
|
+
}
|
|
736
|
+
interface Visitor<T> {
|
|
737
|
+
AccountId: (value: string) => T;
|
|
738
|
+
OrganizationalUnitId: (value: string) => T;
|
|
739
|
+
RootId: (value: string) => T;
|
|
740
|
+
_: (name: string, value: any) => T;
|
|
741
|
+
}
|
|
742
|
+
const visit: <T>(value: Target, visitor: Visitor<T>) => T;
|
|
743
|
+
}
|
|
744
|
+
export interface ConfigurationPolicyAssociation {
|
|
745
|
+
Target?: Target;
|
|
746
|
+
}
|
|
747
|
+
export interface BatchGetConfigurationPolicyAssociationsRequest {
|
|
748
|
+
ConfigurationPolicyAssociationIdentifiers:
|
|
749
|
+
| ConfigurationPolicyAssociation[]
|
|
750
|
+
| undefined;
|
|
751
|
+
}
|
|
752
|
+
export declare const TargetType: {
|
|
753
|
+
readonly ACCOUNT: "ACCOUNT";
|
|
754
|
+
readonly ORGANIZATIONAL_UNIT: "ORGANIZATIONAL_UNIT";
|
|
755
|
+
};
|
|
756
|
+
export type TargetType = (typeof TargetType)[keyof typeof TargetType];
|
|
757
|
+
export interface ConfigurationPolicyAssociationSummary {
|
|
758
|
+
ConfigurationPolicyId?: string;
|
|
759
|
+
TargetId?: string;
|
|
760
|
+
TargetType?: TargetType;
|
|
761
|
+
AssociationType?: AssociationType;
|
|
762
|
+
UpdatedAt?: Date;
|
|
763
|
+
AssociationStatus?: ConfigurationPolicyAssociationStatus;
|
|
764
|
+
AssociationStatusMessage?: string;
|
|
765
|
+
}
|
|
766
|
+
export interface UnprocessedConfigurationPolicyAssociation {
|
|
767
|
+
ConfigurationPolicyAssociationIdentifiers?: ConfigurationPolicyAssociation;
|
|
768
|
+
ErrorCode?: string;
|
|
769
|
+
ErrorReason?: string;
|
|
770
|
+
}
|
|
771
|
+
export interface BatchGetConfigurationPolicyAssociationsResponse {
|
|
772
|
+
ConfigurationPolicyAssociations?: ConfigurationPolicyAssociationSummary[];
|
|
773
|
+
UnprocessedConfigurationPolicyAssociations?: UnprocessedConfigurationPolicyAssociation[];
|
|
774
|
+
}
|
|
688
775
|
export interface BatchGetSecurityControlsRequest {
|
|
689
776
|
SecurityControlIds: string[] | undefined;
|
|
690
777
|
}
|
|
@@ -1134,6 +1221,14 @@ export declare namespace ConfigurationOptions {
|
|
|
1134
1221
|
}
|
|
1135
1222
|
const visit: <T>(value: ConfigurationOptions, visitor: Visitor<T>) => T;
|
|
1136
1223
|
}
|
|
1224
|
+
export interface ConfigurationPolicySummary {
|
|
1225
|
+
Arn?: string;
|
|
1226
|
+
Id?: string;
|
|
1227
|
+
Name?: string;
|
|
1228
|
+
Description?: string;
|
|
1229
|
+
UpdatedAt?: Date;
|
|
1230
|
+
ServiceEnabled?: boolean;
|
|
1231
|
+
}
|
|
1137
1232
|
export declare const ControlFindingGenerator: {
|
|
1138
1233
|
readonly SECURITY_CONTROL: "SECURITY_CONTROL";
|
|
1139
1234
|
readonly STANDARD_CONTROL: "STANDARD_CONTROL";
|
|
@@ -1170,6 +1265,51 @@ export interface CreateAutomationRuleRequest {
|
|
|
1170
1265
|
export interface CreateAutomationRuleResponse {
|
|
1171
1266
|
RuleArn?: string;
|
|
1172
1267
|
}
|
|
1268
|
+
export interface SecurityControlCustomParameter {
|
|
1269
|
+
SecurityControlId?: string;
|
|
1270
|
+
Parameters?: Record<string, ParameterConfiguration>;
|
|
1271
|
+
}
|
|
1272
|
+
export interface SecurityControlsConfiguration {
|
|
1273
|
+
EnabledSecurityControlIdentifiers?: string[];
|
|
1274
|
+
DisabledSecurityControlIdentifiers?: string[];
|
|
1275
|
+
SecurityControlCustomParameters?: SecurityControlCustomParameter[];
|
|
1276
|
+
}
|
|
1277
|
+
export interface SecurityHubPolicy {
|
|
1278
|
+
ServiceEnabled?: boolean;
|
|
1279
|
+
EnabledStandardIdentifiers?: string[];
|
|
1280
|
+
SecurityControlsConfiguration?: SecurityControlsConfiguration;
|
|
1281
|
+
}
|
|
1282
|
+
export type Policy = Policy.SecurityHubMember | Policy.$UnknownMember;
|
|
1283
|
+
export declare namespace Policy {
|
|
1284
|
+
interface SecurityHubMember {
|
|
1285
|
+
SecurityHub: SecurityHubPolicy;
|
|
1286
|
+
$unknown?: never;
|
|
1287
|
+
}
|
|
1288
|
+
interface $UnknownMember {
|
|
1289
|
+
SecurityHub?: never;
|
|
1290
|
+
$unknown: [string, any];
|
|
1291
|
+
}
|
|
1292
|
+
interface Visitor<T> {
|
|
1293
|
+
SecurityHub: (value: SecurityHubPolicy) => T;
|
|
1294
|
+
_: (name: string, value: any) => T;
|
|
1295
|
+
}
|
|
1296
|
+
const visit: <T>(value: Policy, visitor: Visitor<T>) => T;
|
|
1297
|
+
}
|
|
1298
|
+
export interface CreateConfigurationPolicyRequest {
|
|
1299
|
+
Name: string | undefined;
|
|
1300
|
+
Description?: string;
|
|
1301
|
+
ConfigurationPolicy: Policy | undefined;
|
|
1302
|
+
Tags?: Record<string, string>;
|
|
1303
|
+
}
|
|
1304
|
+
export interface CreateConfigurationPolicyResponse {
|
|
1305
|
+
Arn?: string;
|
|
1306
|
+
Id?: string;
|
|
1307
|
+
Name?: string;
|
|
1308
|
+
Description?: string;
|
|
1309
|
+
UpdatedAt?: Date;
|
|
1310
|
+
CreatedAt?: Date;
|
|
1311
|
+
ConfigurationPolicy?: Policy;
|
|
1312
|
+
}
|
|
1173
1313
|
export interface CreateFindingAggregatorRequest {
|
|
1174
1314
|
RegionLinkingMode: string | undefined;
|
|
1175
1315
|
Regions?: string[];
|
|
@@ -1215,6 +1355,10 @@ export interface DeleteActionTargetRequest {
|
|
|
1215
1355
|
export interface DeleteActionTargetResponse {
|
|
1216
1356
|
ActionTargetArn: string | undefined;
|
|
1217
1357
|
}
|
|
1358
|
+
export interface DeleteConfigurationPolicyRequest {
|
|
1359
|
+
Identifier: string | undefined;
|
|
1360
|
+
}
|
|
1361
|
+
export interface DeleteConfigurationPolicyResponse {}
|
|
1218
1362
|
export interface DeleteFindingAggregatorRequest {
|
|
1219
1363
|
FindingAggregatorArn: string | undefined;
|
|
1220
1364
|
}
|
|
@@ -1256,10 +1400,29 @@ export interface DescribeHubResponse {
|
|
|
1256
1400
|
ControlFindingGenerator?: ControlFindingGenerator;
|
|
1257
1401
|
}
|
|
1258
1402
|
export interface DescribeOrganizationConfigurationRequest {}
|
|
1403
|
+
export declare const OrganizationConfigurationConfigurationType: {
|
|
1404
|
+
readonly CENTRAL: "CENTRAL";
|
|
1405
|
+
readonly LOCAL: "LOCAL";
|
|
1406
|
+
};
|
|
1407
|
+
export type OrganizationConfigurationConfigurationType =
|
|
1408
|
+
(typeof OrganizationConfigurationConfigurationType)[keyof typeof OrganizationConfigurationConfigurationType];
|
|
1409
|
+
export declare const OrganizationConfigurationStatus: {
|
|
1410
|
+
readonly ENABLED: "ENABLED";
|
|
1411
|
+
readonly FAILED: "FAILED";
|
|
1412
|
+
readonly PENDING: "PENDING";
|
|
1413
|
+
};
|
|
1414
|
+
export type OrganizationConfigurationStatus =
|
|
1415
|
+
(typeof OrganizationConfigurationStatus)[keyof typeof OrganizationConfigurationStatus];
|
|
1416
|
+
export interface OrganizationConfiguration {
|
|
1417
|
+
ConfigurationType?: OrganizationConfigurationConfigurationType;
|
|
1418
|
+
Status?: OrganizationConfigurationStatus;
|
|
1419
|
+
StatusMessage?: string;
|
|
1420
|
+
}
|
|
1259
1421
|
export interface DescribeOrganizationConfigurationResponse {
|
|
1260
1422
|
AutoEnable?: boolean;
|
|
1261
1423
|
MemberAccountLimitReached?: boolean;
|
|
1262
1424
|
AutoEnableStandards?: AutoEnableStandards;
|
|
1425
|
+
OrganizationConfiguration?: OrganizationConfiguration;
|
|
1263
1426
|
}
|
|
1264
1427
|
export interface DescribeProductsRequest {
|
|
1265
1428
|
NextToken?: string;
|
|
@@ -1398,6 +1561,30 @@ export interface Invitation {
|
|
|
1398
1561
|
export interface GetAdministratorAccountResponse {
|
|
1399
1562
|
Administrator?: Invitation;
|
|
1400
1563
|
}
|
|
1564
|
+
export interface GetConfigurationPolicyRequest {
|
|
1565
|
+
Identifier: string | undefined;
|
|
1566
|
+
}
|
|
1567
|
+
export interface GetConfigurationPolicyResponse {
|
|
1568
|
+
Arn?: string;
|
|
1569
|
+
Id?: string;
|
|
1570
|
+
Name?: string;
|
|
1571
|
+
Description?: string;
|
|
1572
|
+
UpdatedAt?: Date;
|
|
1573
|
+
CreatedAt?: Date;
|
|
1574
|
+
ConfigurationPolicy?: Policy;
|
|
1575
|
+
}
|
|
1576
|
+
export interface GetConfigurationPolicyAssociationRequest {
|
|
1577
|
+
Target: Target | undefined;
|
|
1578
|
+
}
|
|
1579
|
+
export interface GetConfigurationPolicyAssociationResponse {
|
|
1580
|
+
ConfigurationPolicyId?: string;
|
|
1581
|
+
TargetId?: string;
|
|
1582
|
+
TargetType?: TargetType;
|
|
1583
|
+
AssociationType?: AssociationType;
|
|
1584
|
+
UpdatedAt?: Date;
|
|
1585
|
+
AssociationStatus?: ConfigurationPolicyAssociationStatus;
|
|
1586
|
+
AssociationStatusMessage?: string;
|
|
1587
|
+
}
|
|
1401
1588
|
export interface GetEnabledStandardsRequest {
|
|
1402
1589
|
StandardsSubscriptionArns?: string[];
|
|
1403
1590
|
NextToken?: string;
|
|
@@ -1540,6 +1727,23 @@ export interface ListAutomationRulesResponse {
|
|
|
1540
1727
|
AutomationRulesMetadata?: AutomationRulesMetadata[];
|
|
1541
1728
|
NextToken?: string;
|
|
1542
1729
|
}
|
|
1730
|
+
export interface ListConfigurationPoliciesRequest {
|
|
1731
|
+
NextToken?: string;
|
|
1732
|
+
MaxResults?: number;
|
|
1733
|
+
}
|
|
1734
|
+
export interface ListConfigurationPoliciesResponse {
|
|
1735
|
+
ConfigurationPolicySummaries?: ConfigurationPolicySummary[];
|
|
1736
|
+
NextToken?: string;
|
|
1737
|
+
}
|
|
1738
|
+
export interface ListConfigurationPolicyAssociationsRequest {
|
|
1739
|
+
NextToken?: string;
|
|
1740
|
+
MaxResults?: number;
|
|
1741
|
+
Filters?: AssociationFilters;
|
|
1742
|
+
}
|
|
1743
|
+
export interface ListConfigurationPolicyAssociationsResponse {
|
|
1744
|
+
ConfigurationPolicyAssociationSummaries?: ConfigurationPolicyAssociationSummary[];
|
|
1745
|
+
NextToken?: string;
|
|
1746
|
+
}
|
|
1543
1747
|
export interface ListEnabledProductsForImportRequest {
|
|
1544
1748
|
NextToken?: string;
|
|
1545
1749
|
MaxResults?: number;
|
|
@@ -1627,6 +1831,24 @@ export declare class ResourceInUseException extends __BaseException {
|
|
|
1627
1831
|
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
1628
1832
|
);
|
|
1629
1833
|
}
|
|
1834
|
+
export interface StartConfigurationPolicyAssociationRequest {
|
|
1835
|
+
ConfigurationPolicyIdentifier: string | undefined;
|
|
1836
|
+
Target: Target | undefined;
|
|
1837
|
+
}
|
|
1838
|
+
export interface StartConfigurationPolicyAssociationResponse {
|
|
1839
|
+
ConfigurationPolicyId?: string;
|
|
1840
|
+
TargetId?: string;
|
|
1841
|
+
TargetType?: TargetType;
|
|
1842
|
+
AssociationType?: AssociationType;
|
|
1843
|
+
UpdatedAt?: Date;
|
|
1844
|
+
AssociationStatus?: ConfigurationPolicyAssociationStatus;
|
|
1845
|
+
AssociationStatusMessage?: string;
|
|
1846
|
+
}
|
|
1847
|
+
export interface StartConfigurationPolicyDisassociationRequest {
|
|
1848
|
+
Target?: Target;
|
|
1849
|
+
ConfigurationPolicyIdentifier: string | undefined;
|
|
1850
|
+
}
|
|
1851
|
+
export interface StartConfigurationPolicyDisassociationResponse {}
|
|
1630
1852
|
export interface TagResourceRequest {
|
|
1631
1853
|
ResourceArn: string | undefined;
|
|
1632
1854
|
Tags: Record<string, string> | undefined;
|
|
@@ -1643,6 +1865,22 @@ export interface UpdateActionTargetRequest {
|
|
|
1643
1865
|
Description?: string;
|
|
1644
1866
|
}
|
|
1645
1867
|
export interface UpdateActionTargetResponse {}
|
|
1868
|
+
export interface UpdateConfigurationPolicyRequest {
|
|
1869
|
+
Identifier: string | undefined;
|
|
1870
|
+
Name?: string;
|
|
1871
|
+
Description?: string;
|
|
1872
|
+
UpdatedReason?: string;
|
|
1873
|
+
ConfigurationPolicy?: Policy;
|
|
1874
|
+
}
|
|
1875
|
+
export interface UpdateConfigurationPolicyResponse {
|
|
1876
|
+
Arn?: string;
|
|
1877
|
+
Id?: string;
|
|
1878
|
+
Name?: string;
|
|
1879
|
+
Description?: string;
|
|
1880
|
+
UpdatedAt?: Date;
|
|
1881
|
+
CreatedAt?: Date;
|
|
1882
|
+
ConfigurationPolicy?: Policy;
|
|
1883
|
+
}
|
|
1646
1884
|
export interface UpdateFindingAggregatorRequest {
|
|
1647
1885
|
FindingAggregatorArn: string | undefined;
|
|
1648
1886
|
RegionLinkingMode: string | undefined;
|
|
@@ -1670,6 +1908,7 @@ export interface UpdateInsightResponse {}
|
|
|
1670
1908
|
export interface UpdateOrganizationConfigurationRequest {
|
|
1671
1909
|
AutoEnable: boolean | undefined;
|
|
1672
1910
|
AutoEnableStandards?: AutoEnableStandards;
|
|
1911
|
+
OrganizationConfiguration?: OrganizationConfiguration;
|
|
1673
1912
|
}
|
|
1674
1913
|
export interface UpdateOrganizationConfigurationResponse {}
|
|
1675
1914
|
export interface UpdateSecurityControlRequest {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListConfigurationPoliciesCommandInput,
|
|
4
|
+
ListConfigurationPoliciesCommandOutput,
|
|
5
|
+
} from "../commands/ListConfigurationPoliciesCommand";
|
|
6
|
+
import { SecurityHubPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListConfigurationPolicies(
|
|
8
|
+
config: SecurityHubPaginationConfiguration,
|
|
9
|
+
input: ListConfigurationPoliciesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListConfigurationPoliciesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListConfigurationPolicyAssociationsCommandInput,
|
|
4
|
+
ListConfigurationPolicyAssociationsCommandOutput,
|
|
5
|
+
} from "../commands/ListConfigurationPolicyAssociationsCommand";
|
|
6
|
+
import { SecurityHubPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListConfigurationPolicyAssociations(
|
|
8
|
+
config: SecurityHubPaginationConfiguration,
|
|
9
|
+
input: ListConfigurationPolicyAssociationsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListConfigurationPolicyAssociationsCommandOutput>;
|
|
@@ -7,6 +7,8 @@ export * from "./GetFindingHistoryPaginator";
|
|
|
7
7
|
export * from "./GetFindingsPaginator";
|
|
8
8
|
export * from "./GetInsightsPaginator";
|
|
9
9
|
export * from "./Interfaces";
|
|
10
|
+
export * from "./ListConfigurationPoliciesPaginator";
|
|
11
|
+
export * from "./ListConfigurationPolicyAssociationsPaginator";
|
|
10
12
|
export * from "./ListEnabledProductsForImportPaginator";
|
|
11
13
|
export * from "./ListFindingAggregatorsPaginator";
|
|
12
14
|
export * from "./ListInvitationsPaginator";
|