@aws-sdk/client-securityhub 3.940.0 → 3.946.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 +8 -8
- package/dist-cjs/index.js +252 -763
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/SecurityHub.js +2 -2
- package/dist-es/SecurityHubClient.js +2 -2
- package/dist-es/commands/{ConnectorRegistrationsV2Command.js → RegisterConnectorV2Command.js} +5 -5
- package/dist-es/commands/index.js +1 -1
- package/dist-es/models/enums.js +9 -0
- package/dist-es/models/errors.js +16 -0
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +212 -750
- package/dist-types/SecurityHub.d.ts +8 -8
- package/dist-types/SecurityHubClient.d.ts +13 -13
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +3 -3
- package/dist-types/commands/AcceptInvitationCommand.d.ts +3 -3
- package/dist-types/commands/BatchDeleteAutomationRulesCommand.d.ts +3 -3
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +3 -3
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +3 -3
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +3 -3
- package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +3 -3
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +3 -3
- package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +3 -3
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +3 -3
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +3 -3
- package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +3 -3
- package/dist-types/commands/BatchUpdateFindingsV2Command.d.ts +4 -4
- package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +3 -3
- package/dist-types/commands/CreateActionTargetCommand.d.ts +3 -3
- package/dist-types/commands/CreateAggregatorV2Command.d.ts +7 -4
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +3 -3
- package/dist-types/commands/CreateAutomationRuleV2Command.d.ts +12 -9
- package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +3 -3
- package/dist-types/commands/CreateConnectorV2Command.d.ts +10 -7
- package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +3 -3
- package/dist-types/commands/CreateInsightCommand.d.ts +3 -3
- package/dist-types/commands/CreateMembersCommand.d.ts +3 -3
- package/dist-types/commands/CreateTicketV2Command.d.ts +5 -4
- package/dist-types/commands/DeclineInvitationsCommand.d.ts +3 -3
- package/dist-types/commands/DeleteActionTargetCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAggregatorV2Command.d.ts +4 -4
- package/dist-types/commands/DeleteAutomationRuleV2Command.d.ts +4 -4
- package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteConnectorV2Command.d.ts +4 -4
- package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +3 -3
- package/dist-types/commands/DeleteInsightCommand.d.ts +3 -3
- package/dist-types/commands/DeleteInvitationsCommand.d.ts +3 -3
- package/dist-types/commands/DeleteMembersCommand.d.ts +3 -3
- package/dist-types/commands/DescribeActionTargetsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeHubCommand.d.ts +3 -3
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DescribeProductsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeProductsV2Command.d.ts +4 -4
- package/dist-types/commands/DescribeSecurityHubV2Command.d.ts +4 -4
- package/dist-types/commands/DescribeStandardsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +3 -3
- package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +3 -3
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -3
- package/dist-types/commands/DisableSecurityHubCommand.d.ts +3 -3
- package/dist-types/commands/DisableSecurityHubV2Command.d.ts +4 -4
- package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +3 -3
- package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +3 -3
- package/dist-types/commands/DisassociateMembersCommand.d.ts +3 -3
- package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +3 -3
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -3
- package/dist-types/commands/EnableSecurityHubCommand.d.ts +3 -3
- package/dist-types/commands/EnableSecurityHubV2Command.d.ts +4 -4
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +3 -3
- package/dist-types/commands/GetAggregatorV2Command.d.ts +4 -4
- package/dist-types/commands/GetAutomationRuleV2Command.d.ts +9 -9
- package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +3 -3
- package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetConnectorV2Command.d.ts +5 -5
- package/dist-types/commands/GetEnabledStandardsCommand.d.ts +3 -3
- package/dist-types/commands/GetFindingAggregatorCommand.d.ts +3 -3
- package/dist-types/commands/GetFindingHistoryCommand.d.ts +3 -3
- package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +10 -10
- package/dist-types/commands/GetFindingsCommand.d.ts +3 -3
- package/dist-types/commands/GetFindingsTrendsV2Command.d.ts +5 -5
- package/dist-types/commands/GetFindingsV2Command.d.ts +9 -9
- package/dist-types/commands/GetInsightResultsCommand.d.ts +3 -3
- package/dist-types/commands/GetInsightsCommand.d.ts +3 -3
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +3 -3
- package/dist-types/commands/GetMasterAccountCommand.d.ts +3 -3
- package/dist-types/commands/GetMembersCommand.d.ts +3 -3
- package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +5 -5
- package/dist-types/commands/GetResourcesTrendsV2Command.d.ts +5 -5
- package/dist-types/commands/GetResourcesV2Command.d.ts +5 -5
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +3 -3
- package/dist-types/commands/InviteMembersCommand.d.ts +3 -3
- package/dist-types/commands/ListAggregatorsV2Command.d.ts +4 -4
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +3 -3
- package/dist-types/commands/ListAutomationRulesV2Command.d.ts +4 -4
- package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +3 -3
- package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +3 -3
- package/dist-types/commands/ListConnectorsV2Command.d.ts +4 -4
- package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +3 -3
- package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +3 -3
- package/dist-types/commands/ListInvitationsCommand.d.ts +3 -3
- package/dist-types/commands/ListMembersCommand.d.ts +3 -3
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +3 -3
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +3 -3
- package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +3 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -3
- package/dist-types/commands/RegisterConnectorV2Command.d.ts +98 -0
- package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +3 -3
- package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateActionTargetCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAggregatorV2Command.d.ts +4 -4
- package/dist-types/commands/UpdateAutomationRuleV2Command.d.ts +8 -8
- package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +3 -3
- package/dist-types/commands/UpdateConnectorV2Command.d.ts +8 -6
- package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +3 -3
- package/dist-types/commands/UpdateFindingsCommand.d.ts +3 -3
- package/dist-types/commands/UpdateInsightCommand.d.ts +3 -3
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateSecurityControlCommand.d.ts +3 -3
- package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateStandardsControlCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/SecurityHubServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +17 -0
- package/dist-types/models/errors.d.ts +15 -1
- package/dist-types/models/models_0.d.ts +5 -5
- package/dist-types/models/models_1.d.ts +1 -1
- package/dist-types/models/models_2.d.ts +47 -45
- package/dist-types/models/models_3.d.ts +52 -31
- package/dist-types/pagination/DescribeActionTargetsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeProductsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeProductsV2Paginator.d.ts +1 -1
- package/dist-types/pagination/DescribeStandardsControlsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeStandardsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetEnabledStandardsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetFindingHistoryPaginator.d.ts +1 -1
- package/dist-types/pagination/GetFindingsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetFindingsTrendsV2Paginator.d.ts +1 -1
- package/dist-types/pagination/GetFindingsV2Paginator.d.ts +1 -1
- package/dist-types/pagination/GetInsightsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetResourcesTrendsV2Paginator.d.ts +1 -1
- package/dist-types/pagination/GetResourcesV2Paginator.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListAggregatorsV2Paginator.d.ts +1 -1
- package/dist-types/pagination/ListConfigurationPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEnabledProductsForImportPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFindingAggregatorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInvitationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMembersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOrganizationAdminAccountsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSecurityControlDefinitionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListStandardsControlAssociationsPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +6 -5
- package/dist-types/ts3.4/SecurityHub.d.ts +17 -17
- package/dist-types/ts3.4/SecurityHubClient.d.ts +9 -9
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RegisterConnectorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -1
- package/dist-types/ts3.4/models/SecurityHubServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +11 -0
- package/dist-types/ts3.4/models/errors.d.ts +9 -0
- package/dist-types/ts3.4/models/models_1.d.ts +3 -3
- package/dist-types/ts3.4/models/models_2.d.ts +31 -28
- package/dist-types/ts3.4/models/models_3.d.ts +24 -15
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -5
- package/package.json +13 -12
- package/dist-types/commands/ConnectorRegistrationsV2Command.d.ts +0 -98
- package/dist-types/ts3.4/commands/ConnectorRegistrationsV2Command.d.ts +0 -51
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListSecurityControlDefinitionsRequest, ListSecurityControlDefinitionsResponse } from "../models/models_2";
|
|
4
|
-
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListSecurityControlDefinitionsRequest, ListSecurityControlDefinitionsResponse } from "../models/models_2";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListStandardsControlAssociationsRequest } from "../models/models_2";
|
|
4
|
-
import {
|
|
5
|
-
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListStandardsControlAssociationsRequest, ListStandardsControlAssociationsResponse } from "../models/models_2";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListTagsForResourceRequest
|
|
4
|
-
import {
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListTagsForResourceRequest } from "../models/models_2";
|
|
4
|
+
import type { ListTagsForResourceResponse } from "../models/models_3";
|
|
5
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { RegisterConnectorV2Request, RegisterConnectorV2Response } from "../models/models_3";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link RegisterConnectorV2Command}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RegisterConnectorV2CommandInput extends RegisterConnectorV2Request {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RegisterConnectorV2Command}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RegisterConnectorV2CommandOutput extends RegisterConnectorV2Response, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RegisterConnectorV2Command_base: {
|
|
25
|
+
new (input: RegisterConnectorV2CommandInput): import("@smithy/smithy-client").CommandImpl<RegisterConnectorV2CommandInput, RegisterConnectorV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RegisterConnectorV2CommandInput): import("@smithy/smithy-client").CommandImpl<RegisterConnectorV2CommandInput, RegisterConnectorV2CommandOutput, SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Grants permission to complete the authorization based on input parameters.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityHubClient, RegisterConnectorV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
35
|
+
* // const { SecurityHubClient, RegisterConnectorV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
36
|
+
* // import type { SecurityHubClientConfig } from "@aws-sdk/client-securityhub";
|
|
37
|
+
* const config = {}; // type is SecurityHubClientConfig
|
|
38
|
+
* const client = new SecurityHubClient(config);
|
|
39
|
+
* const input = { // RegisterConnectorV2Request
|
|
40
|
+
* AuthCode: "STRING_VALUE", // required
|
|
41
|
+
* AuthState: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new RegisterConnectorV2Command(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // RegisterConnectorV2Response
|
|
46
|
+
* // ConnectorArn: "STRING_VALUE",
|
|
47
|
+
* // ConnectorId: "STRING_VALUE", // required
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param RegisterConnectorV2CommandInput - {@link RegisterConnectorV2CommandInput}
|
|
53
|
+
* @returns {@link RegisterConnectorV2CommandOutput}
|
|
54
|
+
* @see {@link RegisterConnectorV2CommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link RegisterConnectorV2CommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConflictException} (client fault)
|
|
62
|
+
* <p>The request causes conflict with the current state of the service resource.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* <p>
|
|
66
|
+
* The request has failed due to an internal failure of the service.
|
|
67
|
+
* </p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <p>
|
|
74
|
+
* The limit on the number of requests per second was exceeded.
|
|
75
|
+
* </p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link SecurityHubServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class RegisterConnectorV2Command extends RegisterConnectorV2Command_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: RegisterConnectorV2Request;
|
|
91
|
+
output: RegisterConnectorV2Response;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: RegisterConnectorV2CommandInput;
|
|
95
|
+
output: RegisterConnectorV2CommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { StartConfigurationPolicyAssociationRequest, StartConfigurationPolicyAssociationResponse } from "../models/models_3";
|
|
4
|
-
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { StartConfigurationPolicyAssociationRequest, StartConfigurationPolicyAssociationResponse } from "../models/models_3";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { StartConfigurationPolicyDisassociationRequest, StartConfigurationPolicyDisassociationResponse } from "../models/models_3";
|
|
4
|
-
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { StartConfigurationPolicyDisassociationRequest, StartConfigurationPolicyDisassociationResponse } from "../models/models_3";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/models_3";
|
|
4
|
-
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { TagResourceRequest, TagResourceResponse } from "../models/models_3";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_3";
|
|
4
|
-
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_3";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { UpdateActionTargetRequest, UpdateActionTargetResponse } from "../models/models_3";
|
|
4
|
-
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateActionTargetRequest, UpdateActionTargetResponse } from "../models/models_3";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { UpdateAggregatorV2Request, UpdateAggregatorV2Response } from "../models/models_3";
|
|
4
|
-
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateAggregatorV2Request, UpdateAggregatorV2Response } from "../models/models_3";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -27,7 +27,7 @@ declare const UpdateAggregatorV2Command_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Udpates the configuration for the Aggregator V2
|
|
30
|
+
* <p>Udpates the configuration for the Aggregator V2.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { UpdateAutomationRuleV2Request, UpdateAutomationRuleV2Response } from "../models/models_3";
|
|
4
|
-
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateAutomationRuleV2Request, UpdateAutomationRuleV2Response } from "../models/models_3";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -27,7 +27,7 @@ declare const UpdateAutomationRuleV2Command_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates a V2 automation rule
|
|
30
|
+
* <p>Updates a V2 automation rule.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -48,7 +48,7 @@ declare const UpdateAutomationRuleV2Command_base: {
|
|
|
48
48
|
* { // CompositeFilter
|
|
49
49
|
* StringFilters: [ // OcsfStringFilterList
|
|
50
50
|
* { // OcsfStringFilter
|
|
51
|
-
* FieldName: "metadata.uid" || "activity_name" || "cloud.account.uid" || "cloud.provider" || "cloud.region" || "compliance.assessments.category" || "compliance.assessments.name" || "compliance.control" || "compliance.status" || "compliance.standards" || "finding_info.desc" || "finding_info.src_url" || "finding_info.title" || "finding_info.types" || "finding_info.uid" || "finding_info.related_events.uid" || "finding_info.related_events.product.uid" || "finding_info.related_events.title" || "metadata.product.name" || "metadata.product.uid" || "metadata.product.vendor_name" || "remediation.desc" || "remediation.references" || "resources.cloud_partition" || "resources.region" || "resources.type" || "resources.uid" || "severity" || "status" || "comment" || "vulnerabilities.fix_coverage" || "class_name" || "databucket.encryption_details.algorithm" || "databucket.encryption_details.key_uid" || "databucket.file.data_classifications.classifier_details.type" || "evidences.actor.user.account.uid" || "evidences.api.operation" || "evidences.api.response.error_message" || "evidences.api.service.name" || "evidences.connection_info.direction" || "evidences.connection_info.protocol_name" || "evidences.dst_endpoint.autonomous_system.name" || "evidences.dst_endpoint.location.city" || "evidences.dst_endpoint.location.country" || "evidences.src_endpoint.autonomous_system.name" || "evidences.src_endpoint.hostname" || "evidences.src_endpoint.location.city" || "evidences.src_endpoint.location.country" || "finding_info.analytic.name" || "malware.name" || "malware_scan_info.uid" || "malware.severity" || "resources.cloud_function.layers.uid_alt" || "resources.cloud_function.runtime" || "resources.cloud_function.user.uid" || "resources.device.encryption_details.key_uid" || "resources.device.image.uid" || "resources.image.architecture" || "resources.image.registry_uid" || "resources.image.repository_name" || "resources.image.uid" || "resources.subnet_info.uid" || "resources.vpc_uid" || "vulnerabilities.affected_code.file.path" || "vulnerabilities.affected_packages.name" || "vulnerabilities.cve.epss.score" || "vulnerabilities.cve.uid" || "vulnerabilities.related_vulnerabilities" || "cloud.account.name",
|
|
51
|
+
* FieldName: "metadata.uid" || "activity_name" || "cloud.account.uid" || "cloud.provider" || "cloud.region" || "compliance.assessments.category" || "compliance.assessments.name" || "compliance.control" || "compliance.status" || "compliance.standards" || "finding_info.desc" || "finding_info.src_url" || "finding_info.title" || "finding_info.types" || "finding_info.uid" || "finding_info.related_events.traits.category" || "finding_info.related_events.uid" || "finding_info.related_events.product.uid" || "finding_info.related_events.title" || "metadata.product.name" || "metadata.product.uid" || "metadata.product.vendor_name" || "remediation.desc" || "remediation.references" || "resources.cloud_partition" || "resources.region" || "resources.type" || "resources.uid" || "severity" || "status" || "comment" || "vulnerabilities.fix_coverage" || "class_name" || "databucket.encryption_details.algorithm" || "databucket.encryption_details.key_uid" || "databucket.file.data_classifications.classifier_details.type" || "evidences.actor.user.account.uid" || "evidences.api.operation" || "evidences.api.response.error_message" || "evidences.api.service.name" || "evidences.connection_info.direction" || "evidences.connection_info.protocol_name" || "evidences.dst_endpoint.autonomous_system.name" || "evidences.dst_endpoint.location.city" || "evidences.dst_endpoint.location.country" || "evidences.src_endpoint.autonomous_system.name" || "evidences.src_endpoint.hostname" || "evidences.src_endpoint.location.city" || "evidences.src_endpoint.location.country" || "finding_info.analytic.name" || "malware.name" || "malware_scan_info.uid" || "malware.severity" || "resources.cloud_function.layers.uid_alt" || "resources.cloud_function.runtime" || "resources.cloud_function.user.uid" || "resources.device.encryption_details.key_uid" || "resources.device.image.uid" || "resources.image.architecture" || "resources.image.registry_uid" || "resources.image.repository_name" || "resources.image.uid" || "resources.subnet_info.uid" || "resources.vpc_uid" || "vulnerabilities.affected_code.file.path" || "vulnerabilities.affected_packages.name" || "vulnerabilities.cve.epss.score" || "vulnerabilities.cve.uid" || "vulnerabilities.related_vulnerabilities" || "cloud.account.name" || "vendor_attributes.severity",
|
|
52
52
|
* Filter: { // StringFilter
|
|
53
53
|
* Value: "STRING_VALUE",
|
|
54
54
|
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
@@ -78,7 +78,7 @@ declare const UpdateAutomationRuleV2Command_base: {
|
|
|
78
78
|
* ],
|
|
79
79
|
* NumberFilters: [ // OcsfNumberFilterList
|
|
80
80
|
* { // OcsfNumberFilter
|
|
81
|
-
* FieldName: "activity_id" || "compliance.status_id" || "confidence_score" || "severity_id" || "status_id" || "finding_info.related_events_count" || "evidences.api.response.code" || "evidences.dst_endpoint.autonomous_system.number" || "evidences.dst_endpoint.port" || "evidences.src_endpoint.autonomous_system.number" || "evidences.src_endpoint.port" || "resources.image.in_use_count",
|
|
81
|
+
* FieldName: "activity_id" || "compliance.status_id" || "confidence_score" || "severity_id" || "status_id" || "finding_info.related_events_count" || "evidences.api.response.code" || "evidences.dst_endpoint.autonomous_system.number" || "evidences.dst_endpoint.port" || "evidences.src_endpoint.autonomous_system.number" || "evidences.src_endpoint.port" || "resources.image.in_use_count" || "vulnerabilities.cve.cvss.base_score" || "vendor_attributes.severity_id",
|
|
82
82
|
* Filter: { // NumberFilter
|
|
83
83
|
* Gte: Number("double"),
|
|
84
84
|
* Lte: Number("double"),
|
|
@@ -110,7 +110,7 @@ declare const UpdateAutomationRuleV2Command_base: {
|
|
|
110
110
|
* {
|
|
111
111
|
* StringFilters: [
|
|
112
112
|
* {
|
|
113
|
-
* FieldName: "metadata.uid" || "activity_name" || "cloud.account.uid" || "cloud.provider" || "cloud.region" || "compliance.assessments.category" || "compliance.assessments.name" || "compliance.control" || "compliance.status" || "compliance.standards" || "finding_info.desc" || "finding_info.src_url" || "finding_info.title" || "finding_info.types" || "finding_info.uid" || "finding_info.related_events.uid" || "finding_info.related_events.product.uid" || "finding_info.related_events.title" || "metadata.product.name" || "metadata.product.uid" || "metadata.product.vendor_name" || "remediation.desc" || "remediation.references" || "resources.cloud_partition" || "resources.region" || "resources.type" || "resources.uid" || "severity" || "status" || "comment" || "vulnerabilities.fix_coverage" || "class_name" || "databucket.encryption_details.algorithm" || "databucket.encryption_details.key_uid" || "databucket.file.data_classifications.classifier_details.type" || "evidences.actor.user.account.uid" || "evidences.api.operation" || "evidences.api.response.error_message" || "evidences.api.service.name" || "evidences.connection_info.direction" || "evidences.connection_info.protocol_name" || "evidences.dst_endpoint.autonomous_system.name" || "evidences.dst_endpoint.location.city" || "evidences.dst_endpoint.location.country" || "evidences.src_endpoint.autonomous_system.name" || "evidences.src_endpoint.hostname" || "evidences.src_endpoint.location.city" || "evidences.src_endpoint.location.country" || "finding_info.analytic.name" || "malware.name" || "malware_scan_info.uid" || "malware.severity" || "resources.cloud_function.layers.uid_alt" || "resources.cloud_function.runtime" || "resources.cloud_function.user.uid" || "resources.device.encryption_details.key_uid" || "resources.device.image.uid" || "resources.image.architecture" || "resources.image.registry_uid" || "resources.image.repository_name" || "resources.image.uid" || "resources.subnet_info.uid" || "resources.vpc_uid" || "vulnerabilities.affected_code.file.path" || "vulnerabilities.affected_packages.name" || "vulnerabilities.cve.epss.score" || "vulnerabilities.cve.uid" || "vulnerabilities.related_vulnerabilities" || "cloud.account.name",
|
|
113
|
+
* FieldName: "metadata.uid" || "activity_name" || "cloud.account.uid" || "cloud.provider" || "cloud.region" || "compliance.assessments.category" || "compliance.assessments.name" || "compliance.control" || "compliance.status" || "compliance.standards" || "finding_info.desc" || "finding_info.src_url" || "finding_info.title" || "finding_info.types" || "finding_info.uid" || "finding_info.related_events.traits.category" || "finding_info.related_events.uid" || "finding_info.related_events.product.uid" || "finding_info.related_events.title" || "metadata.product.name" || "metadata.product.uid" || "metadata.product.vendor_name" || "remediation.desc" || "remediation.references" || "resources.cloud_partition" || "resources.region" || "resources.type" || "resources.uid" || "severity" || "status" || "comment" || "vulnerabilities.fix_coverage" || "class_name" || "databucket.encryption_details.algorithm" || "databucket.encryption_details.key_uid" || "databucket.file.data_classifications.classifier_details.type" || "evidences.actor.user.account.uid" || "evidences.api.operation" || "evidences.api.response.error_message" || "evidences.api.service.name" || "evidences.connection_info.direction" || "evidences.connection_info.protocol_name" || "evidences.dst_endpoint.autonomous_system.name" || "evidences.dst_endpoint.location.city" || "evidences.dst_endpoint.location.country" || "evidences.src_endpoint.autonomous_system.name" || "evidences.src_endpoint.hostname" || "evidences.src_endpoint.location.city" || "evidences.src_endpoint.location.country" || "finding_info.analytic.name" || "malware.name" || "malware_scan_info.uid" || "malware.severity" || "resources.cloud_function.layers.uid_alt" || "resources.cloud_function.runtime" || "resources.cloud_function.user.uid" || "resources.device.encryption_details.key_uid" || "resources.device.image.uid" || "resources.image.architecture" || "resources.image.registry_uid" || "resources.image.repository_name" || "resources.image.uid" || "resources.subnet_info.uid" || "resources.vpc_uid" || "vulnerabilities.affected_code.file.path" || "vulnerabilities.affected_packages.name" || "vulnerabilities.cve.epss.score" || "vulnerabilities.cve.uid" || "vulnerabilities.related_vulnerabilities" || "cloud.account.name" || "vendor_attributes.severity",
|
|
114
114
|
* Filter: {
|
|
115
115
|
* Value: "STRING_VALUE",
|
|
116
116
|
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
@@ -140,7 +140,7 @@ declare const UpdateAutomationRuleV2Command_base: {
|
|
|
140
140
|
* ],
|
|
141
141
|
* NumberFilters: [
|
|
142
142
|
* {
|
|
143
|
-
* FieldName: "activity_id" || "compliance.status_id" || "confidence_score" || "severity_id" || "status_id" || "finding_info.related_events_count" || "evidences.api.response.code" || "evidences.dst_endpoint.autonomous_system.number" || "evidences.dst_endpoint.port" || "evidences.src_endpoint.autonomous_system.number" || "evidences.src_endpoint.port" || "resources.image.in_use_count",
|
|
143
|
+
* FieldName: "activity_id" || "compliance.status_id" || "confidence_score" || "severity_id" || "status_id" || "finding_info.related_events_count" || "evidences.api.response.code" || "evidences.dst_endpoint.autonomous_system.number" || "evidences.dst_endpoint.port" || "evidences.src_endpoint.autonomous_system.number" || "evidences.src_endpoint.port" || "resources.image.in_use_count" || "vulnerabilities.cve.cvss.base_score" || "vendor_attributes.severity_id",
|
|
144
144
|
* Filter: {
|
|
145
145
|
* Gte: Number("double"),
|
|
146
146
|
* Lte: Number("double"),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { UpdateConfigurationPolicyRequest, UpdateConfigurationPolicyResponse } from "../models/models_3";
|
|
4
|
-
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateConfigurationPolicyRequest, UpdateConfigurationPolicyResponse } from "../models/models_3";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { UpdateConnectorV2Request, UpdateConnectorV2Response } from "../models/models_3";
|
|
4
|
-
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateConnectorV2Request, UpdateConnectorV2Response } from "../models/models_3";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -27,7 +27,7 @@ declare const UpdateConnectorV2Command_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Grants permission to update a connectorV2 based on its id and input parameters
|
|
30
|
+
* <p>Grants permission to update a connectorV2 based on its id and input parameters.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -38,11 +38,13 @@ declare const UpdateConnectorV2Command_base: {
|
|
|
38
38
|
* const client = new SecurityHubClient(config);
|
|
39
39
|
* const input = { // UpdateConnectorV2Request
|
|
40
40
|
* ConnectorId: "STRING_VALUE", // required
|
|
41
|
-
* ClientSecret: "STRING_VALUE",
|
|
42
41
|
* Description: "STRING_VALUE",
|
|
43
42
|
* Provider: { // ProviderUpdateConfiguration Union: only one key present
|
|
44
43
|
* JiraCloud: { // JiraCloudUpdateConfiguration
|
|
45
|
-
* ProjectKey: "STRING_VALUE",
|
|
44
|
+
* ProjectKey: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* ServiceNow: { // ServiceNowUpdateConfiguration
|
|
47
|
+
* SecretArn: "STRING_VALUE",
|
|
46
48
|
* },
|
|
47
49
|
* },
|
|
48
50
|
* };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { UpdateFindingAggregatorRequest, UpdateFindingAggregatorResponse } from "../models/models_3";
|
|
4
|
-
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateFindingAggregatorRequest, UpdateFindingAggregatorResponse } from "../models/models_3";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { UpdateFindingsRequest, UpdateFindingsResponse } from "../models/models_3";
|
|
4
|
-
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateFindingsRequest, UpdateFindingsResponse } from "../models/models_3";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { UpdateInsightRequest, UpdateInsightResponse } from "../models/models_3";
|
|
4
|
-
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateInsightRequest, UpdateInsightResponse } from "../models/models_3";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { UpdateOrganizationConfigurationRequest, UpdateOrganizationConfigurationResponse } from "../models/models_3";
|
|
4
|
-
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateOrganizationConfigurationRequest, UpdateOrganizationConfigurationResponse } from "../models/models_3";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { UpdateSecurityControlRequest, UpdateSecurityControlResponse } from "../models/models_3";
|
|
4
|
-
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateSecurityControlRequest, UpdateSecurityControlResponse } from "../models/models_3";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { UpdateSecurityHubConfigurationRequest, UpdateSecurityHubConfigurationResponse } from "../models/models_3";
|
|
4
|
-
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateSecurityHubConfigurationRequest, UpdateSecurityHubConfigurationResponse } from "../models/models_3";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { UpdateStandardsControlRequest, UpdateStandardsControlResponse } from "../models/models_3";
|
|
4
|
-
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { UpdateStandardsControlRequest, UpdateStandardsControlResponse } from "../models/models_3";
|
|
4
|
+
import type { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -12,7 +12,6 @@ export * from "./BatchUpdateAutomationRulesCommand";
|
|
|
12
12
|
export * from "./BatchUpdateFindingsCommand";
|
|
13
13
|
export * from "./BatchUpdateFindingsV2Command";
|
|
14
14
|
export * from "./BatchUpdateStandardsControlAssociationsCommand";
|
|
15
|
-
export * from "./ConnectorRegistrationsV2Command";
|
|
16
15
|
export * from "./CreateActionTargetCommand";
|
|
17
16
|
export * from "./CreateAggregatorV2Command";
|
|
18
17
|
export * from "./CreateAutomationRuleCommand";
|
|
@@ -89,6 +88,7 @@ export * from "./ListOrganizationAdminAccountsCommand";
|
|
|
89
88
|
export * from "./ListSecurityControlDefinitionsCommand";
|
|
90
89
|
export * from "./ListStandardsControlAssociationsCommand";
|
|
91
90
|
export * from "./ListTagsForResourceCommand";
|
|
91
|
+
export * from "./RegisterConnectorV2Command";
|
|
92
92
|
export * from "./StartConfigurationPolicyAssociationCommand";
|
|
93
93
|
export * from "./StartConfigurationPolicyDisassociationCommand";
|
|
94
94
|
export * from "./TagResourceCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
11
14
|
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
15
|
defaultSigningName: string;
|
|
13
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
14
20
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
15
24
|
export declare const commonParams: {
|
|
16
25
|
readonly UseFIPS: {
|
|
17
26
|
readonly type: "builtInParams";
|
|
@@ -30,6 +39,9 @@ export declare const commonParams: {
|
|
|
30
39
|
readonly name: "useDualstackEndpoint";
|
|
31
40
|
};
|
|
32
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
33
45
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
46
|
Region?: string | undefined;
|
|
35
47
|
UseDualStack?: boolean | undefined;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
-
import { EndpointParameters } from "./EndpointParameters";
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
4
7
|
logger?: Logger;
|
|
5
8
|
}) => EndpointV2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
-
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
-
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -622,6 +622,8 @@ export declare const OcsfNumberField: {
|
|
|
622
622
|
readonly RESOURCES_IMAGE_IN_USE_COUNT: "resources.image.in_use_count";
|
|
623
623
|
readonly SEVERITY_ID: "severity_id";
|
|
624
624
|
readonly STATUS_ID: "status_id";
|
|
625
|
+
readonly VENDOR_ATTRIBUTES_SEVERITY_ID: "vendor_attributes.severity_id";
|
|
626
|
+
readonly VULNERABILITIES_CVE_CVSS_BASE_SCORE: "vulnerabilities.cve.cvss.base_score";
|
|
625
627
|
};
|
|
626
628
|
/**
|
|
627
629
|
* @public
|
|
@@ -664,6 +666,7 @@ export declare const OcsfStringField: {
|
|
|
664
666
|
readonly FINDING_INFO_DESC: "finding_info.desc";
|
|
665
667
|
readonly FINDING_INFO_RELATED_EVENTS_PRODUCT_UID: "finding_info.related_events.product.uid";
|
|
666
668
|
readonly FINDING_INFO_RELATED_EVENTS_TITLE: "finding_info.related_events.title";
|
|
669
|
+
readonly FINDING_INFO_RELATED_EVENTS_TRAITS_CATEGORY: "finding_info.related_events.traits.category";
|
|
667
670
|
readonly FINDING_INFO_RELATED_EVENTS_UID: "finding_info.related_events.uid";
|
|
668
671
|
readonly FINDING_INFO_SRC_URL: "finding_info.src_url";
|
|
669
672
|
readonly FINDING_INFO_TITLE: "finding_info.title";
|
|
@@ -695,6 +698,7 @@ export declare const OcsfStringField: {
|
|
|
695
698
|
readonly RESOURCES_VPC_UID: "resources.vpc_uid";
|
|
696
699
|
readonly SEVERITY: "severity";
|
|
697
700
|
readonly STATUS: "status";
|
|
701
|
+
readonly VENDOR_ATTRIBUTES_SEVERITY: "vendor_attributes.severity";
|
|
698
702
|
readonly VULNERABILITIES_AFFECTED_CODE_FILE_PATH: "vulnerabilities.affected_code.file.path";
|
|
699
703
|
readonly VULNERABILITIES_AFFECTED_PACKAGES_NAME: "vulnerabilities.affected_packages.name";
|
|
700
704
|
readonly VULNERABILITIES_CVE_EPSS_SCORE: "vulnerabilities.cve.epss.score";
|
|
@@ -756,6 +760,17 @@ export declare const ControlFindingGenerator: {
|
|
|
756
760
|
* @public
|
|
757
761
|
*/
|
|
758
762
|
export type ControlFindingGenerator = (typeof ControlFindingGenerator)[keyof typeof ControlFindingGenerator];
|
|
763
|
+
/**
|
|
764
|
+
* @public
|
|
765
|
+
* @enum
|
|
766
|
+
*/
|
|
767
|
+
export declare const TicketCreationMode: {
|
|
768
|
+
readonly DRYRUN: "DRYRUN";
|
|
769
|
+
};
|
|
770
|
+
/**
|
|
771
|
+
* @public
|
|
772
|
+
*/
|
|
773
|
+
export type TicketCreationMode = (typeof TicketCreationMode)[keyof typeof TicketCreationMode];
|
|
759
774
|
/**
|
|
760
775
|
* @public
|
|
761
776
|
* @enum
|
|
@@ -890,6 +905,7 @@ export declare const GroupByField: {
|
|
|
890
905
|
readonly COMPLIANCE_STANDARDS: "compliance.standards";
|
|
891
906
|
readonly COMPLIANCE_STATUS: "compliance.status";
|
|
892
907
|
readonly FINDING_INFO_ANALYTIC_NAME: "finding_info.analytic.name";
|
|
908
|
+
readonly FINDING_INFO_RELATED_EVENTS_TRAITS_CATEGORY: "finding_info.related_events.traits.category";
|
|
893
909
|
readonly FINDING_INFO_TITLE: "finding_info.title";
|
|
894
910
|
readonly FINDING_INFO_TYPES: "finding_info.types";
|
|
895
911
|
readonly METADATA_PRODUCT_NAME: "metadata.product.name";
|
|
@@ -898,6 +914,7 @@ export declare const GroupByField: {
|
|
|
898
914
|
readonly RESOURCES_UID: "resources.uid";
|
|
899
915
|
readonly SEVERITY: "severity";
|
|
900
916
|
readonly STATUS: "status";
|
|
917
|
+
readonly VENDOR_ATTRIBUTES_SEVERITY: "vendor_attributes.severity";
|
|
901
918
|
readonly VULNERABILITIES_AFFECTED_PACKAGES_NAME: "vulnerabilities.affected_packages.name";
|
|
902
919
|
readonly VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage";
|
|
903
920
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Internal server error.</p>
|
|
@@ -160,6 +160,20 @@ export declare class ResourceConflictException extends __BaseException {
|
|
|
160
160
|
*/
|
|
161
161
|
constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
|
|
162
162
|
}
|
|
163
|
+
/**
|
|
164
|
+
* <p>The request was rejected because it would exceed the service quota limit.</p>
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
168
|
+
readonly name: "ServiceQuotaExceededException";
|
|
169
|
+
readonly $fault: "client";
|
|
170
|
+
Message?: string | undefined;
|
|
171
|
+
Code?: string | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* @internal
|
|
174
|
+
*/
|
|
175
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
176
|
+
}
|
|
163
177
|
/**
|
|
164
178
|
* <p>
|
|
165
179
|
* The request was rejected because it conflicts with the resource's availability. For example, you tried
|