@aws-sdk/client-securityhub 3.298.0 → 3.300.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/dist-cjs/models/models_0.js +1 -6
- package/dist-cjs/models/models_1.js +6 -1
- package/dist-cjs/protocols/Aws_restJson1.js +244 -0
- package/dist-es/models/models_0.js +0 -5
- package/dist-es/models/models_1.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +244 -0
- package/dist-types/SecurityHub.d.ts +6 -4
- package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +4 -0
- package/dist-types/commands/AcceptInvitationCommand.d.ts +4 -0
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +5 -0
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +10 -0
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +5 -0
- package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +8 -0
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +4037 -0
- package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +35 -0
- package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +10 -0
- package/dist-types/commands/CreateActionTargetCommand.d.ts +5 -0
- package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +6 -0
- package/dist-types/commands/CreateInsightCommand.d.ts +639 -1
- package/dist-types/commands/CreateMembersCommand.d.ts +9 -1
- package/dist-types/commands/DeclineInvitationsCommand.d.ts +9 -3
- package/dist-types/commands/DeleteActionTargetCommand.d.ts +4 -1
- package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +3 -0
- package/dist-types/commands/DeleteInsightCommand.d.ts +3 -0
- package/dist-types/commands/DeleteInvitationsCommand.d.ts +8 -2
- package/dist-types/commands/DeleteMembersCommand.d.ts +5 -0
- package/dist-types/commands/DescribeActionTargetsCommand.d.ts +7 -0
- package/dist-types/commands/DescribeHubCommand.d.ts +3 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DescribeProductsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeStandardsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +5 -0
- package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +3 -0
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/DisableSecurityHubCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateMembersCommand.d.ts +5 -0
- package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +3 -0
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/EnableSecurityHubCommand.d.ts +7 -0
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -0
- package/dist-types/commands/GetEnabledStandardsCommand.d.ts +7 -0
- package/dist-types/commands/GetFindingAggregatorCommand.d.ts +3 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +644 -0
- package/dist-types/commands/GetInsightResultsCommand.d.ts +3 -0
- package/dist-types/commands/GetInsightsCommand.d.ts +7 -0
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -0
- package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -0
- package/dist-types/commands/GetMembersCommand.d.ts +5 -0
- package/dist-types/commands/InviteMembersCommand.d.ts +5 -0
- package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +4 -0
- package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +4 -0
- package/dist-types/commands/ListInvitationsCommand.d.ts +4 -0
- package/dist-types/commands/ListMembersCommand.d.ts +5 -0
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +4 -0
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +5 -0
- package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateActionTargetCommand.d.ts +5 -0
- package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +7 -0
- package/dist-types/commands/UpdateFindingsCommand.d.ts +641 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +639 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/UpdateStandardsControlCommand.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +254 -129
- package/dist-types/models/models_1.d.ts +205 -105
- package/dist-types/models/models_2.d.ts +106 -5
- package/dist-types/ts3.4/commands/CreateInsightCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteActionTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +46 -34
- package/dist-types/ts3.4/models/models_1.d.ts +49 -33
- package/dist-types/ts3.4/models/models_2.d.ts +31 -1
- package/package.json +12 -12
|
@@ -1,6 +1,135 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
2
|
+
import { Action, Adjustment, AssociatedStandard, AssociationStatus, AwsApiGatewayRestApiDetails, AwsApiGatewayStageDetails, AwsApiGatewayV2ApiDetails, AwsApiGatewayV2StageDetails, AwsAutoScalingAutoScalingGroupDetails, AwsAutoScalingLaunchConfigurationDetails, AwsBackupBackupPlanDetails, AwsBackupBackupVaultDetails, AwsBackupRecoveryPointDetails, AwsCertificateManagerCertificateDetails, AwsCloudFormationStackDetails, AwsCloudFrontDistributionDetails, AwsCloudTrailTrailDetails, AwsCloudWatchAlarmDetails, AwsCodeBuildProjectDetails, AwsDynamoDbTableDetails, AwsEc2EipDetails, AwsEc2InstanceDetails, AwsEc2LaunchTemplateDetails, AwsEc2NetworkAclDetails, AwsEc2NetworkInterfaceDetails, AwsEc2RouteTableDetails, AwsEc2SecurityGroupDetails, AwsEc2SubnetDetails, AwsEc2TransitGatewayDetails, AwsEc2VolumeDetails, AwsEc2VpcDetails, AwsEc2VpcEndpointServiceDetails, AwsEc2VpcPeeringConnectionDetails, AwsEc2VpnConnectionDetails, AwsEcrContainerImageDetails, AwsEcrRepositoryDetails, AwsEcsClusterDetails, AwsEcsContainerDetails, AwsEcsServiceDetails, AwsEcsTaskDefinitionDetails, AwsEcsTaskDetails, AwsEfsAccessPointDetails, AwsEksClusterDetails, AwsElasticBeanstalkEnvironmentDetails, AwsElasticsearchDomainDetails, AwsElbLoadBalancerDetails, AwsElbv2LoadBalancerDetails } from "./models_0";
|
|
3
3
|
import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
* <p>Attributes of the session that the key was used for.</p>
|
|
7
|
+
*/
|
|
8
|
+
export interface AwsIamAccessKeySessionContextAttributes {
|
|
9
|
+
/**
|
|
10
|
+
* <p>Indicates whether the session used multi-factor authentication (MFA).</p>
|
|
11
|
+
*/
|
|
12
|
+
MfaAuthenticated?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* <p>Indicates when the session was created.</p>
|
|
15
|
+
* <p>Uses the <code>date-time</code> format specified in <a href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6, Internet
|
|
16
|
+
* Date/Time Format</a>. The value cannot contain spaces, and date and time should be separated by <code>T</code>. For example,
|
|
17
|
+
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
18
|
+
*/
|
|
19
|
+
CreationDate?: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
* <p>Information about the entity that created the session.</p>
|
|
24
|
+
*/
|
|
25
|
+
export interface AwsIamAccessKeySessionContextSessionIssuer {
|
|
26
|
+
/**
|
|
27
|
+
* <p>The type of principal (user, role, or group) that created the session.</p>
|
|
28
|
+
*/
|
|
29
|
+
Type?: string;
|
|
30
|
+
/**
|
|
31
|
+
* <p>The principal ID of the principal (user, role, or group) that created the
|
|
32
|
+
* session.</p>
|
|
33
|
+
*/
|
|
34
|
+
PrincipalId?: string;
|
|
35
|
+
/**
|
|
36
|
+
* <p>The ARN of the session.</p>
|
|
37
|
+
*/
|
|
38
|
+
Arn?: string;
|
|
39
|
+
/**
|
|
40
|
+
* <p>The identifier of the Amazon Web Services account that created the session.</p>
|
|
41
|
+
*/
|
|
42
|
+
AccountId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The name of the principal that created the session.</p>
|
|
45
|
+
*/
|
|
46
|
+
UserName?: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
* <p>Provides information about the session that the key was used for.</p>
|
|
51
|
+
*/
|
|
52
|
+
export interface AwsIamAccessKeySessionContext {
|
|
53
|
+
/**
|
|
54
|
+
* <p>Attributes of the session that the key was used for.</p>
|
|
55
|
+
*/
|
|
56
|
+
Attributes?: AwsIamAccessKeySessionContextAttributes;
|
|
57
|
+
/**
|
|
58
|
+
* <p>Information about the entity that created the session.</p>
|
|
59
|
+
*/
|
|
60
|
+
SessionIssuer?: AwsIamAccessKeySessionContextSessionIssuer;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export declare enum AwsIamAccessKeyStatus {
|
|
66
|
+
ACTIVE = "Active",
|
|
67
|
+
INACTIVE = "Inactive"
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
* <p>IAM access key details related to a finding.</p>
|
|
72
|
+
*/
|
|
73
|
+
export interface AwsIamAccessKeyDetails {
|
|
74
|
+
/**
|
|
75
|
+
* @deprecated
|
|
76
|
+
*
|
|
77
|
+
* <p>The user associated with the IAM access key related to a finding.</p>
|
|
78
|
+
* <p>The <code>UserName</code> parameter has been replaced with the
|
|
79
|
+
* <code>PrincipalName</code> parameter because access keys can also be assigned to
|
|
80
|
+
* principals that are not IAM users.</p>
|
|
81
|
+
*/
|
|
82
|
+
UserName?: string;
|
|
83
|
+
/**
|
|
84
|
+
* <p>The status of the IAM access key related to a finding.</p>
|
|
85
|
+
*/
|
|
86
|
+
Status?: AwsIamAccessKeyStatus | string;
|
|
87
|
+
/**
|
|
88
|
+
* <p>Indicates when the IAM access key was created.</p>
|
|
89
|
+
* <p>Uses the <code>date-time</code> format specified in <a href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6, Internet
|
|
90
|
+
* Date/Time Format</a>. The value cannot contain spaces, and date and time should be separated by <code>T</code>. For example,
|
|
91
|
+
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
92
|
+
*/
|
|
93
|
+
CreatedAt?: string;
|
|
94
|
+
/**
|
|
95
|
+
* <p>The ID of the principal associated with an access key.</p>
|
|
96
|
+
*/
|
|
97
|
+
PrincipalId?: string;
|
|
98
|
+
/**
|
|
99
|
+
* <p>The type of principal associated with an access key.</p>
|
|
100
|
+
*/
|
|
101
|
+
PrincipalType?: string;
|
|
102
|
+
/**
|
|
103
|
+
* <p>The name of the principal.</p>
|
|
104
|
+
*/
|
|
105
|
+
PrincipalName?: string;
|
|
106
|
+
/**
|
|
107
|
+
* <p>The Amazon Web Services account ID of the account for the key.</p>
|
|
108
|
+
*/
|
|
109
|
+
AccountId?: string;
|
|
110
|
+
/**
|
|
111
|
+
* <p>The identifier of the access key.</p>
|
|
112
|
+
*/
|
|
113
|
+
AccessKeyId?: string;
|
|
114
|
+
/**
|
|
115
|
+
* <p>Information about the session that the key was used for.</p>
|
|
116
|
+
*/
|
|
117
|
+
SessionContext?: AwsIamAccessKeySessionContext;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
* <p>A managed policy that is attached to an IAM principal.</p>
|
|
122
|
+
*/
|
|
123
|
+
export interface AwsIamAttachedManagedPolicy {
|
|
124
|
+
/**
|
|
125
|
+
* <p>The name of the policy.</p>
|
|
126
|
+
*/
|
|
127
|
+
PolicyName?: string;
|
|
128
|
+
/**
|
|
129
|
+
* <p>The ARN of the policy.</p>
|
|
130
|
+
*/
|
|
131
|
+
PolicyArn?: string;
|
|
132
|
+
}
|
|
4
133
|
/**
|
|
5
134
|
* @public
|
|
6
135
|
* <p>A managed policy that is attached to the IAM group.</p>
|
|
@@ -3893,6 +4022,66 @@ export interface AwsS3BucketWebsiteConfiguration {
|
|
|
3893
4022
|
*/
|
|
3894
4023
|
RoutingRules?: AwsS3BucketWebsiteConfigurationRoutingRule[];
|
|
3895
4024
|
}
|
|
4025
|
+
/**
|
|
4026
|
+
* @public
|
|
4027
|
+
* <p>
|
|
4028
|
+
* The default S3 Object Lock retention mode and period that you want to apply to new objects placed in the specified Amazon S3 bucket.
|
|
4029
|
+
* </p>
|
|
4030
|
+
*/
|
|
4031
|
+
export interface AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails {
|
|
4032
|
+
/**
|
|
4033
|
+
* <p>
|
|
4034
|
+
* The number of days that you want to specify for the default retention period.
|
|
4035
|
+
* </p>
|
|
4036
|
+
*/
|
|
4037
|
+
Days?: number;
|
|
4038
|
+
/**
|
|
4039
|
+
* <p>
|
|
4040
|
+
* The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.
|
|
4041
|
+
* </p>
|
|
4042
|
+
*/
|
|
4043
|
+
Mode?: string;
|
|
4044
|
+
/**
|
|
4045
|
+
* <p>
|
|
4046
|
+
* The number of years that you want to specify for the default retention period.
|
|
4047
|
+
* </p>
|
|
4048
|
+
*/
|
|
4049
|
+
Years?: number;
|
|
4050
|
+
}
|
|
4051
|
+
/**
|
|
4052
|
+
* @public
|
|
4053
|
+
* <p>
|
|
4054
|
+
* Specifies the S3 Object Lock rule for the specified object. In Amazon S3, Object Lock can help prevent objects from being deleted or overwritten for a fixed amount of time or indefinitely.
|
|
4055
|
+
* </p>
|
|
4056
|
+
*/
|
|
4057
|
+
export interface AwsS3BucketObjectLockConfigurationRuleDetails {
|
|
4058
|
+
/**
|
|
4059
|
+
* <p>
|
|
4060
|
+
* The default Object Lock retention mode and period that you want to apply to new objects placed in the specified bucket.
|
|
4061
|
+
* </p>
|
|
4062
|
+
*/
|
|
4063
|
+
DefaultRetention?: AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails;
|
|
4064
|
+
}
|
|
4065
|
+
/**
|
|
4066
|
+
* @public
|
|
4067
|
+
* <p>
|
|
4068
|
+
* The container element for S3 Object Lock configuration parameters. In Amazon S3, Object Lock can help prevent objects from being deleted or overwritten for a fixed amount of time or indefinitely.
|
|
4069
|
+
* </p>
|
|
4070
|
+
*/
|
|
4071
|
+
export interface AwsS3BucketObjectLockConfiguration {
|
|
4072
|
+
/**
|
|
4073
|
+
* <p>
|
|
4074
|
+
* Indicates whether the bucket has an Object Lock configuration enabled.
|
|
4075
|
+
* </p>
|
|
4076
|
+
*/
|
|
4077
|
+
ObjectLockEnabled?: string;
|
|
4078
|
+
/**
|
|
4079
|
+
* <p>
|
|
4080
|
+
* Specifies the Object Lock rule for the specified object.
|
|
4081
|
+
* </p>
|
|
4082
|
+
*/
|
|
4083
|
+
Rule?: AwsS3BucketObjectLockConfigurationRuleDetails;
|
|
4084
|
+
}
|
|
3896
4085
|
/**
|
|
3897
4086
|
* @public
|
|
3898
4087
|
* <p>Specifies the default server-side encryption to apply to new objects in the
|
|
@@ -3987,6 +4176,12 @@ export interface AwsS3BucketDetails {
|
|
|
3987
4176
|
* <p>The versioning state of an S3 bucket.</p>
|
|
3988
4177
|
*/
|
|
3989
4178
|
BucketVersioningConfiguration?: AwsS3BucketBucketVersioningConfiguration;
|
|
4179
|
+
/**
|
|
4180
|
+
* <p>
|
|
4181
|
+
* Specifies which rule Amazon S3 applies by default to every new object placed in the specified bucket.
|
|
4182
|
+
* </p>
|
|
4183
|
+
*/
|
|
4184
|
+
ObjectLockConfiguration?: AwsS3BucketObjectLockConfiguration;
|
|
3990
4185
|
}
|
|
3991
4186
|
/**
|
|
3992
4187
|
* @public
|
|
@@ -4664,7 +4859,7 @@ export interface ProcessDetails {
|
|
|
4664
4859
|
*/
|
|
4665
4860
|
Pid?: number;
|
|
4666
4861
|
/**
|
|
4667
|
-
* <p>The parent process ID
|
|
4862
|
+
* <p>The parent process ID. This field accepts positive integers between <code>O</code> and <code>2147483647</code>.</p>
|
|
4668
4863
|
*/
|
|
4669
4864
|
ParentPid?: number;
|
|
4670
4865
|
/**
|
|
@@ -6687,6 +6882,13 @@ export interface ResourceDetails {
|
|
|
6687
6882
|
* </p>
|
|
6688
6883
|
*/
|
|
6689
6884
|
AwsWafv2RuleGroup?: AwsWafv2RuleGroupDetails;
|
|
6885
|
+
/**
|
|
6886
|
+
* <p>
|
|
6887
|
+
* Provides details about a route table. A route table contains a set of rules, called routes, that
|
|
6888
|
+
* determine where to direct network traffic from your subnet or gateway.
|
|
6889
|
+
* </p>
|
|
6890
|
+
*/
|
|
6891
|
+
AwsEc2RouteTable?: AwsEc2RouteTableDetails;
|
|
6690
6892
|
}
|
|
6691
6893
|
/**
|
|
6692
6894
|
* @public
|
|
@@ -7877,7 +8079,7 @@ export interface AwsSecurityFindingFilters {
|
|
|
7877
8079
|
*/
|
|
7878
8080
|
ProcessPid?: NumberFilter[];
|
|
7879
8081
|
/**
|
|
7880
|
-
* <p>The parent process ID
|
|
8082
|
+
* <p>The parent process ID. This field accepts positive integers between <code>O</code> and <code>2147483647</code>.</p>
|
|
7881
8083
|
*/
|
|
7882
8084
|
ProcessParentPid?: NumberFilter[];
|
|
7883
8085
|
/**
|
|
@@ -9156,105 +9358,3 @@ export interface CreateFindingAggregatorResponse {
|
|
|
9156
9358
|
*/
|
|
9157
9359
|
Regions?: string[];
|
|
9158
9360
|
}
|
|
9159
|
-
/**
|
|
9160
|
-
* @public
|
|
9161
|
-
*/
|
|
9162
|
-
export interface CreateInsightRequest {
|
|
9163
|
-
/**
|
|
9164
|
-
* <p>The name of the custom insight to create.</p>
|
|
9165
|
-
*/
|
|
9166
|
-
Name: string | undefined;
|
|
9167
|
-
/**
|
|
9168
|
-
* <p>One or more attributes used to filter the findings included in the insight. The insight
|
|
9169
|
-
* only includes findings that match the criteria defined in the filters.</p>
|
|
9170
|
-
*/
|
|
9171
|
-
Filters: AwsSecurityFindingFilters | undefined;
|
|
9172
|
-
/**
|
|
9173
|
-
* <p>The attribute used to group the findings for the insight. The grouping attribute
|
|
9174
|
-
* identifies the type of item that the insight applies to. For example, if an insight is
|
|
9175
|
-
* grouped by resource identifier, then the insight produces a list of resource
|
|
9176
|
-
* identifiers.</p>
|
|
9177
|
-
*/
|
|
9178
|
-
GroupByAttribute: string | undefined;
|
|
9179
|
-
}
|
|
9180
|
-
/**
|
|
9181
|
-
* @public
|
|
9182
|
-
*/
|
|
9183
|
-
export interface CreateInsightResponse {
|
|
9184
|
-
/**
|
|
9185
|
-
* <p>The ARN of the insight created.</p>
|
|
9186
|
-
*/
|
|
9187
|
-
InsightArn: string | undefined;
|
|
9188
|
-
}
|
|
9189
|
-
/**
|
|
9190
|
-
* @public
|
|
9191
|
-
*/
|
|
9192
|
-
export interface CreateMembersRequest {
|
|
9193
|
-
/**
|
|
9194
|
-
* <p>The list of accounts to associate with the Security Hub administrator account. For each account, the
|
|
9195
|
-
* list includes the account ID and optionally the email address.</p>
|
|
9196
|
-
*/
|
|
9197
|
-
AccountDetails: AccountDetails[] | undefined;
|
|
9198
|
-
}
|
|
9199
|
-
/**
|
|
9200
|
-
* @public
|
|
9201
|
-
* <p>Details about the account that was not processed.</p>
|
|
9202
|
-
*/
|
|
9203
|
-
export interface Result {
|
|
9204
|
-
/**
|
|
9205
|
-
* <p>An Amazon Web Services account ID of the account that was not processed.</p>
|
|
9206
|
-
*/
|
|
9207
|
-
AccountId?: string;
|
|
9208
|
-
/**
|
|
9209
|
-
* <p>The reason that the account was not processed.</p>
|
|
9210
|
-
*/
|
|
9211
|
-
ProcessingResult?: string;
|
|
9212
|
-
}
|
|
9213
|
-
/**
|
|
9214
|
-
* @public
|
|
9215
|
-
*/
|
|
9216
|
-
export interface CreateMembersResponse {
|
|
9217
|
-
/**
|
|
9218
|
-
* <p>The list of Amazon Web Services accounts that were not processed. For each account, the list includes
|
|
9219
|
-
* the account ID and the email address.</p>
|
|
9220
|
-
*/
|
|
9221
|
-
UnprocessedAccounts?: Result[];
|
|
9222
|
-
}
|
|
9223
|
-
/**
|
|
9224
|
-
* @public
|
|
9225
|
-
*/
|
|
9226
|
-
export interface DeclineInvitationsRequest {
|
|
9227
|
-
/**
|
|
9228
|
-
* <p>The list of account IDs for the accounts from which to decline the invitations to
|
|
9229
|
-
* Security Hub.</p>
|
|
9230
|
-
*/
|
|
9231
|
-
AccountIds: string[] | undefined;
|
|
9232
|
-
}
|
|
9233
|
-
/**
|
|
9234
|
-
* @public
|
|
9235
|
-
*/
|
|
9236
|
-
export interface DeclineInvitationsResponse {
|
|
9237
|
-
/**
|
|
9238
|
-
* <p>The list of Amazon Web Services accounts that were not processed. For each account, the list includes
|
|
9239
|
-
* the account ID and the email address.</p>
|
|
9240
|
-
*/
|
|
9241
|
-
UnprocessedAccounts?: Result[];
|
|
9242
|
-
}
|
|
9243
|
-
/**
|
|
9244
|
-
* @public
|
|
9245
|
-
*/
|
|
9246
|
-
export interface DeleteActionTargetRequest {
|
|
9247
|
-
/**
|
|
9248
|
-
* <p>The Amazon Resource Name (ARN) of the custom action target to delete.</p>
|
|
9249
|
-
*/
|
|
9250
|
-
ActionTargetArn: string | undefined;
|
|
9251
|
-
}
|
|
9252
|
-
/**
|
|
9253
|
-
* @public
|
|
9254
|
-
*/
|
|
9255
|
-
export interface DeleteActionTargetResponse {
|
|
9256
|
-
/**
|
|
9257
|
-
* <p>The ARN of the custom action target that was deleted.</p>
|
|
9258
|
-
*/
|
|
9259
|
-
ActionTargetArn: string | undefined;
|
|
9260
|
-
}
|
|
@@ -1,5 +1,106 @@
|
|
|
1
|
-
import { ActionTarget, AdminAccount, AssociationStatus, AutoEnableStandards } from "./models_0";
|
|
2
|
-
import { AwsSecurityFinding, AwsSecurityFindingFilters, ControlFindingGenerator, ControlStatus, NoteUpdate, RecordState,
|
|
1
|
+
import { AccountDetails, ActionTarget, AdminAccount, AssociationStatus, AutoEnableStandards } from "./models_0";
|
|
2
|
+
import { AwsSecurityFinding, AwsSecurityFindingFilters, ControlFindingGenerator, ControlStatus, NoteUpdate, RecordState, SeverityRating, StandardsSubscription } from "./models_1";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface CreateInsightRequest {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The name of the custom insight to create.</p>
|
|
9
|
+
*/
|
|
10
|
+
Name: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* <p>One or more attributes used to filter the findings included in the insight. The insight
|
|
13
|
+
* only includes findings that match the criteria defined in the filters.</p>
|
|
14
|
+
*/
|
|
15
|
+
Filters: AwsSecurityFindingFilters | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* <p>The attribute used to group the findings for the insight. The grouping attribute
|
|
18
|
+
* identifies the type of item that the insight applies to. For example, if an insight is
|
|
19
|
+
* grouped by resource identifier, then the insight produces a list of resource
|
|
20
|
+
* identifiers.</p>
|
|
21
|
+
*/
|
|
22
|
+
GroupByAttribute: string | undefined;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export interface CreateInsightResponse {
|
|
28
|
+
/**
|
|
29
|
+
* <p>The ARN of the insight created.</p>
|
|
30
|
+
*/
|
|
31
|
+
InsightArn: string | undefined;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export interface CreateMembersRequest {
|
|
37
|
+
/**
|
|
38
|
+
* <p>The list of accounts to associate with the Security Hub administrator account. For each account, the
|
|
39
|
+
* list includes the account ID and optionally the email address.</p>
|
|
40
|
+
*/
|
|
41
|
+
AccountDetails: AccountDetails[] | undefined;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
* <p>Details about the account that was not processed.</p>
|
|
46
|
+
*/
|
|
47
|
+
export interface Result {
|
|
48
|
+
/**
|
|
49
|
+
* <p>An Amazon Web Services account ID of the account that was not processed.</p>
|
|
50
|
+
*/
|
|
51
|
+
AccountId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* <p>The reason that the account was not processed.</p>
|
|
54
|
+
*/
|
|
55
|
+
ProcessingResult?: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export interface CreateMembersResponse {
|
|
61
|
+
/**
|
|
62
|
+
* <p>The list of Amazon Web Services accounts that were not processed. For each account, the list includes
|
|
63
|
+
* the account ID and the email address.</p>
|
|
64
|
+
*/
|
|
65
|
+
UnprocessedAccounts?: Result[];
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export interface DeclineInvitationsRequest {
|
|
71
|
+
/**
|
|
72
|
+
* <p>The list of prospective member account IDs for which to decline an invitation.</p>
|
|
73
|
+
*/
|
|
74
|
+
AccountIds: string[] | undefined;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export interface DeclineInvitationsResponse {
|
|
80
|
+
/**
|
|
81
|
+
* <p>The list of Amazon Web Services accounts that were not processed. For each account, the list includes
|
|
82
|
+
* the account ID and the email address.</p>
|
|
83
|
+
*/
|
|
84
|
+
UnprocessedAccounts?: Result[];
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export interface DeleteActionTargetRequest {
|
|
90
|
+
/**
|
|
91
|
+
* <p>The Amazon Resource Name (ARN) of the custom action target to delete.</p>
|
|
92
|
+
*/
|
|
93
|
+
ActionTargetArn: string | undefined;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export interface DeleteActionTargetResponse {
|
|
99
|
+
/**
|
|
100
|
+
* <p>The ARN of the custom action target that was deleted.</p>
|
|
101
|
+
*/
|
|
102
|
+
ActionTargetArn: string | undefined;
|
|
103
|
+
}
|
|
3
104
|
/**
|
|
4
105
|
* @public
|
|
5
106
|
*/
|
|
@@ -37,7 +138,7 @@ export interface DeleteInsightResponse {
|
|
|
37
138
|
*/
|
|
38
139
|
export interface DeleteInvitationsRequest {
|
|
39
140
|
/**
|
|
40
|
-
* <p>The list of
|
|
141
|
+
* <p>The list of member account IDs that received the invitations you want to delete.</p>
|
|
41
142
|
*/
|
|
42
143
|
AccountIds: string[] | undefined;
|
|
43
144
|
}
|
|
@@ -142,7 +243,7 @@ export interface DescribeHubResponse {
|
|
|
142
243
|
* for a control check when the check applies to multiple enabled standards.</p>
|
|
143
244
|
* <p>The value for this field in a member account matches the value in the administrator
|
|
144
245
|
* account. For accounts that aren't part of an organization, the default value of this field
|
|
145
|
-
* is <code>SECURITY_CONTROL</code> if you enabled Security Hub on or after February
|
|
246
|
+
* is <code>SECURITY_CONTROL</code> if you enabled Security Hub on or after February 23,
|
|
146
247
|
* 2023.</p>
|
|
147
248
|
*/
|
|
148
249
|
ControlFindingGenerator?: ControlFindingGenerator | string;
|
|
@@ -574,7 +675,7 @@ export interface EnableSecurityHubRequest {
|
|
|
574
675
|
* for a control check when the check applies to multiple enabled standards.</p>
|
|
575
676
|
* <p>The value for this field in a member account matches the value in the administrator
|
|
576
677
|
* account. For accounts that aren't part of an organization, the default value of this field
|
|
577
|
-
* is <code>SECURITY_CONTROL</code> if you enabled Security Hub on or after February
|
|
678
|
+
* is <code>SECURITY_CONTROL</code> if you enabled Security Hub on or after February 23,
|
|
578
679
|
* 2023.</p>
|
|
579
680
|
*/
|
|
580
681
|
ControlFindingGenerator?: ControlFindingGenerator | string;
|
|
@@ -163,6 +163,18 @@ export interface AdminAccount {
|
|
|
163
163
|
export interface AssociatedStandard {
|
|
164
164
|
StandardsId?: string;
|
|
165
165
|
}
|
|
166
|
+
export interface AssociationStateDetails {
|
|
167
|
+
State?: string;
|
|
168
|
+
StatusMessage?: string;
|
|
169
|
+
}
|
|
170
|
+
export interface AssociationSetDetails {
|
|
171
|
+
AssociationState?: AssociationStateDetails;
|
|
172
|
+
GatewayId?: string;
|
|
173
|
+
Main?: boolean;
|
|
174
|
+
RouteTableAssociationId?: string;
|
|
175
|
+
RouteTableId?: string;
|
|
176
|
+
SubnetId?: string;
|
|
177
|
+
}
|
|
166
178
|
export declare enum AssociationStatus {
|
|
167
179
|
DISABLED = "DISABLED",
|
|
168
180
|
ENABLED = "ENABLED",
|
|
@@ -815,6 +827,9 @@ export interface AwsEc2InstanceMetadataOptions {
|
|
|
815
827
|
HttpTokens?: string;
|
|
816
828
|
InstanceMetadataTags?: string;
|
|
817
829
|
}
|
|
830
|
+
export interface AwsEc2InstanceMonitoringDetails {
|
|
831
|
+
State?: string;
|
|
832
|
+
}
|
|
818
833
|
export interface AwsEc2InstanceNetworkInterfacesDetails {
|
|
819
834
|
NetworkInterfaceId?: string;
|
|
820
835
|
}
|
|
@@ -831,6 +846,7 @@ export interface AwsEc2InstanceDetails {
|
|
|
831
846
|
NetworkInterfaces?: AwsEc2InstanceNetworkInterfacesDetails[];
|
|
832
847
|
VirtualizationType?: string;
|
|
833
848
|
MetadataOptions?: AwsEc2InstanceMetadataOptions;
|
|
849
|
+
Monitoring?: AwsEc2InstanceMonitoringDetails;
|
|
834
850
|
}
|
|
835
851
|
export interface AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails {
|
|
836
852
|
DeleteOnTermination?: boolean;
|
|
@@ -1111,6 +1127,35 @@ export interface AwsEc2NetworkInterfaceDetails {
|
|
|
1111
1127
|
PublicDnsName?: string;
|
|
1112
1128
|
PublicIp?: string;
|
|
1113
1129
|
}
|
|
1130
|
+
export interface PropagatingVgwSetDetails {
|
|
1131
|
+
GatewayId?: string;
|
|
1132
|
+
}
|
|
1133
|
+
export interface RouteSetDetails {
|
|
1134
|
+
CarrierGatewayId?: string;
|
|
1135
|
+
CoreNetworkArn?: string;
|
|
1136
|
+
DestinationCidrBlock?: string;
|
|
1137
|
+
DestinationIpv6CidrBlock?: string;
|
|
1138
|
+
DestinationPrefixListId?: string;
|
|
1139
|
+
EgressOnlyInternetGatewayId?: string;
|
|
1140
|
+
GatewayId?: string;
|
|
1141
|
+
InstanceId?: string;
|
|
1142
|
+
InstanceOwnerId?: string;
|
|
1143
|
+
LocalGatewayId?: string;
|
|
1144
|
+
NatGatewayId?: string;
|
|
1145
|
+
NetworkInterfaceId?: string;
|
|
1146
|
+
Origin?: string;
|
|
1147
|
+
State?: string;
|
|
1148
|
+
TransitGatewayId?: string;
|
|
1149
|
+
VpcPeeringConnectionId?: string;
|
|
1150
|
+
}
|
|
1151
|
+
export interface AwsEc2RouteTableDetails {
|
|
1152
|
+
AssociationSet?: AssociationSetDetails[];
|
|
1153
|
+
OwnerId?: string;
|
|
1154
|
+
PropagatingVgwSet?: PropagatingVgwSetDetails[];
|
|
1155
|
+
RouteTableId?: string;
|
|
1156
|
+
RouteSet?: RouteSetDetails[];
|
|
1157
|
+
VpcId?: string;
|
|
1158
|
+
}
|
|
1114
1159
|
export interface AwsEc2SecurityGroupIpRange {
|
|
1115
1160
|
CidrIp?: string;
|
|
1116
1161
|
}
|
|
@@ -1685,6 +1730,7 @@ export interface AwsEksClusterLoggingDetails {
|
|
|
1685
1730
|
export interface AwsEksClusterResourcesVpcConfigDetails {
|
|
1686
1731
|
SecurityGroupIds?: string[];
|
|
1687
1732
|
SubnetIds?: string[];
|
|
1733
|
+
EndpointPublicAccess?: boolean;
|
|
1688
1734
|
}
|
|
1689
1735
|
export interface AwsEksClusterDetails {
|
|
1690
1736
|
Arn?: string;
|
|
@@ -1901,37 +1947,3 @@ export interface AwsElbv2LoadBalancerDetails {
|
|
|
1901
1947
|
VpcId?: string;
|
|
1902
1948
|
LoadBalancerAttributes?: AwsElbv2LoadBalancerAttribute[];
|
|
1903
1949
|
}
|
|
1904
|
-
export interface AwsIamAccessKeySessionContextAttributes {
|
|
1905
|
-
MfaAuthenticated?: boolean;
|
|
1906
|
-
CreationDate?: string;
|
|
1907
|
-
}
|
|
1908
|
-
export interface AwsIamAccessKeySessionContextSessionIssuer {
|
|
1909
|
-
Type?: string;
|
|
1910
|
-
PrincipalId?: string;
|
|
1911
|
-
Arn?: string;
|
|
1912
|
-
AccountId?: string;
|
|
1913
|
-
UserName?: string;
|
|
1914
|
-
}
|
|
1915
|
-
export interface AwsIamAccessKeySessionContext {
|
|
1916
|
-
Attributes?: AwsIamAccessKeySessionContextAttributes;
|
|
1917
|
-
SessionIssuer?: AwsIamAccessKeySessionContextSessionIssuer;
|
|
1918
|
-
}
|
|
1919
|
-
export declare enum AwsIamAccessKeyStatus {
|
|
1920
|
-
ACTIVE = "Active",
|
|
1921
|
-
INACTIVE = "Inactive",
|
|
1922
|
-
}
|
|
1923
|
-
export interface AwsIamAccessKeyDetails {
|
|
1924
|
-
UserName?: string;
|
|
1925
|
-
Status?: AwsIamAccessKeyStatus | string;
|
|
1926
|
-
CreatedAt?: string;
|
|
1927
|
-
PrincipalId?: string;
|
|
1928
|
-
PrincipalType?: string;
|
|
1929
|
-
PrincipalName?: string;
|
|
1930
|
-
AccountId?: string;
|
|
1931
|
-
AccessKeyId?: string;
|
|
1932
|
-
SessionContext?: AwsIamAccessKeySessionContext;
|
|
1933
|
-
}
|
|
1934
|
-
export interface AwsIamAttachedManagedPolicy {
|
|
1935
|
-
PolicyName?: string;
|
|
1936
|
-
PolicyArn?: string;
|
|
1937
|
-
}
|