@aws-sdk/client-securityhub 3.105.0 → 3.112.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/CHANGELOG.md +27 -0
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateActionTargetCommand.js +3 -3
- package/dist-cjs/commands/UpdateFindingAggregatorCommand.js +3 -3
- package/dist-cjs/commands/UpdateFindingsCommand.js +3 -3
- package/dist-cjs/commands/UpdateInsightCommand.js +3 -3
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateSecurityHubConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateStandardsControlCommand.js +3 -3
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +161 -161
- package/dist-cjs/models/models_1.js +276 -114
- package/dist-cjs/models/models_2.js +111 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1490 -33
- package/dist-es/commands/TagResourceCommand.js +1 -1
- package/dist-es/commands/UntagResourceCommand.js +1 -1
- package/dist-es/commands/UpdateActionTargetCommand.js +1 -1
- package/dist-es/commands/UpdateFindingAggregatorCommand.js +1 -1
- package/dist-es/commands/UpdateFindingsCommand.js +1 -1
- package/dist-es/commands/UpdateInsightCommand.js +1 -1
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +1 -1
- package/dist-es/commands/UpdateSecurityHubConfigurationCommand.js +1 -1
- package/dist-es/commands/UpdateStandardsControlCommand.js +1 -1
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +104 -104
- package/dist-es/models/models_1.js +180 -72
- package/dist-es/models/models_2.js +73 -0
- package/dist-es/protocols/Aws_restJson1.js +1207 -19
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateActionTargetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFindingsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateInsightCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateStandardsControlCommand.d.ts +1 -1
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1104 -975
- package/dist-types/models/models_1.d.ts +3525 -2223
- package/dist-types/models/models_2.d.ts +285 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateActionTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFindingAggregatorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateInsightCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSecurityHubConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateStandardsControlCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +509 -519
- package/dist-types/ts3.4/models/models_1.d.ts +839 -228
- package/dist-types/ts3.4/models/models_2.d.ts +164 -0
- package/package.json +29 -29
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { AutoEnableStandards } from "./models_0";
|
|
2
|
+
import { AwsSecurityFindingFilters, ControlStatus, NoteUpdate, RecordState } from "./models_1";
|
|
3
|
+
export interface TagResourceRequest {
|
|
4
|
+
|
|
5
|
+
ResourceArn: string | undefined;
|
|
6
|
+
|
|
7
|
+
Tags: Record<string, string> | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace TagResourceRequest {
|
|
10
|
+
|
|
11
|
+
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
12
|
+
}
|
|
13
|
+
export interface TagResourceResponse {
|
|
14
|
+
}
|
|
15
|
+
export declare namespace TagResourceResponse {
|
|
16
|
+
|
|
17
|
+
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
18
|
+
}
|
|
19
|
+
export interface UntagResourceRequest {
|
|
20
|
+
|
|
21
|
+
ResourceArn: string | undefined;
|
|
22
|
+
|
|
23
|
+
TagKeys: string[] | undefined;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace UntagResourceRequest {
|
|
26
|
+
|
|
27
|
+
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
28
|
+
}
|
|
29
|
+
export interface UntagResourceResponse {
|
|
30
|
+
}
|
|
31
|
+
export declare namespace UntagResourceResponse {
|
|
32
|
+
|
|
33
|
+
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
34
|
+
}
|
|
35
|
+
export interface UpdateActionTargetRequest {
|
|
36
|
+
|
|
37
|
+
ActionTargetArn: string | undefined;
|
|
38
|
+
|
|
39
|
+
Name?: string;
|
|
40
|
+
|
|
41
|
+
Description?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare namespace UpdateActionTargetRequest {
|
|
44
|
+
|
|
45
|
+
const filterSensitiveLog: (obj: UpdateActionTargetRequest) => any;
|
|
46
|
+
}
|
|
47
|
+
export interface UpdateActionTargetResponse {
|
|
48
|
+
}
|
|
49
|
+
export declare namespace UpdateActionTargetResponse {
|
|
50
|
+
|
|
51
|
+
const filterSensitiveLog: (obj: UpdateActionTargetResponse) => any;
|
|
52
|
+
}
|
|
53
|
+
export interface UpdateFindingAggregatorRequest {
|
|
54
|
+
|
|
55
|
+
FindingAggregatorArn: string | undefined;
|
|
56
|
+
|
|
57
|
+
RegionLinkingMode: string | undefined;
|
|
58
|
+
|
|
59
|
+
Regions?: string[];
|
|
60
|
+
}
|
|
61
|
+
export declare namespace UpdateFindingAggregatorRequest {
|
|
62
|
+
|
|
63
|
+
const filterSensitiveLog: (obj: UpdateFindingAggregatorRequest) => any;
|
|
64
|
+
}
|
|
65
|
+
export interface UpdateFindingAggregatorResponse {
|
|
66
|
+
|
|
67
|
+
FindingAggregatorArn?: string;
|
|
68
|
+
|
|
69
|
+
FindingAggregationRegion?: string;
|
|
70
|
+
|
|
71
|
+
RegionLinkingMode?: string;
|
|
72
|
+
|
|
73
|
+
Regions?: string[];
|
|
74
|
+
}
|
|
75
|
+
export declare namespace UpdateFindingAggregatorResponse {
|
|
76
|
+
|
|
77
|
+
const filterSensitiveLog: (obj: UpdateFindingAggregatorResponse) => any;
|
|
78
|
+
}
|
|
79
|
+
export interface UpdateFindingsRequest {
|
|
80
|
+
|
|
81
|
+
Filters: AwsSecurityFindingFilters | undefined;
|
|
82
|
+
|
|
83
|
+
Note?: NoteUpdate;
|
|
84
|
+
|
|
85
|
+
RecordState?: RecordState | string;
|
|
86
|
+
}
|
|
87
|
+
export declare namespace UpdateFindingsRequest {
|
|
88
|
+
|
|
89
|
+
const filterSensitiveLog: (obj: UpdateFindingsRequest) => any;
|
|
90
|
+
}
|
|
91
|
+
export interface UpdateFindingsResponse {
|
|
92
|
+
}
|
|
93
|
+
export declare namespace UpdateFindingsResponse {
|
|
94
|
+
|
|
95
|
+
const filterSensitiveLog: (obj: UpdateFindingsResponse) => any;
|
|
96
|
+
}
|
|
97
|
+
export interface UpdateInsightRequest {
|
|
98
|
+
|
|
99
|
+
InsightArn: string | undefined;
|
|
100
|
+
|
|
101
|
+
Name?: string;
|
|
102
|
+
|
|
103
|
+
Filters?: AwsSecurityFindingFilters;
|
|
104
|
+
|
|
105
|
+
GroupByAttribute?: string;
|
|
106
|
+
}
|
|
107
|
+
export declare namespace UpdateInsightRequest {
|
|
108
|
+
|
|
109
|
+
const filterSensitiveLog: (obj: UpdateInsightRequest) => any;
|
|
110
|
+
}
|
|
111
|
+
export interface UpdateInsightResponse {
|
|
112
|
+
}
|
|
113
|
+
export declare namespace UpdateInsightResponse {
|
|
114
|
+
|
|
115
|
+
const filterSensitiveLog: (obj: UpdateInsightResponse) => any;
|
|
116
|
+
}
|
|
117
|
+
export interface UpdateOrganizationConfigurationRequest {
|
|
118
|
+
|
|
119
|
+
AutoEnable: boolean | undefined;
|
|
120
|
+
|
|
121
|
+
AutoEnableStandards?: AutoEnableStandards | string;
|
|
122
|
+
}
|
|
123
|
+
export declare namespace UpdateOrganizationConfigurationRequest {
|
|
124
|
+
|
|
125
|
+
const filterSensitiveLog: (obj: UpdateOrganizationConfigurationRequest) => any;
|
|
126
|
+
}
|
|
127
|
+
export interface UpdateOrganizationConfigurationResponse {
|
|
128
|
+
}
|
|
129
|
+
export declare namespace UpdateOrganizationConfigurationResponse {
|
|
130
|
+
|
|
131
|
+
const filterSensitiveLog: (obj: UpdateOrganizationConfigurationResponse) => any;
|
|
132
|
+
}
|
|
133
|
+
export interface UpdateSecurityHubConfigurationRequest {
|
|
134
|
+
|
|
135
|
+
AutoEnableControls?: boolean;
|
|
136
|
+
}
|
|
137
|
+
export declare namespace UpdateSecurityHubConfigurationRequest {
|
|
138
|
+
|
|
139
|
+
const filterSensitiveLog: (obj: UpdateSecurityHubConfigurationRequest) => any;
|
|
140
|
+
}
|
|
141
|
+
export interface UpdateSecurityHubConfigurationResponse {
|
|
142
|
+
}
|
|
143
|
+
export declare namespace UpdateSecurityHubConfigurationResponse {
|
|
144
|
+
|
|
145
|
+
const filterSensitiveLog: (obj: UpdateSecurityHubConfigurationResponse) => any;
|
|
146
|
+
}
|
|
147
|
+
export interface UpdateStandardsControlRequest {
|
|
148
|
+
|
|
149
|
+
StandardsControlArn: string | undefined;
|
|
150
|
+
|
|
151
|
+
ControlStatus?: ControlStatus | string;
|
|
152
|
+
|
|
153
|
+
DisabledReason?: string;
|
|
154
|
+
}
|
|
155
|
+
export declare namespace UpdateStandardsControlRequest {
|
|
156
|
+
|
|
157
|
+
const filterSensitiveLog: (obj: UpdateStandardsControlRequest) => any;
|
|
158
|
+
}
|
|
159
|
+
export interface UpdateStandardsControlResponse {
|
|
160
|
+
}
|
|
161
|
+
export declare namespace UpdateStandardsControlResponse {
|
|
162
|
+
|
|
163
|
+
const filterSensitiveLog: (obj: UpdateStandardsControlResponse) => any;
|
|
164
|
+
}
|
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.112.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",
|
|
@@ -18,37 +18,37 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.112.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.110.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.112.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.110.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.110.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.110.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.110.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.110.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.110.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.110.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.110.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.110.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.110.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.110.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.110.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.110.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.110.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.110.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.110.0",
|
|
40
|
+
"@aws-sdk/types": "3.110.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.110.0",
|
|
42
|
+
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.110.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.110.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.110.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.110.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|