@aws-sdk/client-securityhub 3.928.0 → 3.930.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/index.js +13276 -6559
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/SecurityHubClient.js +2 -0
- package/dist-es/commands/AcceptAdministratorInvitationCommand.js +3 -9
- package/dist-es/commands/AcceptInvitationCommand.js +3 -9
- package/dist-es/commands/BatchDeleteAutomationRulesCommand.js +3 -9
- package/dist-es/commands/BatchDisableStandardsCommand.js +3 -9
- package/dist-es/commands/BatchEnableStandardsCommand.js +3 -9
- package/dist-es/commands/BatchGetAutomationRulesCommand.js +3 -9
- package/dist-es/commands/BatchGetConfigurationPolicyAssociationsCommand.js +3 -9
- package/dist-es/commands/BatchGetSecurityControlsCommand.js +3 -9
- package/dist-es/commands/BatchGetStandardsControlAssociationsCommand.js +3 -9
- package/dist-es/commands/BatchImportFindingsCommand.js +3 -9
- package/dist-es/commands/BatchUpdateAutomationRulesCommand.js +3 -9
- package/dist-es/commands/BatchUpdateFindingsCommand.js +3 -9
- package/dist-es/commands/BatchUpdateFindingsV2Command.js +3 -9
- package/dist-es/commands/BatchUpdateStandardsControlAssociationsCommand.js +3 -9
- package/dist-es/commands/ConnectorRegistrationsV2Command.js +3 -9
- package/dist-es/commands/CreateActionTargetCommand.js +3 -9
- package/dist-es/commands/CreateAggregatorV2Command.js +3 -9
- package/dist-es/commands/CreateAutomationRuleCommand.js +3 -9
- package/dist-es/commands/CreateAutomationRuleV2Command.js +3 -9
- package/dist-es/commands/CreateConfigurationPolicyCommand.js +3 -9
- package/dist-es/commands/CreateConnectorV2Command.js +3 -10
- package/dist-es/commands/CreateFindingAggregatorCommand.js +3 -9
- package/dist-es/commands/CreateInsightCommand.js +3 -9
- package/dist-es/commands/CreateMembersCommand.js +3 -9
- package/dist-es/commands/CreateTicketV2Command.js +3 -9
- package/dist-es/commands/DeclineInvitationsCommand.js +3 -9
- package/dist-es/commands/DeleteActionTargetCommand.js +3 -9
- package/dist-es/commands/DeleteAggregatorV2Command.js +3 -9
- package/dist-es/commands/DeleteAutomationRuleV2Command.js +3 -9
- package/dist-es/commands/DeleteConfigurationPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteConnectorV2Command.js +3 -9
- package/dist-es/commands/DeleteFindingAggregatorCommand.js +3 -9
- package/dist-es/commands/DeleteInsightCommand.js +3 -9
- package/dist-es/commands/DeleteInvitationsCommand.js +3 -9
- package/dist-es/commands/DeleteMembersCommand.js +3 -9
- package/dist-es/commands/DescribeActionTargetsCommand.js +3 -9
- package/dist-es/commands/DescribeHubCommand.js +3 -9
- package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeProductsCommand.js +3 -9
- package/dist-es/commands/DescribeProductsV2Command.js +3 -9
- package/dist-es/commands/DescribeSecurityHubV2Command.js +3 -9
- package/dist-es/commands/DescribeStandardsCommand.js +3 -9
- package/dist-es/commands/DescribeStandardsControlsCommand.js +3 -9
- package/dist-es/commands/DisableImportFindingsForProductCommand.js +3 -9
- package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +3 -9
- package/dist-es/commands/DisableSecurityHubCommand.js +3 -9
- package/dist-es/commands/DisableSecurityHubV2Command.js +3 -9
- package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +3 -9
- package/dist-es/commands/DisassociateFromMasterAccountCommand.js +3 -9
- package/dist-es/commands/DisassociateMembersCommand.js +3 -9
- package/dist-es/commands/EnableImportFindingsForProductCommand.js +3 -9
- package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +3 -9
- package/dist-es/commands/EnableSecurityHubCommand.js +3 -9
- package/dist-es/commands/EnableSecurityHubV2Command.js +3 -9
- package/dist-es/commands/GetAdministratorAccountCommand.js +3 -9
- package/dist-es/commands/GetAggregatorV2Command.js +3 -9
- package/dist-es/commands/GetAutomationRuleV2Command.js +3 -9
- package/dist-es/commands/GetConfigurationPolicyAssociationCommand.js +3 -9
- package/dist-es/commands/GetConfigurationPolicyCommand.js +3 -9
- package/dist-es/commands/GetConnectorV2Command.js +3 -9
- package/dist-es/commands/GetEnabledStandardsCommand.js +3 -9
- package/dist-es/commands/GetFindingAggregatorCommand.js +3 -9
- package/dist-es/commands/GetFindingHistoryCommand.js +3 -9
- package/dist-es/commands/GetFindingStatisticsV2Command.js +3 -9
- package/dist-es/commands/GetFindingsCommand.js +3 -9
- package/dist-es/commands/GetFindingsV2Command.js +3 -9
- package/dist-es/commands/GetInsightResultsCommand.js +3 -9
- package/dist-es/commands/GetInsightsCommand.js +3 -9
- package/dist-es/commands/GetInvitationsCountCommand.js +3 -9
- package/dist-es/commands/GetMasterAccountCommand.js +3 -9
- package/dist-es/commands/GetMembersCommand.js +3 -9
- package/dist-es/commands/GetResourcesStatisticsV2Command.js +3 -9
- package/dist-es/commands/GetResourcesV2Command.js +3 -9
- package/dist-es/commands/GetSecurityControlDefinitionCommand.js +3 -9
- package/dist-es/commands/InviteMembersCommand.js +3 -9
- package/dist-es/commands/ListAggregatorsV2Command.js +3 -9
- package/dist-es/commands/ListAutomationRulesCommand.js +3 -9
- package/dist-es/commands/ListAutomationRulesV2Command.js +3 -9
- package/dist-es/commands/ListConfigurationPoliciesCommand.js +3 -9
- package/dist-es/commands/ListConfigurationPolicyAssociationsCommand.js +3 -9
- package/dist-es/commands/ListConnectorsV2Command.js +3 -9
- package/dist-es/commands/ListEnabledProductsForImportCommand.js +3 -9
- package/dist-es/commands/ListFindingAggregatorsCommand.js +3 -9
- package/dist-es/commands/ListInvitationsCommand.js +3 -9
- package/dist-es/commands/ListMembersCommand.js +3 -9
- package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +3 -9
- package/dist-es/commands/ListSecurityControlDefinitionsCommand.js +3 -9
- package/dist-es/commands/ListStandardsControlAssociationsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/StartConfigurationPolicyAssociationCommand.js +3 -9
- package/dist-es/commands/StartConfigurationPolicyDisassociationCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateActionTargetCommand.js +3 -9
- package/dist-es/commands/UpdateAggregatorV2Command.js +3 -9
- package/dist-es/commands/UpdateAutomationRuleV2Command.js +3 -9
- package/dist-es/commands/UpdateConfigurationPolicyCommand.js +3 -9
- package/dist-es/commands/UpdateConnectorV2Command.js +3 -10
- package/dist-es/commands/UpdateFindingAggregatorCommand.js +3 -9
- package/dist-es/commands/UpdateFindingsCommand.js +3 -9
- package/dist-es/commands/UpdateInsightCommand.js +3 -9
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateSecurityControlCommand.js +3 -9
- package/dist-es/commands/UpdateSecurityHubConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateStandardsControlCommand.js +3 -9
- package/dist-es/models/models_2.js +0 -101
- package/dist-es/models/models_3.js +0 -22
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +12861 -0
- package/dist-types/SecurityHubClient.d.ts +10 -1
- package/dist-types/models/models_2.d.ts +24 -18
- package/dist-types/models/models_3.d.ts +8 -6
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +1364 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_2.d.ts +0 -15
- package/dist-types/ts3.4/models/models_3.d.ts +0 -8
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1371 -0
- package/package.json +33 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -5468
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -947
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1265
|
@@ -30,10 +30,13 @@ import {
|
|
|
30
30
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
31
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
32
|
ChecksumConstructor as __ChecksumConstructor,
|
|
33
|
+
ClientProtocol,
|
|
33
34
|
Decoder as __Decoder,
|
|
34
35
|
Encoder as __Encoder,
|
|
35
36
|
HashConstructor as __HashConstructor,
|
|
36
37
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
38
|
+
HttpRequest,
|
|
39
|
+
HttpResponse,
|
|
37
40
|
Logger as __Logger,
|
|
38
41
|
Provider as __Provider,
|
|
39
42
|
Provider,
|
|
@@ -708,6 +711,7 @@ export interface ClientDefaults
|
|
|
708
711
|
retryMode?: string | __Provider<string>;
|
|
709
712
|
logger?: __Logger;
|
|
710
713
|
extensions?: RuntimeExtension[];
|
|
714
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
711
715
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
712
716
|
}
|
|
713
717
|
export type SecurityHubClientConfigType = Partial<
|
|
@@ -959,7 +959,6 @@ export declare namespace Target {
|
|
|
959
959
|
RootId: (value: string) => T;
|
|
960
960
|
_: (name: string, value: any) => T;
|
|
961
961
|
}
|
|
962
|
-
const visit: <T>(value: Target, visitor: Visitor<T>) => T;
|
|
963
962
|
}
|
|
964
963
|
export interface ConfigurationPolicyAssociation {
|
|
965
964
|
Target?: Target | undefined;
|
|
@@ -1123,7 +1122,6 @@ export declare namespace ParameterValue {
|
|
|
1123
1122
|
EnumList: (value: string[]) => T;
|
|
1124
1123
|
_: (name: string, value: any) => T;
|
|
1125
1124
|
}
|
|
1126
|
-
const visit: <T>(value: ParameterValue, visitor: Visitor<T>) => T;
|
|
1127
1125
|
}
|
|
1128
1126
|
export declare const ParameterValueType: {
|
|
1129
1127
|
readonly CUSTOM: "CUSTOM";
|
|
@@ -1661,7 +1659,6 @@ export declare namespace ConfigurationOptions {
|
|
|
1661
1659
|
EnumList: (value: EnumListConfigurationOptions) => T;
|
|
1662
1660
|
_: (name: string, value: any) => T;
|
|
1663
1661
|
}
|
|
1664
|
-
const visit: <T>(value: ConfigurationOptions, visitor: Visitor<T>) => T;
|
|
1665
1662
|
}
|
|
1666
1663
|
export interface ConfigurationPolicySummary {
|
|
1667
1664
|
Arn?: string | undefined;
|
|
@@ -1793,7 +1790,6 @@ export declare namespace Policy {
|
|
|
1793
1790
|
SecurityHub: (value: SecurityHubPolicy) => T;
|
|
1794
1791
|
_: (name: string, value: any) => T;
|
|
1795
1792
|
}
|
|
1796
|
-
const visit: <T>(value: Policy, visitor: Visitor<T>) => T;
|
|
1797
1793
|
}
|
|
1798
1794
|
export interface CreateConfigurationPolicyRequest {
|
|
1799
1795
|
Name: string | undefined;
|
|
@@ -1843,7 +1839,6 @@ export declare namespace ProviderConfiguration {
|
|
|
1843
1839
|
ServiceNow: (value: ServiceNowProviderConfiguration) => T;
|
|
1844
1840
|
_: (name: string, value: any) => T;
|
|
1845
1841
|
}
|
|
1846
|
-
const visit: <T>(value: ProviderConfiguration, visitor: Visitor<T>) => T;
|
|
1847
1842
|
}
|
|
1848
1843
|
export interface CreateConnectorV2Request {
|
|
1849
1844
|
Name: string | undefined;
|
|
@@ -2259,7 +2254,6 @@ export declare namespace ProviderDetail {
|
|
|
2259
2254
|
ServiceNow: (value: ServiceNowDetail) => T;
|
|
2260
2255
|
_: (name: string, value: any) => T;
|
|
2261
2256
|
}
|
|
2262
|
-
const visit: <T>(value: ProviderDetail, visitor: Visitor<T>) => T;
|
|
2263
2257
|
}
|
|
2264
2258
|
export interface GetConnectorV2Response {
|
|
2265
2259
|
ConnectorArn?: string | undefined;
|
|
@@ -2344,12 +2338,3 @@ export declare const GroupByField: {
|
|
|
2344
2338
|
readonly VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage";
|
|
2345
2339
|
};
|
|
2346
2340
|
export type GroupByField = (typeof GroupByField)[keyof typeof GroupByField];
|
|
2347
|
-
export declare const ServiceNowProviderConfigurationFilterSensitiveLog: (
|
|
2348
|
-
obj: ServiceNowProviderConfiguration
|
|
2349
|
-
) => any;
|
|
2350
|
-
export declare const ProviderConfigurationFilterSensitiveLog: (
|
|
2351
|
-
obj: ProviderConfiguration
|
|
2352
|
-
) => any;
|
|
2353
|
-
export declare const CreateConnectorV2RequestFilterSensitiveLog: (
|
|
2354
|
-
obj: CreateConnectorV2Request
|
|
2355
|
-
) => any;
|
|
@@ -421,10 +421,6 @@ export declare namespace ProviderUpdateConfiguration {
|
|
|
421
421
|
JiraCloud: (value: JiraCloudUpdateConfiguration) => T;
|
|
422
422
|
_: (name: string, value: any) => T;
|
|
423
423
|
}
|
|
424
|
-
const visit: <T>(
|
|
425
|
-
value: ProviderUpdateConfiguration,
|
|
426
|
-
visitor: Visitor<T>
|
|
427
|
-
) => T;
|
|
428
424
|
}
|
|
429
425
|
export declare class ResourceInUseException extends __BaseException {
|
|
430
426
|
readonly name: "ResourceInUseException";
|
|
@@ -593,7 +589,6 @@ export declare namespace Criteria {
|
|
|
593
589
|
OcsfFindingCriteria: (value: OcsfFindingFilters) => T;
|
|
594
590
|
_: (name: string, value: any) => T;
|
|
595
591
|
}
|
|
596
|
-
const visit: <T>(value: Criteria, visitor: Visitor<T>) => T;
|
|
597
592
|
}
|
|
598
593
|
export interface GetFindingsV2Request {
|
|
599
594
|
Filters?: OcsfFindingFilters | undefined;
|
|
@@ -656,6 +651,3 @@ export interface GetResourcesStatisticsV2Request {
|
|
|
656
651
|
SortOrder?: SortOrder | undefined;
|
|
657
652
|
MaxStatisticResults?: number | undefined;
|
|
658
653
|
}
|
|
659
|
-
export declare const UpdateConnectorV2RequestFilterSensitiveLog: (
|
|
660
|
-
obj: UpdateConnectorV2Request
|
|
661
|
-
) => any;
|
|
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
|
|
|
38
38
|
profile?: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
+
import("@smithy/types").HttpRequest,
|
|
43
|
+
import("@smithy/types").HttpResponse
|
|
44
|
+
>;
|
|
41
45
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
42
46
|
userAgentAppId?:
|
|
43
47
|
| string
|
|
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
|
|
|
38
38
|
profile?: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
+
import("@smithy/types").HttpRequest,
|
|
43
|
+
import("@smithy/types").HttpResponse
|
|
44
|
+
>;
|
|
41
45
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
42
46
|
retryStrategy?:
|
|
43
47
|
| import("@smithy/types").RetryStrategy
|
|
@@ -37,6 +37,10 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
|
|
|
37
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
38
|
logger: import("@smithy/types").Logger;
|
|
39
39
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
41
|
+
import("@smithy/types").HttpRequest,
|
|
42
|
+
import("@smithy/types").HttpResponse
|
|
43
|
+
>;
|
|
40
44
|
defaultsMode:
|
|
41
45
|
| import("@smithy/smithy-client").DefaultsMode
|
|
42
46
|
| import("@smithy/types").Provider<
|
|
@@ -14,6 +14,10 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
|
|
|
14
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SecurityHubHttpAuthSchemeProvider;
|
|
15
15
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
16
|
logger: import("@smithy/types").Logger;
|
|
17
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
18
|
+
import("@smithy/types").HttpRequest,
|
|
19
|
+
import("@smithy/types").HttpResponse
|
|
20
|
+
>;
|
|
17
21
|
serviceId: string;
|
|
18
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
23
|
utf8Decoder: import("@smithy/types").Decoder;
|