types-boto3-securityhub 1.35.71__py3-none-any.whl
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.
- types_boto3_securityhub/__init__.py +99 -0
- types_boto3_securityhub/__init__.pyi +98 -0
- types_boto3_securityhub/__main__.py +42 -0
- types_boto3_securityhub/client.py +1234 -0
- types_boto3_securityhub/client.pyi +1230 -0
- types_boto3_securityhub/literals.py +650 -0
- types_boto3_securityhub/literals.pyi +648 -0
- types_boto3_securityhub/paginator.py +405 -0
- types_boto3_securityhub/paginator.pyi +368 -0
- types_boto3_securityhub/py.typed +0 -0
- types_boto3_securityhub/type_defs.py +11469 -0
- types_boto3_securityhub/type_defs.pyi +10362 -0
- types_boto3_securityhub/version.py +7 -0
- types_boto3_securityhub-1.35.71.dist-info/LICENSE +21 -0
- types_boto3_securityhub-1.35.71.dist-info/METADATA +486 -0
- types_boto3_securityhub-1.35.71.dist-info/RECORD +18 -0
- types_boto3_securityhub-1.35.71.dist-info/WHEEL +5 -0
- types_boto3_securityhub-1.35.71.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,1234 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for securityhub service client.
|
|
3
|
+
|
|
4
|
+
[Open documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from boto3.session import Session
|
|
10
|
+
from types_boto3_securityhub.client import SecurityHubClient
|
|
11
|
+
|
|
12
|
+
session = Session()
|
|
13
|
+
client: SecurityHubClient = session.client("securityhub")
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Copyright 2024 Vlad Emelianov
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
import sys
|
|
20
|
+
from typing import Any, Dict, Mapping, Type, overload
|
|
21
|
+
|
|
22
|
+
from botocore.client import BaseClient, ClientMeta
|
|
23
|
+
|
|
24
|
+
from .paginator import (
|
|
25
|
+
DescribeActionTargetsPaginator,
|
|
26
|
+
DescribeProductsPaginator,
|
|
27
|
+
DescribeStandardsControlsPaginator,
|
|
28
|
+
DescribeStandardsPaginator,
|
|
29
|
+
GetEnabledStandardsPaginator,
|
|
30
|
+
GetFindingHistoryPaginator,
|
|
31
|
+
GetFindingsPaginator,
|
|
32
|
+
GetInsightsPaginator,
|
|
33
|
+
ListConfigurationPoliciesPaginator,
|
|
34
|
+
ListConfigurationPolicyAssociationsPaginator,
|
|
35
|
+
ListEnabledProductsForImportPaginator,
|
|
36
|
+
ListFindingAggregatorsPaginator,
|
|
37
|
+
ListInvitationsPaginator,
|
|
38
|
+
ListMembersPaginator,
|
|
39
|
+
ListOrganizationAdminAccountsPaginator,
|
|
40
|
+
ListSecurityControlDefinitionsPaginator,
|
|
41
|
+
ListStandardsControlAssociationsPaginator,
|
|
42
|
+
)
|
|
43
|
+
from .type_defs import (
|
|
44
|
+
AcceptAdministratorInvitationRequestRequestTypeDef,
|
|
45
|
+
AcceptInvitationRequestRequestTypeDef,
|
|
46
|
+
BatchDeleteAutomationRulesRequestRequestTypeDef,
|
|
47
|
+
BatchDeleteAutomationRulesResponseTypeDef,
|
|
48
|
+
BatchDisableStandardsRequestRequestTypeDef,
|
|
49
|
+
BatchDisableStandardsResponseTypeDef,
|
|
50
|
+
BatchEnableStandardsRequestRequestTypeDef,
|
|
51
|
+
BatchEnableStandardsResponseTypeDef,
|
|
52
|
+
BatchGetAutomationRulesRequestRequestTypeDef,
|
|
53
|
+
BatchGetAutomationRulesResponseTypeDef,
|
|
54
|
+
BatchGetConfigurationPolicyAssociationsRequestRequestTypeDef,
|
|
55
|
+
BatchGetConfigurationPolicyAssociationsResponseTypeDef,
|
|
56
|
+
BatchGetSecurityControlsRequestRequestTypeDef,
|
|
57
|
+
BatchGetSecurityControlsResponseTypeDef,
|
|
58
|
+
BatchGetStandardsControlAssociationsRequestRequestTypeDef,
|
|
59
|
+
BatchGetStandardsControlAssociationsResponseTypeDef,
|
|
60
|
+
BatchImportFindingsRequestRequestTypeDef,
|
|
61
|
+
BatchImportFindingsResponseTypeDef,
|
|
62
|
+
BatchUpdateAutomationRulesRequestRequestTypeDef,
|
|
63
|
+
BatchUpdateAutomationRulesResponseTypeDef,
|
|
64
|
+
BatchUpdateFindingsRequestRequestTypeDef,
|
|
65
|
+
BatchUpdateFindingsResponseTypeDef,
|
|
66
|
+
BatchUpdateStandardsControlAssociationsRequestRequestTypeDef,
|
|
67
|
+
BatchUpdateStandardsControlAssociationsResponseTypeDef,
|
|
68
|
+
CreateActionTargetRequestRequestTypeDef,
|
|
69
|
+
CreateActionTargetResponseTypeDef,
|
|
70
|
+
CreateAutomationRuleRequestRequestTypeDef,
|
|
71
|
+
CreateAutomationRuleResponseTypeDef,
|
|
72
|
+
CreateConfigurationPolicyRequestRequestTypeDef,
|
|
73
|
+
CreateConfigurationPolicyResponseTypeDef,
|
|
74
|
+
CreateFindingAggregatorRequestRequestTypeDef,
|
|
75
|
+
CreateFindingAggregatorResponseTypeDef,
|
|
76
|
+
CreateInsightRequestRequestTypeDef,
|
|
77
|
+
CreateInsightResponseTypeDef,
|
|
78
|
+
CreateMembersRequestRequestTypeDef,
|
|
79
|
+
CreateMembersResponseTypeDef,
|
|
80
|
+
DeclineInvitationsRequestRequestTypeDef,
|
|
81
|
+
DeclineInvitationsResponseTypeDef,
|
|
82
|
+
DeleteActionTargetRequestRequestTypeDef,
|
|
83
|
+
DeleteActionTargetResponseTypeDef,
|
|
84
|
+
DeleteConfigurationPolicyRequestRequestTypeDef,
|
|
85
|
+
DeleteFindingAggregatorRequestRequestTypeDef,
|
|
86
|
+
DeleteInsightRequestRequestTypeDef,
|
|
87
|
+
DeleteInsightResponseTypeDef,
|
|
88
|
+
DeleteInvitationsRequestRequestTypeDef,
|
|
89
|
+
DeleteInvitationsResponseTypeDef,
|
|
90
|
+
DeleteMembersRequestRequestTypeDef,
|
|
91
|
+
DeleteMembersResponseTypeDef,
|
|
92
|
+
DescribeActionTargetsRequestRequestTypeDef,
|
|
93
|
+
DescribeActionTargetsResponseTypeDef,
|
|
94
|
+
DescribeHubRequestRequestTypeDef,
|
|
95
|
+
DescribeHubResponseTypeDef,
|
|
96
|
+
DescribeOrganizationConfigurationResponseTypeDef,
|
|
97
|
+
DescribeProductsRequestRequestTypeDef,
|
|
98
|
+
DescribeProductsResponseTypeDef,
|
|
99
|
+
DescribeStandardsControlsRequestRequestTypeDef,
|
|
100
|
+
DescribeStandardsControlsResponseTypeDef,
|
|
101
|
+
DescribeStandardsRequestRequestTypeDef,
|
|
102
|
+
DescribeStandardsResponseTypeDef,
|
|
103
|
+
DisableImportFindingsForProductRequestRequestTypeDef,
|
|
104
|
+
DisableOrganizationAdminAccountRequestRequestTypeDef,
|
|
105
|
+
DisassociateMembersRequestRequestTypeDef,
|
|
106
|
+
EnableImportFindingsForProductRequestRequestTypeDef,
|
|
107
|
+
EnableImportFindingsForProductResponseTypeDef,
|
|
108
|
+
EnableOrganizationAdminAccountRequestRequestTypeDef,
|
|
109
|
+
EnableSecurityHubRequestRequestTypeDef,
|
|
110
|
+
GetAdministratorAccountResponseTypeDef,
|
|
111
|
+
GetConfigurationPolicyAssociationRequestRequestTypeDef,
|
|
112
|
+
GetConfigurationPolicyAssociationResponseTypeDef,
|
|
113
|
+
GetConfigurationPolicyRequestRequestTypeDef,
|
|
114
|
+
GetConfigurationPolicyResponseTypeDef,
|
|
115
|
+
GetEnabledStandardsRequestRequestTypeDef,
|
|
116
|
+
GetEnabledStandardsResponseTypeDef,
|
|
117
|
+
GetFindingAggregatorRequestRequestTypeDef,
|
|
118
|
+
GetFindingAggregatorResponseTypeDef,
|
|
119
|
+
GetFindingHistoryRequestRequestTypeDef,
|
|
120
|
+
GetFindingHistoryResponseTypeDef,
|
|
121
|
+
GetFindingsRequestRequestTypeDef,
|
|
122
|
+
GetFindingsResponseTypeDef,
|
|
123
|
+
GetInsightResultsRequestRequestTypeDef,
|
|
124
|
+
GetInsightResultsResponseTypeDef,
|
|
125
|
+
GetInsightsRequestRequestTypeDef,
|
|
126
|
+
GetInsightsResponseTypeDef,
|
|
127
|
+
GetInvitationsCountResponseTypeDef,
|
|
128
|
+
GetMasterAccountResponseTypeDef,
|
|
129
|
+
GetMembersRequestRequestTypeDef,
|
|
130
|
+
GetMembersResponseTypeDef,
|
|
131
|
+
GetSecurityControlDefinitionRequestRequestTypeDef,
|
|
132
|
+
GetSecurityControlDefinitionResponseTypeDef,
|
|
133
|
+
InviteMembersRequestRequestTypeDef,
|
|
134
|
+
InviteMembersResponseTypeDef,
|
|
135
|
+
ListAutomationRulesRequestRequestTypeDef,
|
|
136
|
+
ListAutomationRulesResponseTypeDef,
|
|
137
|
+
ListConfigurationPoliciesRequestRequestTypeDef,
|
|
138
|
+
ListConfigurationPoliciesResponseTypeDef,
|
|
139
|
+
ListConfigurationPolicyAssociationsRequestRequestTypeDef,
|
|
140
|
+
ListConfigurationPolicyAssociationsResponseTypeDef,
|
|
141
|
+
ListEnabledProductsForImportRequestRequestTypeDef,
|
|
142
|
+
ListEnabledProductsForImportResponseTypeDef,
|
|
143
|
+
ListFindingAggregatorsRequestRequestTypeDef,
|
|
144
|
+
ListFindingAggregatorsResponseTypeDef,
|
|
145
|
+
ListInvitationsRequestRequestTypeDef,
|
|
146
|
+
ListInvitationsResponseTypeDef,
|
|
147
|
+
ListMembersRequestRequestTypeDef,
|
|
148
|
+
ListMembersResponseTypeDef,
|
|
149
|
+
ListOrganizationAdminAccountsRequestRequestTypeDef,
|
|
150
|
+
ListOrganizationAdminAccountsResponseTypeDef,
|
|
151
|
+
ListSecurityControlDefinitionsRequestRequestTypeDef,
|
|
152
|
+
ListSecurityControlDefinitionsResponseTypeDef,
|
|
153
|
+
ListStandardsControlAssociationsRequestRequestTypeDef,
|
|
154
|
+
ListStandardsControlAssociationsResponseTypeDef,
|
|
155
|
+
ListTagsForResourceRequestRequestTypeDef,
|
|
156
|
+
ListTagsForResourceResponseTypeDef,
|
|
157
|
+
StartConfigurationPolicyAssociationRequestRequestTypeDef,
|
|
158
|
+
StartConfigurationPolicyAssociationResponseTypeDef,
|
|
159
|
+
StartConfigurationPolicyDisassociationRequestRequestTypeDef,
|
|
160
|
+
TagResourceRequestRequestTypeDef,
|
|
161
|
+
UntagResourceRequestRequestTypeDef,
|
|
162
|
+
UpdateActionTargetRequestRequestTypeDef,
|
|
163
|
+
UpdateConfigurationPolicyRequestRequestTypeDef,
|
|
164
|
+
UpdateConfigurationPolicyResponseTypeDef,
|
|
165
|
+
UpdateFindingAggregatorRequestRequestTypeDef,
|
|
166
|
+
UpdateFindingAggregatorResponseTypeDef,
|
|
167
|
+
UpdateFindingsRequestRequestTypeDef,
|
|
168
|
+
UpdateInsightRequestRequestTypeDef,
|
|
169
|
+
UpdateOrganizationConfigurationRequestRequestTypeDef,
|
|
170
|
+
UpdateSecurityControlRequestRequestTypeDef,
|
|
171
|
+
UpdateSecurityHubConfigurationRequestRequestTypeDef,
|
|
172
|
+
UpdateStandardsControlRequestRequestTypeDef,
|
|
173
|
+
)
|
|
174
|
+
|
|
175
|
+
if sys.version_info >= (3, 12):
|
|
176
|
+
from typing import Literal, Unpack
|
|
177
|
+
else:
|
|
178
|
+
from typing_extensions import Literal, Unpack
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
__all__ = ("SecurityHubClient",)
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
class BotocoreClientError(Exception):
|
|
185
|
+
MSG_TEMPLATE: str
|
|
186
|
+
|
|
187
|
+
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
188
|
+
self.response: Dict[str, Any]
|
|
189
|
+
self.operation_name: str
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
class Exceptions:
|
|
193
|
+
AccessDeniedException: Type[BotocoreClientError]
|
|
194
|
+
ClientError: Type[BotocoreClientError]
|
|
195
|
+
InternalException: Type[BotocoreClientError]
|
|
196
|
+
InvalidAccessException: Type[BotocoreClientError]
|
|
197
|
+
InvalidInputException: Type[BotocoreClientError]
|
|
198
|
+
LimitExceededException: Type[BotocoreClientError]
|
|
199
|
+
ResourceConflictException: Type[BotocoreClientError]
|
|
200
|
+
ResourceInUseException: Type[BotocoreClientError]
|
|
201
|
+
ResourceNotFoundException: Type[BotocoreClientError]
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
class SecurityHubClient(BaseClient):
|
|
205
|
+
"""
|
|
206
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub.html#SecurityHub.Client)
|
|
207
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/)
|
|
208
|
+
"""
|
|
209
|
+
|
|
210
|
+
meta: ClientMeta
|
|
211
|
+
|
|
212
|
+
@property
|
|
213
|
+
def exceptions(self) -> Exceptions:
|
|
214
|
+
"""
|
|
215
|
+
SecurityHubClient exceptions.
|
|
216
|
+
|
|
217
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub.html#SecurityHub.Client)
|
|
218
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#exceptions)
|
|
219
|
+
"""
|
|
220
|
+
|
|
221
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
222
|
+
"""
|
|
223
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/can_paginate.html)
|
|
224
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#can_paginate)
|
|
225
|
+
"""
|
|
226
|
+
|
|
227
|
+
def generate_presigned_url(
|
|
228
|
+
self,
|
|
229
|
+
ClientMethod: str,
|
|
230
|
+
Params: Mapping[str, Any] = ...,
|
|
231
|
+
ExpiresIn: int = 3600,
|
|
232
|
+
HttpMethod: str = ...,
|
|
233
|
+
) -> str:
|
|
234
|
+
"""
|
|
235
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/generate_presigned_url.html)
|
|
236
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#generate_presigned_url)
|
|
237
|
+
"""
|
|
238
|
+
|
|
239
|
+
def close(self) -> None:
|
|
240
|
+
"""
|
|
241
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/close.html)
|
|
242
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#close)
|
|
243
|
+
"""
|
|
244
|
+
|
|
245
|
+
def accept_administrator_invitation(
|
|
246
|
+
self, **kwargs: Unpack[AcceptAdministratorInvitationRequestRequestTypeDef]
|
|
247
|
+
) -> Dict[str, Any]:
|
|
248
|
+
"""
|
|
249
|
+
We recommend using Organizations instead of Security Hub invitations to manage
|
|
250
|
+
your member accounts.
|
|
251
|
+
|
|
252
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/accept_administrator_invitation.html)
|
|
253
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#accept_administrator_invitation)
|
|
254
|
+
"""
|
|
255
|
+
|
|
256
|
+
def accept_invitation(
|
|
257
|
+
self, **kwargs: Unpack[AcceptInvitationRequestRequestTypeDef]
|
|
258
|
+
) -> Dict[str, Any]:
|
|
259
|
+
"""
|
|
260
|
+
This method is deprecated.
|
|
261
|
+
|
|
262
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/accept_invitation.html)
|
|
263
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#accept_invitation)
|
|
264
|
+
"""
|
|
265
|
+
|
|
266
|
+
def batch_delete_automation_rules(
|
|
267
|
+
self, **kwargs: Unpack[BatchDeleteAutomationRulesRequestRequestTypeDef]
|
|
268
|
+
) -> BatchDeleteAutomationRulesResponseTypeDef:
|
|
269
|
+
"""
|
|
270
|
+
Deletes one or more automation rules.
|
|
271
|
+
|
|
272
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/batch_delete_automation_rules.html)
|
|
273
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#batch_delete_automation_rules)
|
|
274
|
+
"""
|
|
275
|
+
|
|
276
|
+
def batch_disable_standards(
|
|
277
|
+
self, **kwargs: Unpack[BatchDisableStandardsRequestRequestTypeDef]
|
|
278
|
+
) -> BatchDisableStandardsResponseTypeDef:
|
|
279
|
+
"""
|
|
280
|
+
Disables the standards specified by the provided
|
|
281
|
+
<code>StandardsSubscriptionArns</code>.
|
|
282
|
+
|
|
283
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/batch_disable_standards.html)
|
|
284
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#batch_disable_standards)
|
|
285
|
+
"""
|
|
286
|
+
|
|
287
|
+
def batch_enable_standards(
|
|
288
|
+
self, **kwargs: Unpack[BatchEnableStandardsRequestRequestTypeDef]
|
|
289
|
+
) -> BatchEnableStandardsResponseTypeDef:
|
|
290
|
+
"""
|
|
291
|
+
Enables the standards specified by the provided <code>StandardsArn</code>.
|
|
292
|
+
|
|
293
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/batch_enable_standards.html)
|
|
294
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#batch_enable_standards)
|
|
295
|
+
"""
|
|
296
|
+
|
|
297
|
+
def batch_get_automation_rules(
|
|
298
|
+
self, **kwargs: Unpack[BatchGetAutomationRulesRequestRequestTypeDef]
|
|
299
|
+
) -> BatchGetAutomationRulesResponseTypeDef:
|
|
300
|
+
"""
|
|
301
|
+
Retrieves a list of details for automation rules based on rule Amazon Resource
|
|
302
|
+
Names (ARNs).
|
|
303
|
+
|
|
304
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/batch_get_automation_rules.html)
|
|
305
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#batch_get_automation_rules)
|
|
306
|
+
"""
|
|
307
|
+
|
|
308
|
+
def batch_get_configuration_policy_associations(
|
|
309
|
+
self, **kwargs: Unpack[BatchGetConfigurationPolicyAssociationsRequestRequestTypeDef]
|
|
310
|
+
) -> BatchGetConfigurationPolicyAssociationsResponseTypeDef:
|
|
311
|
+
"""
|
|
312
|
+
Returns associations between an Security Hub configuration and a batch of
|
|
313
|
+
target accounts, organizational units, or the root.
|
|
314
|
+
|
|
315
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/batch_get_configuration_policy_associations.html)
|
|
316
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#batch_get_configuration_policy_associations)
|
|
317
|
+
"""
|
|
318
|
+
|
|
319
|
+
def batch_get_security_controls(
|
|
320
|
+
self, **kwargs: Unpack[BatchGetSecurityControlsRequestRequestTypeDef]
|
|
321
|
+
) -> BatchGetSecurityControlsResponseTypeDef:
|
|
322
|
+
"""
|
|
323
|
+
Provides details about a batch of security controls for the current Amazon Web
|
|
324
|
+
Services account and Amazon Web Services Region.
|
|
325
|
+
|
|
326
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/batch_get_security_controls.html)
|
|
327
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#batch_get_security_controls)
|
|
328
|
+
"""
|
|
329
|
+
|
|
330
|
+
def batch_get_standards_control_associations(
|
|
331
|
+
self, **kwargs: Unpack[BatchGetStandardsControlAssociationsRequestRequestTypeDef]
|
|
332
|
+
) -> BatchGetStandardsControlAssociationsResponseTypeDef:
|
|
333
|
+
"""
|
|
334
|
+
For a batch of security controls and standards, identifies whether each control
|
|
335
|
+
is currently enabled or disabled in a standard.
|
|
336
|
+
|
|
337
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/batch_get_standards_control_associations.html)
|
|
338
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#batch_get_standards_control_associations)
|
|
339
|
+
"""
|
|
340
|
+
|
|
341
|
+
def batch_import_findings(
|
|
342
|
+
self, **kwargs: Unpack[BatchImportFindingsRequestRequestTypeDef]
|
|
343
|
+
) -> BatchImportFindingsResponseTypeDef:
|
|
344
|
+
"""
|
|
345
|
+
Imports security findings generated by a finding provider into Security Hub.
|
|
346
|
+
|
|
347
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/batch_import_findings.html)
|
|
348
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#batch_import_findings)
|
|
349
|
+
"""
|
|
350
|
+
|
|
351
|
+
def batch_update_automation_rules(
|
|
352
|
+
self, **kwargs: Unpack[BatchUpdateAutomationRulesRequestRequestTypeDef]
|
|
353
|
+
) -> BatchUpdateAutomationRulesResponseTypeDef:
|
|
354
|
+
"""
|
|
355
|
+
Updates one or more automation rules based on rule Amazon Resource Names (ARNs)
|
|
356
|
+
and input parameters.
|
|
357
|
+
|
|
358
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/batch_update_automation_rules.html)
|
|
359
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#batch_update_automation_rules)
|
|
360
|
+
"""
|
|
361
|
+
|
|
362
|
+
def batch_update_findings(
|
|
363
|
+
self, **kwargs: Unpack[BatchUpdateFindingsRequestRequestTypeDef]
|
|
364
|
+
) -> BatchUpdateFindingsResponseTypeDef:
|
|
365
|
+
"""
|
|
366
|
+
Used by Security Hub customers to update information about their investigation
|
|
367
|
+
into a finding.
|
|
368
|
+
|
|
369
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/batch_update_findings.html)
|
|
370
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#batch_update_findings)
|
|
371
|
+
"""
|
|
372
|
+
|
|
373
|
+
def batch_update_standards_control_associations(
|
|
374
|
+
self, **kwargs: Unpack[BatchUpdateStandardsControlAssociationsRequestRequestTypeDef]
|
|
375
|
+
) -> BatchUpdateStandardsControlAssociationsResponseTypeDef:
|
|
376
|
+
"""
|
|
377
|
+
For a batch of security controls and standards, this operation updates the
|
|
378
|
+
enablement status of a control in a standard.
|
|
379
|
+
|
|
380
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/batch_update_standards_control_associations.html)
|
|
381
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#batch_update_standards_control_associations)
|
|
382
|
+
"""
|
|
383
|
+
|
|
384
|
+
def create_action_target(
|
|
385
|
+
self, **kwargs: Unpack[CreateActionTargetRequestRequestTypeDef]
|
|
386
|
+
) -> CreateActionTargetResponseTypeDef:
|
|
387
|
+
"""
|
|
388
|
+
Creates a custom action target in Security Hub.
|
|
389
|
+
|
|
390
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/create_action_target.html)
|
|
391
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#create_action_target)
|
|
392
|
+
"""
|
|
393
|
+
|
|
394
|
+
def create_automation_rule(
|
|
395
|
+
self, **kwargs: Unpack[CreateAutomationRuleRequestRequestTypeDef]
|
|
396
|
+
) -> CreateAutomationRuleResponseTypeDef:
|
|
397
|
+
"""
|
|
398
|
+
Creates an automation rule based on input parameters.
|
|
399
|
+
|
|
400
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/create_automation_rule.html)
|
|
401
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#create_automation_rule)
|
|
402
|
+
"""
|
|
403
|
+
|
|
404
|
+
def create_configuration_policy(
|
|
405
|
+
self, **kwargs: Unpack[CreateConfigurationPolicyRequestRequestTypeDef]
|
|
406
|
+
) -> CreateConfigurationPolicyResponseTypeDef:
|
|
407
|
+
"""
|
|
408
|
+
Creates a configuration policy with the defined configuration.
|
|
409
|
+
|
|
410
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/create_configuration_policy.html)
|
|
411
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#create_configuration_policy)
|
|
412
|
+
"""
|
|
413
|
+
|
|
414
|
+
def create_finding_aggregator(
|
|
415
|
+
self, **kwargs: Unpack[CreateFindingAggregatorRequestRequestTypeDef]
|
|
416
|
+
) -> CreateFindingAggregatorResponseTypeDef:
|
|
417
|
+
"""
|
|
418
|
+
The <i>aggregation Region</i> is now called the <i>home Region</i>.
|
|
419
|
+
|
|
420
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/create_finding_aggregator.html)
|
|
421
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#create_finding_aggregator)
|
|
422
|
+
"""
|
|
423
|
+
|
|
424
|
+
def create_insight(
|
|
425
|
+
self, **kwargs: Unpack[CreateInsightRequestRequestTypeDef]
|
|
426
|
+
) -> CreateInsightResponseTypeDef:
|
|
427
|
+
"""
|
|
428
|
+
Creates a custom insight in Security Hub.
|
|
429
|
+
|
|
430
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/create_insight.html)
|
|
431
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#create_insight)
|
|
432
|
+
"""
|
|
433
|
+
|
|
434
|
+
def create_members(
|
|
435
|
+
self, **kwargs: Unpack[CreateMembersRequestRequestTypeDef]
|
|
436
|
+
) -> CreateMembersResponseTypeDef:
|
|
437
|
+
"""
|
|
438
|
+
Creates a member association in Security Hub between the specified accounts and
|
|
439
|
+
the account used to make the request, which is the administrator account.
|
|
440
|
+
|
|
441
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/create_members.html)
|
|
442
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#create_members)
|
|
443
|
+
"""
|
|
444
|
+
|
|
445
|
+
def decline_invitations(
|
|
446
|
+
self, **kwargs: Unpack[DeclineInvitationsRequestRequestTypeDef]
|
|
447
|
+
) -> DeclineInvitationsResponseTypeDef:
|
|
448
|
+
"""
|
|
449
|
+
We recommend using Organizations instead of Security Hub invitations to manage
|
|
450
|
+
your member accounts.
|
|
451
|
+
|
|
452
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/decline_invitations.html)
|
|
453
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#decline_invitations)
|
|
454
|
+
"""
|
|
455
|
+
|
|
456
|
+
def delete_action_target(
|
|
457
|
+
self, **kwargs: Unpack[DeleteActionTargetRequestRequestTypeDef]
|
|
458
|
+
) -> DeleteActionTargetResponseTypeDef:
|
|
459
|
+
"""
|
|
460
|
+
Deletes a custom action target from Security Hub.
|
|
461
|
+
|
|
462
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/delete_action_target.html)
|
|
463
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#delete_action_target)
|
|
464
|
+
"""
|
|
465
|
+
|
|
466
|
+
def delete_configuration_policy(
|
|
467
|
+
self, **kwargs: Unpack[DeleteConfigurationPolicyRequestRequestTypeDef]
|
|
468
|
+
) -> Dict[str, Any]:
|
|
469
|
+
"""
|
|
470
|
+
Deletes a configuration policy.
|
|
471
|
+
|
|
472
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/delete_configuration_policy.html)
|
|
473
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#delete_configuration_policy)
|
|
474
|
+
"""
|
|
475
|
+
|
|
476
|
+
def delete_finding_aggregator(
|
|
477
|
+
self, **kwargs: Unpack[DeleteFindingAggregatorRequestRequestTypeDef]
|
|
478
|
+
) -> Dict[str, Any]:
|
|
479
|
+
"""
|
|
480
|
+
The <i>aggregation Region</i> is now called the <i>home Region</i>.
|
|
481
|
+
|
|
482
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/delete_finding_aggregator.html)
|
|
483
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#delete_finding_aggregator)
|
|
484
|
+
"""
|
|
485
|
+
|
|
486
|
+
def delete_insight(
|
|
487
|
+
self, **kwargs: Unpack[DeleteInsightRequestRequestTypeDef]
|
|
488
|
+
) -> DeleteInsightResponseTypeDef:
|
|
489
|
+
"""
|
|
490
|
+
Deletes the insight specified by the <code>InsightArn</code>.
|
|
491
|
+
|
|
492
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/delete_insight.html)
|
|
493
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#delete_insight)
|
|
494
|
+
"""
|
|
495
|
+
|
|
496
|
+
def delete_invitations(
|
|
497
|
+
self, **kwargs: Unpack[DeleteInvitationsRequestRequestTypeDef]
|
|
498
|
+
) -> DeleteInvitationsResponseTypeDef:
|
|
499
|
+
"""
|
|
500
|
+
We recommend using Organizations instead of Security Hub invitations to manage
|
|
501
|
+
your member accounts.
|
|
502
|
+
|
|
503
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/delete_invitations.html)
|
|
504
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#delete_invitations)
|
|
505
|
+
"""
|
|
506
|
+
|
|
507
|
+
def delete_members(
|
|
508
|
+
self, **kwargs: Unpack[DeleteMembersRequestRequestTypeDef]
|
|
509
|
+
) -> DeleteMembersResponseTypeDef:
|
|
510
|
+
"""
|
|
511
|
+
Deletes the specified member accounts from Security Hub.
|
|
512
|
+
|
|
513
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/delete_members.html)
|
|
514
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#delete_members)
|
|
515
|
+
"""
|
|
516
|
+
|
|
517
|
+
def describe_action_targets(
|
|
518
|
+
self, **kwargs: Unpack[DescribeActionTargetsRequestRequestTypeDef]
|
|
519
|
+
) -> DescribeActionTargetsResponseTypeDef:
|
|
520
|
+
"""
|
|
521
|
+
Returns a list of the custom action targets in Security Hub in your account.
|
|
522
|
+
|
|
523
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/describe_action_targets.html)
|
|
524
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#describe_action_targets)
|
|
525
|
+
"""
|
|
526
|
+
|
|
527
|
+
def describe_hub(
|
|
528
|
+
self, **kwargs: Unpack[DescribeHubRequestRequestTypeDef]
|
|
529
|
+
) -> DescribeHubResponseTypeDef:
|
|
530
|
+
"""
|
|
531
|
+
Returns details about the Hub resource in your account, including the
|
|
532
|
+
<code>HubArn</code> and the time when you enabled Security Hub.
|
|
533
|
+
|
|
534
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/describe_hub.html)
|
|
535
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#describe_hub)
|
|
536
|
+
"""
|
|
537
|
+
|
|
538
|
+
def describe_organization_configuration(
|
|
539
|
+
self,
|
|
540
|
+
) -> DescribeOrganizationConfigurationResponseTypeDef:
|
|
541
|
+
"""
|
|
542
|
+
Returns information about the way your organization is configured in Security
|
|
543
|
+
Hub.
|
|
544
|
+
|
|
545
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/describe_organization_configuration.html)
|
|
546
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#describe_organization_configuration)
|
|
547
|
+
"""
|
|
548
|
+
|
|
549
|
+
def describe_products(
|
|
550
|
+
self, **kwargs: Unpack[DescribeProductsRequestRequestTypeDef]
|
|
551
|
+
) -> DescribeProductsResponseTypeDef:
|
|
552
|
+
"""
|
|
553
|
+
Returns information about product integrations in Security Hub.
|
|
554
|
+
|
|
555
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/describe_products.html)
|
|
556
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#describe_products)
|
|
557
|
+
"""
|
|
558
|
+
|
|
559
|
+
def describe_standards(
|
|
560
|
+
self, **kwargs: Unpack[DescribeStandardsRequestRequestTypeDef]
|
|
561
|
+
) -> DescribeStandardsResponseTypeDef:
|
|
562
|
+
"""
|
|
563
|
+
Returns a list of the available standards in Security Hub.
|
|
564
|
+
|
|
565
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/describe_standards.html)
|
|
566
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#describe_standards)
|
|
567
|
+
"""
|
|
568
|
+
|
|
569
|
+
def describe_standards_controls(
|
|
570
|
+
self, **kwargs: Unpack[DescribeStandardsControlsRequestRequestTypeDef]
|
|
571
|
+
) -> DescribeStandardsControlsResponseTypeDef:
|
|
572
|
+
"""
|
|
573
|
+
Returns a list of security standards controls.
|
|
574
|
+
|
|
575
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/describe_standards_controls.html)
|
|
576
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#describe_standards_controls)
|
|
577
|
+
"""
|
|
578
|
+
|
|
579
|
+
def disable_import_findings_for_product(
|
|
580
|
+
self, **kwargs: Unpack[DisableImportFindingsForProductRequestRequestTypeDef]
|
|
581
|
+
) -> Dict[str, Any]:
|
|
582
|
+
"""
|
|
583
|
+
Disables the integration of the specified product with Security Hub.
|
|
584
|
+
|
|
585
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/disable_import_findings_for_product.html)
|
|
586
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#disable_import_findings_for_product)
|
|
587
|
+
"""
|
|
588
|
+
|
|
589
|
+
def disable_organization_admin_account(
|
|
590
|
+
self, **kwargs: Unpack[DisableOrganizationAdminAccountRequestRequestTypeDef]
|
|
591
|
+
) -> Dict[str, Any]:
|
|
592
|
+
"""
|
|
593
|
+
Disables a Security Hub administrator account.
|
|
594
|
+
|
|
595
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/disable_organization_admin_account.html)
|
|
596
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#disable_organization_admin_account)
|
|
597
|
+
"""
|
|
598
|
+
|
|
599
|
+
def disable_security_hub(self) -> Dict[str, Any]:
|
|
600
|
+
"""
|
|
601
|
+
Disables Security Hub in your account only in the current Amazon Web Services
|
|
602
|
+
Region.
|
|
603
|
+
|
|
604
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/disable_security_hub.html)
|
|
605
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#disable_security_hub)
|
|
606
|
+
"""
|
|
607
|
+
|
|
608
|
+
def disassociate_from_administrator_account(self) -> Dict[str, Any]:
|
|
609
|
+
"""
|
|
610
|
+
Disassociates the current Security Hub member account from the associated
|
|
611
|
+
administrator account.
|
|
612
|
+
|
|
613
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/disassociate_from_administrator_account.html)
|
|
614
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#disassociate_from_administrator_account)
|
|
615
|
+
"""
|
|
616
|
+
|
|
617
|
+
def disassociate_from_master_account(self) -> Dict[str, Any]:
|
|
618
|
+
"""
|
|
619
|
+
This method is deprecated.
|
|
620
|
+
|
|
621
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/disassociate_from_master_account.html)
|
|
622
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#disassociate_from_master_account)
|
|
623
|
+
"""
|
|
624
|
+
|
|
625
|
+
def disassociate_members(
|
|
626
|
+
self, **kwargs: Unpack[DisassociateMembersRequestRequestTypeDef]
|
|
627
|
+
) -> Dict[str, Any]:
|
|
628
|
+
"""
|
|
629
|
+
Disassociates the specified member accounts from the associated administrator
|
|
630
|
+
account.
|
|
631
|
+
|
|
632
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/disassociate_members.html)
|
|
633
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#disassociate_members)
|
|
634
|
+
"""
|
|
635
|
+
|
|
636
|
+
def enable_import_findings_for_product(
|
|
637
|
+
self, **kwargs: Unpack[EnableImportFindingsForProductRequestRequestTypeDef]
|
|
638
|
+
) -> EnableImportFindingsForProductResponseTypeDef:
|
|
639
|
+
"""
|
|
640
|
+
Enables the integration of a partner product with Security Hub.
|
|
641
|
+
|
|
642
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/enable_import_findings_for_product.html)
|
|
643
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#enable_import_findings_for_product)
|
|
644
|
+
"""
|
|
645
|
+
|
|
646
|
+
def enable_organization_admin_account(
|
|
647
|
+
self, **kwargs: Unpack[EnableOrganizationAdminAccountRequestRequestTypeDef]
|
|
648
|
+
) -> Dict[str, Any]:
|
|
649
|
+
"""
|
|
650
|
+
Designates the Security Hub administrator account for an organization.
|
|
651
|
+
|
|
652
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/enable_organization_admin_account.html)
|
|
653
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#enable_organization_admin_account)
|
|
654
|
+
"""
|
|
655
|
+
|
|
656
|
+
def enable_security_hub(
|
|
657
|
+
self, **kwargs: Unpack[EnableSecurityHubRequestRequestTypeDef]
|
|
658
|
+
) -> Dict[str, Any]:
|
|
659
|
+
"""
|
|
660
|
+
Enables Security Hub for your account in the current Region or the Region you
|
|
661
|
+
specify in the request.
|
|
662
|
+
|
|
663
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/enable_security_hub.html)
|
|
664
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#enable_security_hub)
|
|
665
|
+
"""
|
|
666
|
+
|
|
667
|
+
def get_administrator_account(self) -> GetAdministratorAccountResponseTypeDef:
|
|
668
|
+
"""
|
|
669
|
+
Provides the details for the Security Hub administrator account for the current
|
|
670
|
+
member account.
|
|
671
|
+
|
|
672
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_administrator_account.html)
|
|
673
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_administrator_account)
|
|
674
|
+
"""
|
|
675
|
+
|
|
676
|
+
def get_configuration_policy(
|
|
677
|
+
self, **kwargs: Unpack[GetConfigurationPolicyRequestRequestTypeDef]
|
|
678
|
+
) -> GetConfigurationPolicyResponseTypeDef:
|
|
679
|
+
"""
|
|
680
|
+
Provides information about a configuration policy.
|
|
681
|
+
|
|
682
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_configuration_policy.html)
|
|
683
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_configuration_policy)
|
|
684
|
+
"""
|
|
685
|
+
|
|
686
|
+
def get_configuration_policy_association(
|
|
687
|
+
self, **kwargs: Unpack[GetConfigurationPolicyAssociationRequestRequestTypeDef]
|
|
688
|
+
) -> GetConfigurationPolicyAssociationResponseTypeDef:
|
|
689
|
+
"""
|
|
690
|
+
Returns the association between a configuration and a target account,
|
|
691
|
+
organizational unit, or the root.
|
|
692
|
+
|
|
693
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_configuration_policy_association.html)
|
|
694
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_configuration_policy_association)
|
|
695
|
+
"""
|
|
696
|
+
|
|
697
|
+
def get_enabled_standards(
|
|
698
|
+
self, **kwargs: Unpack[GetEnabledStandardsRequestRequestTypeDef]
|
|
699
|
+
) -> GetEnabledStandardsResponseTypeDef:
|
|
700
|
+
"""
|
|
701
|
+
Returns a list of the standards that are currently enabled.
|
|
702
|
+
|
|
703
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_enabled_standards.html)
|
|
704
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_enabled_standards)
|
|
705
|
+
"""
|
|
706
|
+
|
|
707
|
+
def get_finding_aggregator(
|
|
708
|
+
self, **kwargs: Unpack[GetFindingAggregatorRequestRequestTypeDef]
|
|
709
|
+
) -> GetFindingAggregatorResponseTypeDef:
|
|
710
|
+
"""
|
|
711
|
+
The <i>aggregation Region</i> is now called the <i>home Region</i>.
|
|
712
|
+
|
|
713
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_finding_aggregator.html)
|
|
714
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_finding_aggregator)
|
|
715
|
+
"""
|
|
716
|
+
|
|
717
|
+
def get_finding_history(
|
|
718
|
+
self, **kwargs: Unpack[GetFindingHistoryRequestRequestTypeDef]
|
|
719
|
+
) -> GetFindingHistoryResponseTypeDef:
|
|
720
|
+
"""
|
|
721
|
+
Returns history for a Security Hub finding in the last 90 days.
|
|
722
|
+
|
|
723
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_finding_history.html)
|
|
724
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_finding_history)
|
|
725
|
+
"""
|
|
726
|
+
|
|
727
|
+
def get_findings(
|
|
728
|
+
self, **kwargs: Unpack[GetFindingsRequestRequestTypeDef]
|
|
729
|
+
) -> GetFindingsResponseTypeDef:
|
|
730
|
+
"""
|
|
731
|
+
Returns a list of findings that match the specified criteria.
|
|
732
|
+
|
|
733
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_findings.html)
|
|
734
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_findings)
|
|
735
|
+
"""
|
|
736
|
+
|
|
737
|
+
def get_insight_results(
|
|
738
|
+
self, **kwargs: Unpack[GetInsightResultsRequestRequestTypeDef]
|
|
739
|
+
) -> GetInsightResultsResponseTypeDef:
|
|
740
|
+
"""
|
|
741
|
+
Lists the results of the Security Hub insight specified by the insight ARN.
|
|
742
|
+
|
|
743
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_insight_results.html)
|
|
744
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_insight_results)
|
|
745
|
+
"""
|
|
746
|
+
|
|
747
|
+
def get_insights(
|
|
748
|
+
self, **kwargs: Unpack[GetInsightsRequestRequestTypeDef]
|
|
749
|
+
) -> GetInsightsResponseTypeDef:
|
|
750
|
+
"""
|
|
751
|
+
Lists and describes insights for the specified insight ARNs.
|
|
752
|
+
|
|
753
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_insights.html)
|
|
754
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_insights)
|
|
755
|
+
"""
|
|
756
|
+
|
|
757
|
+
def get_invitations_count(self) -> GetInvitationsCountResponseTypeDef:
|
|
758
|
+
"""
|
|
759
|
+
We recommend using Organizations instead of Security Hub invitations to manage
|
|
760
|
+
your member accounts.
|
|
761
|
+
|
|
762
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_invitations_count.html)
|
|
763
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_invitations_count)
|
|
764
|
+
"""
|
|
765
|
+
|
|
766
|
+
def get_master_account(self) -> GetMasterAccountResponseTypeDef:
|
|
767
|
+
"""
|
|
768
|
+
This method is deprecated.
|
|
769
|
+
|
|
770
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_master_account.html)
|
|
771
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_master_account)
|
|
772
|
+
"""
|
|
773
|
+
|
|
774
|
+
def get_members(
|
|
775
|
+
self, **kwargs: Unpack[GetMembersRequestRequestTypeDef]
|
|
776
|
+
) -> GetMembersResponseTypeDef:
|
|
777
|
+
"""
|
|
778
|
+
Returns the details for the Security Hub member accounts for the specified
|
|
779
|
+
account IDs.
|
|
780
|
+
|
|
781
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_members.html)
|
|
782
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_members)
|
|
783
|
+
"""
|
|
784
|
+
|
|
785
|
+
def get_security_control_definition(
|
|
786
|
+
self, **kwargs: Unpack[GetSecurityControlDefinitionRequestRequestTypeDef]
|
|
787
|
+
) -> GetSecurityControlDefinitionResponseTypeDef:
|
|
788
|
+
"""
|
|
789
|
+
Retrieves the definition of a security control.
|
|
790
|
+
|
|
791
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_security_control_definition.html)
|
|
792
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_security_control_definition)
|
|
793
|
+
"""
|
|
794
|
+
|
|
795
|
+
def invite_members(
|
|
796
|
+
self, **kwargs: Unpack[InviteMembersRequestRequestTypeDef]
|
|
797
|
+
) -> InviteMembersResponseTypeDef:
|
|
798
|
+
"""
|
|
799
|
+
We recommend using Organizations instead of Security Hub invitations to manage
|
|
800
|
+
your member accounts.
|
|
801
|
+
|
|
802
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/invite_members.html)
|
|
803
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#invite_members)
|
|
804
|
+
"""
|
|
805
|
+
|
|
806
|
+
def list_automation_rules(
|
|
807
|
+
self, **kwargs: Unpack[ListAutomationRulesRequestRequestTypeDef]
|
|
808
|
+
) -> ListAutomationRulesResponseTypeDef:
|
|
809
|
+
"""
|
|
810
|
+
A list of automation rules and their metadata for the calling account.
|
|
811
|
+
|
|
812
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/list_automation_rules.html)
|
|
813
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#list_automation_rules)
|
|
814
|
+
"""
|
|
815
|
+
|
|
816
|
+
def list_configuration_policies(
|
|
817
|
+
self, **kwargs: Unpack[ListConfigurationPoliciesRequestRequestTypeDef]
|
|
818
|
+
) -> ListConfigurationPoliciesResponseTypeDef:
|
|
819
|
+
"""
|
|
820
|
+
Lists the configuration policies that the Security Hub delegated administrator
|
|
821
|
+
has created for your organization.
|
|
822
|
+
|
|
823
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/list_configuration_policies.html)
|
|
824
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#list_configuration_policies)
|
|
825
|
+
"""
|
|
826
|
+
|
|
827
|
+
def list_configuration_policy_associations(
|
|
828
|
+
self, **kwargs: Unpack[ListConfigurationPolicyAssociationsRequestRequestTypeDef]
|
|
829
|
+
) -> ListConfigurationPolicyAssociationsResponseTypeDef:
|
|
830
|
+
"""
|
|
831
|
+
Provides information about the associations for your configuration policies and
|
|
832
|
+
self-managed behavior.
|
|
833
|
+
|
|
834
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/list_configuration_policy_associations.html)
|
|
835
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#list_configuration_policy_associations)
|
|
836
|
+
"""
|
|
837
|
+
|
|
838
|
+
def list_enabled_products_for_import(
|
|
839
|
+
self, **kwargs: Unpack[ListEnabledProductsForImportRequestRequestTypeDef]
|
|
840
|
+
) -> ListEnabledProductsForImportResponseTypeDef:
|
|
841
|
+
"""
|
|
842
|
+
Lists all findings-generating solutions (products) that you are subscribed to
|
|
843
|
+
receive findings from in Security Hub.
|
|
844
|
+
|
|
845
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/list_enabled_products_for_import.html)
|
|
846
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#list_enabled_products_for_import)
|
|
847
|
+
"""
|
|
848
|
+
|
|
849
|
+
def list_finding_aggregators(
|
|
850
|
+
self, **kwargs: Unpack[ListFindingAggregatorsRequestRequestTypeDef]
|
|
851
|
+
) -> ListFindingAggregatorsResponseTypeDef:
|
|
852
|
+
"""
|
|
853
|
+
If cross-Region aggregation is enabled, then
|
|
854
|
+
<code>ListFindingAggregators</code> returns the Amazon Resource Name (ARN) of
|
|
855
|
+
the finding aggregator.
|
|
856
|
+
|
|
857
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/list_finding_aggregators.html)
|
|
858
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#list_finding_aggregators)
|
|
859
|
+
"""
|
|
860
|
+
|
|
861
|
+
def list_invitations(
|
|
862
|
+
self, **kwargs: Unpack[ListInvitationsRequestRequestTypeDef]
|
|
863
|
+
) -> ListInvitationsResponseTypeDef:
|
|
864
|
+
"""
|
|
865
|
+
We recommend using Organizations instead of Security Hub invitations to manage
|
|
866
|
+
your member accounts.
|
|
867
|
+
|
|
868
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/list_invitations.html)
|
|
869
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#list_invitations)
|
|
870
|
+
"""
|
|
871
|
+
|
|
872
|
+
def list_members(
|
|
873
|
+
self, **kwargs: Unpack[ListMembersRequestRequestTypeDef]
|
|
874
|
+
) -> ListMembersResponseTypeDef:
|
|
875
|
+
"""
|
|
876
|
+
Lists details about all member accounts for the current Security Hub
|
|
877
|
+
administrator account.
|
|
878
|
+
|
|
879
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/list_members.html)
|
|
880
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#list_members)
|
|
881
|
+
"""
|
|
882
|
+
|
|
883
|
+
def list_organization_admin_accounts(
|
|
884
|
+
self, **kwargs: Unpack[ListOrganizationAdminAccountsRequestRequestTypeDef]
|
|
885
|
+
) -> ListOrganizationAdminAccountsResponseTypeDef:
|
|
886
|
+
"""
|
|
887
|
+
Lists the Security Hub administrator accounts.
|
|
888
|
+
|
|
889
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/list_organization_admin_accounts.html)
|
|
890
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#list_organization_admin_accounts)
|
|
891
|
+
"""
|
|
892
|
+
|
|
893
|
+
def list_security_control_definitions(
|
|
894
|
+
self, **kwargs: Unpack[ListSecurityControlDefinitionsRequestRequestTypeDef]
|
|
895
|
+
) -> ListSecurityControlDefinitionsResponseTypeDef:
|
|
896
|
+
"""
|
|
897
|
+
Lists all of the security controls that apply to a specified standard.
|
|
898
|
+
|
|
899
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/list_security_control_definitions.html)
|
|
900
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#list_security_control_definitions)
|
|
901
|
+
"""
|
|
902
|
+
|
|
903
|
+
def list_standards_control_associations(
|
|
904
|
+
self, **kwargs: Unpack[ListStandardsControlAssociationsRequestRequestTypeDef]
|
|
905
|
+
) -> ListStandardsControlAssociationsResponseTypeDef:
|
|
906
|
+
"""
|
|
907
|
+
Specifies whether a control is currently enabled or disabled in each enabled
|
|
908
|
+
standard in the calling account.
|
|
909
|
+
|
|
910
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/list_standards_control_associations.html)
|
|
911
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#list_standards_control_associations)
|
|
912
|
+
"""
|
|
913
|
+
|
|
914
|
+
def list_tags_for_resource(
|
|
915
|
+
self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
|
|
916
|
+
) -> ListTagsForResourceResponseTypeDef:
|
|
917
|
+
"""
|
|
918
|
+
Returns a list of tags associated with a resource.
|
|
919
|
+
|
|
920
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/list_tags_for_resource.html)
|
|
921
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#list_tags_for_resource)
|
|
922
|
+
"""
|
|
923
|
+
|
|
924
|
+
def start_configuration_policy_association(
|
|
925
|
+
self, **kwargs: Unpack[StartConfigurationPolicyAssociationRequestRequestTypeDef]
|
|
926
|
+
) -> StartConfigurationPolicyAssociationResponseTypeDef:
|
|
927
|
+
"""
|
|
928
|
+
Associates a target account, organizational unit, or the root with a specified
|
|
929
|
+
configuration.
|
|
930
|
+
|
|
931
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/start_configuration_policy_association.html)
|
|
932
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#start_configuration_policy_association)
|
|
933
|
+
"""
|
|
934
|
+
|
|
935
|
+
def start_configuration_policy_disassociation(
|
|
936
|
+
self, **kwargs: Unpack[StartConfigurationPolicyDisassociationRequestRequestTypeDef]
|
|
937
|
+
) -> Dict[str, Any]:
|
|
938
|
+
"""
|
|
939
|
+
Disassociates a target account, organizational unit, or the root from a
|
|
940
|
+
specified configuration.
|
|
941
|
+
|
|
942
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/start_configuration_policy_disassociation.html)
|
|
943
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#start_configuration_policy_disassociation)
|
|
944
|
+
"""
|
|
945
|
+
|
|
946
|
+
def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
947
|
+
"""
|
|
948
|
+
Adds one or more tags to a resource.
|
|
949
|
+
|
|
950
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/tag_resource.html)
|
|
951
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#tag_resource)
|
|
952
|
+
"""
|
|
953
|
+
|
|
954
|
+
def untag_resource(
|
|
955
|
+
self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
|
|
956
|
+
) -> Dict[str, Any]:
|
|
957
|
+
"""
|
|
958
|
+
Removes one or more tags from a resource.
|
|
959
|
+
|
|
960
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/untag_resource.html)
|
|
961
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#untag_resource)
|
|
962
|
+
"""
|
|
963
|
+
|
|
964
|
+
def update_action_target(
|
|
965
|
+
self, **kwargs: Unpack[UpdateActionTargetRequestRequestTypeDef]
|
|
966
|
+
) -> Dict[str, Any]:
|
|
967
|
+
"""
|
|
968
|
+
Updates the name and description of a custom action target in Security Hub.
|
|
969
|
+
|
|
970
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/update_action_target.html)
|
|
971
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#update_action_target)
|
|
972
|
+
"""
|
|
973
|
+
|
|
974
|
+
def update_configuration_policy(
|
|
975
|
+
self, **kwargs: Unpack[UpdateConfigurationPolicyRequestRequestTypeDef]
|
|
976
|
+
) -> UpdateConfigurationPolicyResponseTypeDef:
|
|
977
|
+
"""
|
|
978
|
+
Updates a configuration policy.
|
|
979
|
+
|
|
980
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/update_configuration_policy.html)
|
|
981
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#update_configuration_policy)
|
|
982
|
+
"""
|
|
983
|
+
|
|
984
|
+
def update_finding_aggregator(
|
|
985
|
+
self, **kwargs: Unpack[UpdateFindingAggregatorRequestRequestTypeDef]
|
|
986
|
+
) -> UpdateFindingAggregatorResponseTypeDef:
|
|
987
|
+
"""
|
|
988
|
+
The <i>aggregation Region</i> is now called the <i>home Region</i>.
|
|
989
|
+
|
|
990
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/update_finding_aggregator.html)
|
|
991
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#update_finding_aggregator)
|
|
992
|
+
"""
|
|
993
|
+
|
|
994
|
+
def update_findings(
|
|
995
|
+
self, **kwargs: Unpack[UpdateFindingsRequestRequestTypeDef]
|
|
996
|
+
) -> Dict[str, Any]:
|
|
997
|
+
"""
|
|
998
|
+
<code>UpdateFindings</code> is a deprecated operation.
|
|
999
|
+
|
|
1000
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/update_findings.html)
|
|
1001
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#update_findings)
|
|
1002
|
+
"""
|
|
1003
|
+
|
|
1004
|
+
def update_insight(
|
|
1005
|
+
self, **kwargs: Unpack[UpdateInsightRequestRequestTypeDef]
|
|
1006
|
+
) -> Dict[str, Any]:
|
|
1007
|
+
"""
|
|
1008
|
+
Updates the Security Hub insight identified by the specified insight ARN.
|
|
1009
|
+
|
|
1010
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/update_insight.html)
|
|
1011
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#update_insight)
|
|
1012
|
+
"""
|
|
1013
|
+
|
|
1014
|
+
def update_organization_configuration(
|
|
1015
|
+
self, **kwargs: Unpack[UpdateOrganizationConfigurationRequestRequestTypeDef]
|
|
1016
|
+
) -> Dict[str, Any]:
|
|
1017
|
+
"""
|
|
1018
|
+
Updates the configuration of your organization in Security Hub.
|
|
1019
|
+
|
|
1020
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/update_organization_configuration.html)
|
|
1021
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#update_organization_configuration)
|
|
1022
|
+
"""
|
|
1023
|
+
|
|
1024
|
+
def update_security_control(
|
|
1025
|
+
self, **kwargs: Unpack[UpdateSecurityControlRequestRequestTypeDef]
|
|
1026
|
+
) -> Dict[str, Any]:
|
|
1027
|
+
"""
|
|
1028
|
+
Updates the properties of a security control.
|
|
1029
|
+
|
|
1030
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/update_security_control.html)
|
|
1031
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#update_security_control)
|
|
1032
|
+
"""
|
|
1033
|
+
|
|
1034
|
+
def update_security_hub_configuration(
|
|
1035
|
+
self, **kwargs: Unpack[UpdateSecurityHubConfigurationRequestRequestTypeDef]
|
|
1036
|
+
) -> Dict[str, Any]:
|
|
1037
|
+
"""
|
|
1038
|
+
Updates configuration options for Security Hub.
|
|
1039
|
+
|
|
1040
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/update_security_hub_configuration.html)
|
|
1041
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#update_security_hub_configuration)
|
|
1042
|
+
"""
|
|
1043
|
+
|
|
1044
|
+
def update_standards_control(
|
|
1045
|
+
self, **kwargs: Unpack[UpdateStandardsControlRequestRequestTypeDef]
|
|
1046
|
+
) -> Dict[str, Any]:
|
|
1047
|
+
"""
|
|
1048
|
+
Used to control whether an individual security standard control is enabled or
|
|
1049
|
+
disabled.
|
|
1050
|
+
|
|
1051
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/update_standards_control.html)
|
|
1052
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#update_standards_control)
|
|
1053
|
+
"""
|
|
1054
|
+
|
|
1055
|
+
@overload
|
|
1056
|
+
def get_paginator(
|
|
1057
|
+
self, operation_name: Literal["describe_action_targets"]
|
|
1058
|
+
) -> DescribeActionTargetsPaginator:
|
|
1059
|
+
"""
|
|
1060
|
+
Create a paginator for an operation.
|
|
1061
|
+
|
|
1062
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_paginator.html)
|
|
1063
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_paginator)
|
|
1064
|
+
"""
|
|
1065
|
+
|
|
1066
|
+
@overload
|
|
1067
|
+
def get_paginator(
|
|
1068
|
+
self, operation_name: Literal["describe_products"]
|
|
1069
|
+
) -> DescribeProductsPaginator:
|
|
1070
|
+
"""
|
|
1071
|
+
Create a paginator for an operation.
|
|
1072
|
+
|
|
1073
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_paginator.html)
|
|
1074
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_paginator)
|
|
1075
|
+
"""
|
|
1076
|
+
|
|
1077
|
+
@overload
|
|
1078
|
+
def get_paginator(
|
|
1079
|
+
self, operation_name: Literal["describe_standards_controls"]
|
|
1080
|
+
) -> DescribeStandardsControlsPaginator:
|
|
1081
|
+
"""
|
|
1082
|
+
Create a paginator for an operation.
|
|
1083
|
+
|
|
1084
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_paginator.html)
|
|
1085
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_paginator)
|
|
1086
|
+
"""
|
|
1087
|
+
|
|
1088
|
+
@overload
|
|
1089
|
+
def get_paginator(
|
|
1090
|
+
self, operation_name: Literal["describe_standards"]
|
|
1091
|
+
) -> DescribeStandardsPaginator:
|
|
1092
|
+
"""
|
|
1093
|
+
Create a paginator for an operation.
|
|
1094
|
+
|
|
1095
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_paginator.html)
|
|
1096
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_paginator)
|
|
1097
|
+
"""
|
|
1098
|
+
|
|
1099
|
+
@overload
|
|
1100
|
+
def get_paginator(
|
|
1101
|
+
self, operation_name: Literal["get_enabled_standards"]
|
|
1102
|
+
) -> GetEnabledStandardsPaginator:
|
|
1103
|
+
"""
|
|
1104
|
+
Create a paginator for an operation.
|
|
1105
|
+
|
|
1106
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_paginator.html)
|
|
1107
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_paginator)
|
|
1108
|
+
"""
|
|
1109
|
+
|
|
1110
|
+
@overload
|
|
1111
|
+
def get_paginator(
|
|
1112
|
+
self, operation_name: Literal["get_finding_history"]
|
|
1113
|
+
) -> GetFindingHistoryPaginator:
|
|
1114
|
+
"""
|
|
1115
|
+
Create a paginator for an operation.
|
|
1116
|
+
|
|
1117
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_paginator.html)
|
|
1118
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_paginator)
|
|
1119
|
+
"""
|
|
1120
|
+
|
|
1121
|
+
@overload
|
|
1122
|
+
def get_paginator(self, operation_name: Literal["get_findings"]) -> GetFindingsPaginator:
|
|
1123
|
+
"""
|
|
1124
|
+
Create a paginator for an operation.
|
|
1125
|
+
|
|
1126
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_paginator.html)
|
|
1127
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_paginator)
|
|
1128
|
+
"""
|
|
1129
|
+
|
|
1130
|
+
@overload
|
|
1131
|
+
def get_paginator(self, operation_name: Literal["get_insights"]) -> GetInsightsPaginator:
|
|
1132
|
+
"""
|
|
1133
|
+
Create a paginator for an operation.
|
|
1134
|
+
|
|
1135
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_paginator.html)
|
|
1136
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_paginator)
|
|
1137
|
+
"""
|
|
1138
|
+
|
|
1139
|
+
@overload
|
|
1140
|
+
def get_paginator(
|
|
1141
|
+
self, operation_name: Literal["list_configuration_policies"]
|
|
1142
|
+
) -> ListConfigurationPoliciesPaginator:
|
|
1143
|
+
"""
|
|
1144
|
+
Create a paginator for an operation.
|
|
1145
|
+
|
|
1146
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_paginator.html)
|
|
1147
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_paginator)
|
|
1148
|
+
"""
|
|
1149
|
+
|
|
1150
|
+
@overload
|
|
1151
|
+
def get_paginator(
|
|
1152
|
+
self, operation_name: Literal["list_configuration_policy_associations"]
|
|
1153
|
+
) -> ListConfigurationPolicyAssociationsPaginator:
|
|
1154
|
+
"""
|
|
1155
|
+
Create a paginator for an operation.
|
|
1156
|
+
|
|
1157
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_paginator.html)
|
|
1158
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_paginator)
|
|
1159
|
+
"""
|
|
1160
|
+
|
|
1161
|
+
@overload
|
|
1162
|
+
def get_paginator(
|
|
1163
|
+
self, operation_name: Literal["list_enabled_products_for_import"]
|
|
1164
|
+
) -> ListEnabledProductsForImportPaginator:
|
|
1165
|
+
"""
|
|
1166
|
+
Create a paginator for an operation.
|
|
1167
|
+
|
|
1168
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_paginator.html)
|
|
1169
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_paginator)
|
|
1170
|
+
"""
|
|
1171
|
+
|
|
1172
|
+
@overload
|
|
1173
|
+
def get_paginator(
|
|
1174
|
+
self, operation_name: Literal["list_finding_aggregators"]
|
|
1175
|
+
) -> ListFindingAggregatorsPaginator:
|
|
1176
|
+
"""
|
|
1177
|
+
Create a paginator for an operation.
|
|
1178
|
+
|
|
1179
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_paginator.html)
|
|
1180
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_paginator)
|
|
1181
|
+
"""
|
|
1182
|
+
|
|
1183
|
+
@overload
|
|
1184
|
+
def get_paginator(
|
|
1185
|
+
self, operation_name: Literal["list_invitations"]
|
|
1186
|
+
) -> ListInvitationsPaginator:
|
|
1187
|
+
"""
|
|
1188
|
+
Create a paginator for an operation.
|
|
1189
|
+
|
|
1190
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_paginator.html)
|
|
1191
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_paginator)
|
|
1192
|
+
"""
|
|
1193
|
+
|
|
1194
|
+
@overload
|
|
1195
|
+
def get_paginator(self, operation_name: Literal["list_members"]) -> ListMembersPaginator:
|
|
1196
|
+
"""
|
|
1197
|
+
Create a paginator for an operation.
|
|
1198
|
+
|
|
1199
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_paginator.html)
|
|
1200
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_paginator)
|
|
1201
|
+
"""
|
|
1202
|
+
|
|
1203
|
+
@overload
|
|
1204
|
+
def get_paginator(
|
|
1205
|
+
self, operation_name: Literal["list_organization_admin_accounts"]
|
|
1206
|
+
) -> ListOrganizationAdminAccountsPaginator:
|
|
1207
|
+
"""
|
|
1208
|
+
Create a paginator for an operation.
|
|
1209
|
+
|
|
1210
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_paginator.html)
|
|
1211
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_paginator)
|
|
1212
|
+
"""
|
|
1213
|
+
|
|
1214
|
+
@overload
|
|
1215
|
+
def get_paginator(
|
|
1216
|
+
self, operation_name: Literal["list_security_control_definitions"]
|
|
1217
|
+
) -> ListSecurityControlDefinitionsPaginator:
|
|
1218
|
+
"""
|
|
1219
|
+
Create a paginator for an operation.
|
|
1220
|
+
|
|
1221
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_paginator.html)
|
|
1222
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_paginator)
|
|
1223
|
+
"""
|
|
1224
|
+
|
|
1225
|
+
@overload
|
|
1226
|
+
def get_paginator(
|
|
1227
|
+
self, operation_name: Literal["list_standards_control_associations"]
|
|
1228
|
+
) -> ListStandardsControlAssociationsPaginator:
|
|
1229
|
+
"""
|
|
1230
|
+
Create a paginator for an operation.
|
|
1231
|
+
|
|
1232
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/securityhub/client/get_paginator.html)
|
|
1233
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_securityhub/client/#get_paginator)
|
|
1234
|
+
"""
|