@aws-sdk/client-securityhub 3.454.0 → 3.458.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 +83 -67
- package/dist-cjs/SecurityHub.js +4 -0
- package/dist-cjs/commands/GetSecurityControlDefinitionCommand.js +51 -0
- package/dist-cjs/commands/UpdateSecurityControlCommand.js +51 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_2.js +71 -1
- package/dist-cjs/protocols/Aws_restJson1.js +349 -5
- package/dist-es/SecurityHub.js +4 -0
- package/dist-es/commands/GetSecurityControlDefinitionCommand.js +47 -0
- package/dist-es/commands/UpdateSecurityControlCommand.js +47 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_2.js +69 -0
- package/dist-es/protocols/Aws_restJson1.js +343 -3
- package/dist-types/SecurityHub.d.ts +14 -0
- package/dist-types/SecurityHubClient.d.ts +4 -2
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +4 -0
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +23 -0
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +9 -3
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +4 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +4 -0
- package/dist-types/commands/CreateInsightCommand.d.ts +14 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +23 -3
- package/dist-types/commands/GetInsightsCommand.d.ts +14 -0
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +158 -0
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +59 -0
- package/dist-types/commands/UpdateFindingsCommand.d.ts +14 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +14 -0
- package/dist-types/commands/UpdateSecurityControlCommand.d.ts +118 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +15 -1
- package/dist-types/models/models_1.d.ts +29 -37
- package/dist-types/models/models_2.d.ts +987 -147
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +34 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetSecurityControlDefinitionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateSecurityControlCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/models/models_1.d.ts +5 -6
- package/dist-types/ts3.4/models/models_2.d.ts +361 -15
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +3 -3
|
@@ -118,7 +118,8 @@ import {
|
|
|
118
118
|
AwsWafRuleGroupDetails,
|
|
119
119
|
AwsWafv2ActionAllowDetails,
|
|
120
120
|
AwsWafv2ActionBlockDetails,
|
|
121
|
-
|
|
121
|
+
AwsWafv2RulesActionCaptchaDetails,
|
|
122
|
+
AwsWafv2RulesActionCountDetails,
|
|
122
123
|
Compliance,
|
|
123
124
|
DataClassificationDetails,
|
|
124
125
|
FindingProviderFields,
|
|
@@ -133,6 +134,12 @@ import {
|
|
|
133
134
|
Remediation,
|
|
134
135
|
} from "./models_1";
|
|
135
136
|
import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
|
|
137
|
+
export interface AwsWafv2RulesActionDetails {
|
|
138
|
+
Allow?: AwsWafv2ActionAllowDetails;
|
|
139
|
+
Block?: AwsWafv2ActionBlockDetails;
|
|
140
|
+
Captcha?: AwsWafv2RulesActionCaptchaDetails;
|
|
141
|
+
Count?: AwsWafv2RulesActionCountDetails;
|
|
142
|
+
}
|
|
136
143
|
export interface AwsWafv2VisibilityConfigDetails {
|
|
137
144
|
CloudWatchMetricsEnabled?: boolean;
|
|
138
145
|
MetricName?: string;
|
|
@@ -609,6 +616,10 @@ export interface AwsSecurityFindingFilters {
|
|
|
609
616
|
Sample?: BooleanFilter[];
|
|
610
617
|
ComplianceSecurityControlId?: StringFilter[];
|
|
611
618
|
ComplianceAssociatedStandardsId?: StringFilter[];
|
|
619
|
+
VulnerabilitiesExploitAvailable?: StringFilter[];
|
|
620
|
+
VulnerabilitiesFixAvailable?: StringFilter[];
|
|
621
|
+
ComplianceSecurityControlParametersName?: StringFilter[];
|
|
622
|
+
ComplianceSecurityControlParametersValue?: StringFilter[];
|
|
612
623
|
}
|
|
613
624
|
export interface AwsSecurityFindingIdentifier {
|
|
614
625
|
Id: string | undefined;
|
|
@@ -677,6 +688,139 @@ export interface BatchGetAutomationRulesResponse {
|
|
|
677
688
|
export interface BatchGetSecurityControlsRequest {
|
|
678
689
|
SecurityControlIds: string[] | undefined;
|
|
679
690
|
}
|
|
691
|
+
export type ParameterValue =
|
|
692
|
+
| ParameterValue.BooleanMember
|
|
693
|
+
| ParameterValue.DoubleMember
|
|
694
|
+
| ParameterValue.EnumMember
|
|
695
|
+
| ParameterValue.EnumListMember
|
|
696
|
+
| ParameterValue.IntegerMember
|
|
697
|
+
| ParameterValue.IntegerListMember
|
|
698
|
+
| ParameterValue.StringMember
|
|
699
|
+
| ParameterValue.StringListMember
|
|
700
|
+
| ParameterValue.$UnknownMember;
|
|
701
|
+
export declare namespace ParameterValue {
|
|
702
|
+
interface IntegerMember {
|
|
703
|
+
Integer: number;
|
|
704
|
+
IntegerList?: never;
|
|
705
|
+
Double?: never;
|
|
706
|
+
String?: never;
|
|
707
|
+
StringList?: never;
|
|
708
|
+
Boolean?: never;
|
|
709
|
+
Enum?: never;
|
|
710
|
+
EnumList?: never;
|
|
711
|
+
$unknown?: never;
|
|
712
|
+
}
|
|
713
|
+
interface IntegerListMember {
|
|
714
|
+
Integer?: never;
|
|
715
|
+
IntegerList: number[];
|
|
716
|
+
Double?: never;
|
|
717
|
+
String?: never;
|
|
718
|
+
StringList?: never;
|
|
719
|
+
Boolean?: never;
|
|
720
|
+
Enum?: never;
|
|
721
|
+
EnumList?: never;
|
|
722
|
+
$unknown?: never;
|
|
723
|
+
}
|
|
724
|
+
interface DoubleMember {
|
|
725
|
+
Integer?: never;
|
|
726
|
+
IntegerList?: never;
|
|
727
|
+
Double: number;
|
|
728
|
+
String?: never;
|
|
729
|
+
StringList?: never;
|
|
730
|
+
Boolean?: never;
|
|
731
|
+
Enum?: never;
|
|
732
|
+
EnumList?: never;
|
|
733
|
+
$unknown?: never;
|
|
734
|
+
}
|
|
735
|
+
interface StringMember {
|
|
736
|
+
Integer?: never;
|
|
737
|
+
IntegerList?: never;
|
|
738
|
+
Double?: never;
|
|
739
|
+
String: string;
|
|
740
|
+
StringList?: never;
|
|
741
|
+
Boolean?: never;
|
|
742
|
+
Enum?: never;
|
|
743
|
+
EnumList?: never;
|
|
744
|
+
$unknown?: never;
|
|
745
|
+
}
|
|
746
|
+
interface StringListMember {
|
|
747
|
+
Integer?: never;
|
|
748
|
+
IntegerList?: never;
|
|
749
|
+
Double?: never;
|
|
750
|
+
String?: never;
|
|
751
|
+
StringList: string[];
|
|
752
|
+
Boolean?: never;
|
|
753
|
+
Enum?: never;
|
|
754
|
+
EnumList?: never;
|
|
755
|
+
$unknown?: never;
|
|
756
|
+
}
|
|
757
|
+
interface BooleanMember {
|
|
758
|
+
Integer?: never;
|
|
759
|
+
IntegerList?: never;
|
|
760
|
+
Double?: never;
|
|
761
|
+
String?: never;
|
|
762
|
+
StringList?: never;
|
|
763
|
+
Boolean: boolean;
|
|
764
|
+
Enum?: never;
|
|
765
|
+
EnumList?: never;
|
|
766
|
+
$unknown?: never;
|
|
767
|
+
}
|
|
768
|
+
interface EnumMember {
|
|
769
|
+
Integer?: never;
|
|
770
|
+
IntegerList?: never;
|
|
771
|
+
Double?: never;
|
|
772
|
+
String?: never;
|
|
773
|
+
StringList?: never;
|
|
774
|
+
Boolean?: never;
|
|
775
|
+
Enum: string;
|
|
776
|
+
EnumList?: never;
|
|
777
|
+
$unknown?: never;
|
|
778
|
+
}
|
|
779
|
+
interface EnumListMember {
|
|
780
|
+
Integer?: never;
|
|
781
|
+
IntegerList?: never;
|
|
782
|
+
Double?: never;
|
|
783
|
+
String?: never;
|
|
784
|
+
StringList?: never;
|
|
785
|
+
Boolean?: never;
|
|
786
|
+
Enum?: never;
|
|
787
|
+
EnumList: string[];
|
|
788
|
+
$unknown?: never;
|
|
789
|
+
}
|
|
790
|
+
interface $UnknownMember {
|
|
791
|
+
Integer?: never;
|
|
792
|
+
IntegerList?: never;
|
|
793
|
+
Double?: never;
|
|
794
|
+
String?: never;
|
|
795
|
+
StringList?: never;
|
|
796
|
+
Boolean?: never;
|
|
797
|
+
Enum?: never;
|
|
798
|
+
EnumList?: never;
|
|
799
|
+
$unknown: [string, any];
|
|
800
|
+
}
|
|
801
|
+
interface Visitor<T> {
|
|
802
|
+
Integer: (value: number) => T;
|
|
803
|
+
IntegerList: (value: number[]) => T;
|
|
804
|
+
Double: (value: number) => T;
|
|
805
|
+
String: (value: string) => T;
|
|
806
|
+
StringList: (value: string[]) => T;
|
|
807
|
+
Boolean: (value: boolean) => T;
|
|
808
|
+
Enum: (value: string) => T;
|
|
809
|
+
EnumList: (value: string[]) => T;
|
|
810
|
+
_: (name: string, value: any) => T;
|
|
811
|
+
}
|
|
812
|
+
const visit: <T>(value: ParameterValue, visitor: Visitor<T>) => T;
|
|
813
|
+
}
|
|
814
|
+
export declare const ParameterValueType: {
|
|
815
|
+
readonly CUSTOM: "CUSTOM";
|
|
816
|
+
readonly DEFAULT: "DEFAULT";
|
|
817
|
+
};
|
|
818
|
+
export type ParameterValueType =
|
|
819
|
+
(typeof ParameterValueType)[keyof typeof ParameterValueType];
|
|
820
|
+
export interface ParameterConfiguration {
|
|
821
|
+
ValueType: ParameterValueType | undefined;
|
|
822
|
+
Value?: ParameterValue;
|
|
823
|
+
}
|
|
680
824
|
export declare const ControlStatus: {
|
|
681
825
|
readonly DISABLED: "DISABLED";
|
|
682
826
|
readonly ENABLED: "ENABLED";
|
|
@@ -690,6 +834,11 @@ export declare const SeverityRating: {
|
|
|
690
834
|
};
|
|
691
835
|
export type SeverityRating =
|
|
692
836
|
(typeof SeverityRating)[keyof typeof SeverityRating];
|
|
837
|
+
export declare const UpdateStatus: {
|
|
838
|
+
readonly READY: "READY";
|
|
839
|
+
readonly UPDATING: "UPDATING";
|
|
840
|
+
};
|
|
841
|
+
export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
|
|
693
842
|
export interface SecurityControl {
|
|
694
843
|
SecurityControlId: string | undefined;
|
|
695
844
|
SecurityControlArn: string | undefined;
|
|
@@ -698,6 +847,9 @@ export interface SecurityControl {
|
|
|
698
847
|
RemediationUrl: string | undefined;
|
|
699
848
|
SeverityRating: SeverityRating | undefined;
|
|
700
849
|
SecurityControlStatus: ControlStatus | undefined;
|
|
850
|
+
UpdateStatus?: UpdateStatus;
|
|
851
|
+
Parameters?: Record<string, ParameterConfiguration>;
|
|
852
|
+
LastUpdateReason?: string;
|
|
701
853
|
}
|
|
702
854
|
export declare const UnprocessedErrorCode: {
|
|
703
855
|
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
@@ -820,6 +972,168 @@ export interface UnprocessedStandardsControlAssociationUpdate {
|
|
|
820
972
|
export interface BatchUpdateStandardsControlAssociationsResponse {
|
|
821
973
|
UnprocessedAssociationUpdates?: UnprocessedStandardsControlAssociationUpdate[];
|
|
822
974
|
}
|
|
975
|
+
export interface BooleanConfigurationOptions {
|
|
976
|
+
DefaultValue?: boolean;
|
|
977
|
+
}
|
|
978
|
+
export interface DoubleConfigurationOptions {
|
|
979
|
+
DefaultValue?: number;
|
|
980
|
+
Min?: number;
|
|
981
|
+
Max?: number;
|
|
982
|
+
}
|
|
983
|
+
export interface EnumConfigurationOptions {
|
|
984
|
+
DefaultValue?: string;
|
|
985
|
+
AllowedValues?: string[];
|
|
986
|
+
}
|
|
987
|
+
export interface EnumListConfigurationOptions {
|
|
988
|
+
DefaultValue?: string[];
|
|
989
|
+
MaxItems?: number;
|
|
990
|
+
AllowedValues?: string[];
|
|
991
|
+
}
|
|
992
|
+
export interface IntegerConfigurationOptions {
|
|
993
|
+
DefaultValue?: number;
|
|
994
|
+
Min?: number;
|
|
995
|
+
Max?: number;
|
|
996
|
+
}
|
|
997
|
+
export interface IntegerListConfigurationOptions {
|
|
998
|
+
DefaultValue?: number[];
|
|
999
|
+
Min?: number;
|
|
1000
|
+
Max?: number;
|
|
1001
|
+
MaxItems?: number;
|
|
1002
|
+
}
|
|
1003
|
+
export interface StringConfigurationOptions {
|
|
1004
|
+
DefaultValue?: string;
|
|
1005
|
+
Re2Expression?: string;
|
|
1006
|
+
ExpressionDescription?: string;
|
|
1007
|
+
}
|
|
1008
|
+
export interface StringListConfigurationOptions {
|
|
1009
|
+
DefaultValue?: string[];
|
|
1010
|
+
Re2Expression?: string;
|
|
1011
|
+
MaxItems?: number;
|
|
1012
|
+
ExpressionDescription?: string;
|
|
1013
|
+
}
|
|
1014
|
+
export type ConfigurationOptions =
|
|
1015
|
+
| ConfigurationOptions.BooleanMember
|
|
1016
|
+
| ConfigurationOptions.DoubleMember
|
|
1017
|
+
| ConfigurationOptions.EnumMember
|
|
1018
|
+
| ConfigurationOptions.EnumListMember
|
|
1019
|
+
| ConfigurationOptions.IntegerMember
|
|
1020
|
+
| ConfigurationOptions.IntegerListMember
|
|
1021
|
+
| ConfigurationOptions.StringMember
|
|
1022
|
+
| ConfigurationOptions.StringListMember
|
|
1023
|
+
| ConfigurationOptions.$UnknownMember;
|
|
1024
|
+
export declare namespace ConfigurationOptions {
|
|
1025
|
+
interface IntegerMember {
|
|
1026
|
+
Integer: IntegerConfigurationOptions;
|
|
1027
|
+
IntegerList?: never;
|
|
1028
|
+
Double?: never;
|
|
1029
|
+
String?: never;
|
|
1030
|
+
StringList?: never;
|
|
1031
|
+
Boolean?: never;
|
|
1032
|
+
Enum?: never;
|
|
1033
|
+
EnumList?: never;
|
|
1034
|
+
$unknown?: never;
|
|
1035
|
+
}
|
|
1036
|
+
interface IntegerListMember {
|
|
1037
|
+
Integer?: never;
|
|
1038
|
+
IntegerList: IntegerListConfigurationOptions;
|
|
1039
|
+
Double?: never;
|
|
1040
|
+
String?: never;
|
|
1041
|
+
StringList?: never;
|
|
1042
|
+
Boolean?: never;
|
|
1043
|
+
Enum?: never;
|
|
1044
|
+
EnumList?: never;
|
|
1045
|
+
$unknown?: never;
|
|
1046
|
+
}
|
|
1047
|
+
interface DoubleMember {
|
|
1048
|
+
Integer?: never;
|
|
1049
|
+
IntegerList?: never;
|
|
1050
|
+
Double: DoubleConfigurationOptions;
|
|
1051
|
+
String?: never;
|
|
1052
|
+
StringList?: never;
|
|
1053
|
+
Boolean?: never;
|
|
1054
|
+
Enum?: never;
|
|
1055
|
+
EnumList?: never;
|
|
1056
|
+
$unknown?: never;
|
|
1057
|
+
}
|
|
1058
|
+
interface StringMember {
|
|
1059
|
+
Integer?: never;
|
|
1060
|
+
IntegerList?: never;
|
|
1061
|
+
Double?: never;
|
|
1062
|
+
String: StringConfigurationOptions;
|
|
1063
|
+
StringList?: never;
|
|
1064
|
+
Boolean?: never;
|
|
1065
|
+
Enum?: never;
|
|
1066
|
+
EnumList?: never;
|
|
1067
|
+
$unknown?: never;
|
|
1068
|
+
}
|
|
1069
|
+
interface StringListMember {
|
|
1070
|
+
Integer?: never;
|
|
1071
|
+
IntegerList?: never;
|
|
1072
|
+
Double?: never;
|
|
1073
|
+
String?: never;
|
|
1074
|
+
StringList: StringListConfigurationOptions;
|
|
1075
|
+
Boolean?: never;
|
|
1076
|
+
Enum?: never;
|
|
1077
|
+
EnumList?: never;
|
|
1078
|
+
$unknown?: never;
|
|
1079
|
+
}
|
|
1080
|
+
interface BooleanMember {
|
|
1081
|
+
Integer?: never;
|
|
1082
|
+
IntegerList?: never;
|
|
1083
|
+
Double?: never;
|
|
1084
|
+
String?: never;
|
|
1085
|
+
StringList?: never;
|
|
1086
|
+
Boolean: BooleanConfigurationOptions;
|
|
1087
|
+
Enum?: never;
|
|
1088
|
+
EnumList?: never;
|
|
1089
|
+
$unknown?: never;
|
|
1090
|
+
}
|
|
1091
|
+
interface EnumMember {
|
|
1092
|
+
Integer?: never;
|
|
1093
|
+
IntegerList?: never;
|
|
1094
|
+
Double?: never;
|
|
1095
|
+
String?: never;
|
|
1096
|
+
StringList?: never;
|
|
1097
|
+
Boolean?: never;
|
|
1098
|
+
Enum: EnumConfigurationOptions;
|
|
1099
|
+
EnumList?: never;
|
|
1100
|
+
$unknown?: never;
|
|
1101
|
+
}
|
|
1102
|
+
interface EnumListMember {
|
|
1103
|
+
Integer?: never;
|
|
1104
|
+
IntegerList?: never;
|
|
1105
|
+
Double?: never;
|
|
1106
|
+
String?: never;
|
|
1107
|
+
StringList?: never;
|
|
1108
|
+
Boolean?: never;
|
|
1109
|
+
Enum?: never;
|
|
1110
|
+
EnumList: EnumListConfigurationOptions;
|
|
1111
|
+
$unknown?: never;
|
|
1112
|
+
}
|
|
1113
|
+
interface $UnknownMember {
|
|
1114
|
+
Integer?: never;
|
|
1115
|
+
IntegerList?: never;
|
|
1116
|
+
Double?: never;
|
|
1117
|
+
String?: never;
|
|
1118
|
+
StringList?: never;
|
|
1119
|
+
Boolean?: never;
|
|
1120
|
+
Enum?: never;
|
|
1121
|
+
EnumList?: never;
|
|
1122
|
+
$unknown: [string, any];
|
|
1123
|
+
}
|
|
1124
|
+
interface Visitor<T> {
|
|
1125
|
+
Integer: (value: IntegerConfigurationOptions) => T;
|
|
1126
|
+
IntegerList: (value: IntegerListConfigurationOptions) => T;
|
|
1127
|
+
Double: (value: DoubleConfigurationOptions) => T;
|
|
1128
|
+
String: (value: StringConfigurationOptions) => T;
|
|
1129
|
+
StringList: (value: StringListConfigurationOptions) => T;
|
|
1130
|
+
Boolean: (value: BooleanConfigurationOptions) => T;
|
|
1131
|
+
Enum: (value: EnumConfigurationOptions) => T;
|
|
1132
|
+
EnumList: (value: EnumListConfigurationOptions) => T;
|
|
1133
|
+
_: (name: string, value: any) => T;
|
|
1134
|
+
}
|
|
1135
|
+
const visit: <T>(value: ConfigurationOptions, visitor: Visitor<T>) => T;
|
|
1136
|
+
}
|
|
823
1137
|
export declare const ControlFindingGenerator: {
|
|
824
1138
|
readonly SECURITY_CONTROL: "SECURITY_CONTROL";
|
|
825
1139
|
readonly STANDARD_CONTROL: "STANDARD_CONTROL";
|
|
@@ -884,6 +1198,11 @@ export interface Result {
|
|
|
884
1198
|
export interface CreateMembersResponse {
|
|
885
1199
|
UnprocessedAccounts?: Result[];
|
|
886
1200
|
}
|
|
1201
|
+
export declare const SecurityControlProperty: {
|
|
1202
|
+
readonly Parameters: "Parameters";
|
|
1203
|
+
};
|
|
1204
|
+
export type SecurityControlProperty =
|
|
1205
|
+
(typeof SecurityControlProperty)[keyof typeof SecurityControlProperty];
|
|
887
1206
|
export interface DeclineInvitationsRequest {
|
|
888
1207
|
AccountIds: string[] | undefined;
|
|
889
1208
|
}
|
|
@@ -1181,6 +1500,32 @@ export interface GetMembersResponse {
|
|
|
1181
1500
|
Members?: Member[];
|
|
1182
1501
|
UnprocessedAccounts?: Result[];
|
|
1183
1502
|
}
|
|
1503
|
+
export interface GetSecurityControlDefinitionRequest {
|
|
1504
|
+
SecurityControlId: string | undefined;
|
|
1505
|
+
}
|
|
1506
|
+
export declare const RegionAvailabilityStatus: {
|
|
1507
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
1508
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
1509
|
+
};
|
|
1510
|
+
export type RegionAvailabilityStatus =
|
|
1511
|
+
(typeof RegionAvailabilityStatus)[keyof typeof RegionAvailabilityStatus];
|
|
1512
|
+
export interface ParameterDefinition {
|
|
1513
|
+
Description: string | undefined;
|
|
1514
|
+
ConfigurationOptions: ConfigurationOptions | undefined;
|
|
1515
|
+
}
|
|
1516
|
+
export interface SecurityControlDefinition {
|
|
1517
|
+
SecurityControlId: string | undefined;
|
|
1518
|
+
Title: string | undefined;
|
|
1519
|
+
Description: string | undefined;
|
|
1520
|
+
RemediationUrl: string | undefined;
|
|
1521
|
+
SeverityRating: SeverityRating | undefined;
|
|
1522
|
+
CurrentRegionAvailability: RegionAvailabilityStatus | undefined;
|
|
1523
|
+
CustomizableProperties?: SecurityControlProperty[];
|
|
1524
|
+
ParameterDefinitions?: Record<string, ParameterDefinition>;
|
|
1525
|
+
}
|
|
1526
|
+
export interface GetSecurityControlDefinitionResponse {
|
|
1527
|
+
SecurityControlDefinition: SecurityControlDefinition | undefined;
|
|
1528
|
+
}
|
|
1184
1529
|
export interface InviteMembersRequest {
|
|
1185
1530
|
AccountIds: string[] | undefined;
|
|
1186
1531
|
}
|
|
@@ -1241,20 +1586,6 @@ export interface ListSecurityControlDefinitionsRequest {
|
|
|
1241
1586
|
NextToken?: string;
|
|
1242
1587
|
MaxResults?: number;
|
|
1243
1588
|
}
|
|
1244
|
-
export declare const RegionAvailabilityStatus: {
|
|
1245
|
-
readonly AVAILABLE: "AVAILABLE";
|
|
1246
|
-
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
1247
|
-
};
|
|
1248
|
-
export type RegionAvailabilityStatus =
|
|
1249
|
-
(typeof RegionAvailabilityStatus)[keyof typeof RegionAvailabilityStatus];
|
|
1250
|
-
export interface SecurityControlDefinition {
|
|
1251
|
-
SecurityControlId: string | undefined;
|
|
1252
|
-
Title: string | undefined;
|
|
1253
|
-
Description: string | undefined;
|
|
1254
|
-
RemediationUrl: string | undefined;
|
|
1255
|
-
SeverityRating: SeverityRating | undefined;
|
|
1256
|
-
CurrentRegionAvailability: RegionAvailabilityStatus | undefined;
|
|
1257
|
-
}
|
|
1258
1589
|
export interface ListSecurityControlDefinitionsResponse {
|
|
1259
1590
|
SecurityControlDefinitions: SecurityControlDefinition[] | undefined;
|
|
1260
1591
|
NextToken?: string;
|
|
@@ -1287,6 +1618,15 @@ export interface ListTagsForResourceRequest {
|
|
|
1287
1618
|
export interface ListTagsForResourceResponse {
|
|
1288
1619
|
Tags?: Record<string, string>;
|
|
1289
1620
|
}
|
|
1621
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
1622
|
+
readonly name: "ResourceInUseException";
|
|
1623
|
+
readonly $fault: "client";
|
|
1624
|
+
Message?: string;
|
|
1625
|
+
Code?: string;
|
|
1626
|
+
constructor(
|
|
1627
|
+
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
1628
|
+
);
|
|
1629
|
+
}
|
|
1290
1630
|
export interface TagResourceRequest {
|
|
1291
1631
|
ResourceArn: string | undefined;
|
|
1292
1632
|
Tags: Record<string, string> | undefined;
|
|
@@ -1332,6 +1672,12 @@ export interface UpdateOrganizationConfigurationRequest {
|
|
|
1332
1672
|
AutoEnableStandards?: AutoEnableStandards;
|
|
1333
1673
|
}
|
|
1334
1674
|
export interface UpdateOrganizationConfigurationResponse {}
|
|
1675
|
+
export interface UpdateSecurityControlRequest {
|
|
1676
|
+
SecurityControlId: string | undefined;
|
|
1677
|
+
Parameters: Record<string, ParameterConfiguration> | undefined;
|
|
1678
|
+
LastUpdateReason?: string;
|
|
1679
|
+
}
|
|
1680
|
+
export interface UpdateSecurityControlResponse {}
|
|
1335
1681
|
export interface UpdateSecurityHubConfigurationRequest {
|
|
1336
1682
|
AutoEnableControls?: boolean;
|
|
1337
1683
|
ControlFindingGenerator?: ControlFindingGenerator;
|
|
@@ -195,6 +195,10 @@ import {
|
|
|
195
195
|
GetMembersCommandInput,
|
|
196
196
|
GetMembersCommandOutput,
|
|
197
197
|
} from "../commands/GetMembersCommand";
|
|
198
|
+
import {
|
|
199
|
+
GetSecurityControlDefinitionCommandInput,
|
|
200
|
+
GetSecurityControlDefinitionCommandOutput,
|
|
201
|
+
} from "../commands/GetSecurityControlDefinitionCommand";
|
|
198
202
|
import {
|
|
199
203
|
InviteMembersCommandInput,
|
|
200
204
|
InviteMembersCommandOutput,
|
|
@@ -263,6 +267,10 @@ import {
|
|
|
263
267
|
UpdateOrganizationConfigurationCommandInput,
|
|
264
268
|
UpdateOrganizationConfigurationCommandOutput,
|
|
265
269
|
} from "../commands/UpdateOrganizationConfigurationCommand";
|
|
270
|
+
import {
|
|
271
|
+
UpdateSecurityControlCommandInput,
|
|
272
|
+
UpdateSecurityControlCommandOutput,
|
|
273
|
+
} from "../commands/UpdateSecurityControlCommand";
|
|
266
274
|
import {
|
|
267
275
|
UpdateSecurityHubConfigurationCommandInput,
|
|
268
276
|
UpdateSecurityHubConfigurationCommandOutput,
|
|
@@ -463,6 +471,10 @@ export declare const se_GetMembersCommand: (
|
|
|
463
471
|
input: GetMembersCommandInput,
|
|
464
472
|
context: __SerdeContext
|
|
465
473
|
) => Promise<__HttpRequest>;
|
|
474
|
+
export declare const se_GetSecurityControlDefinitionCommand: (
|
|
475
|
+
input: GetSecurityControlDefinitionCommandInput,
|
|
476
|
+
context: __SerdeContext
|
|
477
|
+
) => Promise<__HttpRequest>;
|
|
466
478
|
export declare const se_InviteMembersCommand: (
|
|
467
479
|
input: InviteMembersCommandInput,
|
|
468
480
|
context: __SerdeContext
|
|
@@ -531,6 +543,10 @@ export declare const se_UpdateOrganizationConfigurationCommand: (
|
|
|
531
543
|
input: UpdateOrganizationConfigurationCommandInput,
|
|
532
544
|
context: __SerdeContext
|
|
533
545
|
) => Promise<__HttpRequest>;
|
|
546
|
+
export declare const se_UpdateSecurityControlCommand: (
|
|
547
|
+
input: UpdateSecurityControlCommandInput,
|
|
548
|
+
context: __SerdeContext
|
|
549
|
+
) => Promise<__HttpRequest>;
|
|
534
550
|
export declare const se_UpdateSecurityHubConfigurationCommand: (
|
|
535
551
|
input: UpdateSecurityHubConfigurationCommandInput,
|
|
536
552
|
context: __SerdeContext
|
|
@@ -731,6 +747,10 @@ export declare const de_GetMembersCommand: (
|
|
|
731
747
|
output: __HttpResponse,
|
|
732
748
|
context: __SerdeContext
|
|
733
749
|
) => Promise<GetMembersCommandOutput>;
|
|
750
|
+
export declare const de_GetSecurityControlDefinitionCommand: (
|
|
751
|
+
output: __HttpResponse,
|
|
752
|
+
context: __SerdeContext
|
|
753
|
+
) => Promise<GetSecurityControlDefinitionCommandOutput>;
|
|
734
754
|
export declare const de_InviteMembersCommand: (
|
|
735
755
|
output: __HttpResponse,
|
|
736
756
|
context: __SerdeContext
|
|
@@ -799,6 +819,10 @@ export declare const de_UpdateOrganizationConfigurationCommand: (
|
|
|
799
819
|
output: __HttpResponse,
|
|
800
820
|
context: __SerdeContext
|
|
801
821
|
) => Promise<UpdateOrganizationConfigurationCommandOutput>;
|
|
822
|
+
export declare const de_UpdateSecurityControlCommand: (
|
|
823
|
+
output: __HttpResponse,
|
|
824
|
+
context: __SerdeContext
|
|
825
|
+
) => Promise<UpdateSecurityControlCommandOutput>;
|
|
802
826
|
export declare const de_UpdateSecurityHubConfigurationCommand: (
|
|
803
827
|
output: __HttpResponse,
|
|
804
828
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securityhub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.458.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.458.0",
|
|
25
25
|
"@aws-sdk/core": "3.451.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.458.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.451.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.451.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.451.0",
|