| 1 | package Paws::SecurityHub; | ||
| 2 | use Moose; | ||
| 3 | sub service { 'securityhub' } | ||
| 4 | sub signing_name { 'securityhub' } | ||
| 5 | sub version { '2018-10-26' } | ||
| 6 | sub flattened_arrays { 0 } | ||
| 7 | has max_attempts => (is => 'ro', isa => 'Int', default => 5); | ||
| 8 | has retry => (is => 'ro', isa => 'HashRef', default => sub { | ||
| 9 | { base => 'rand', type => 'exponential', growth_factor => 2 } | ||
| 10 | }); | ||
| 11 | has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ | ||
| 12 | ] }); | ||
| 13 | |||
| 14 | with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller'; | ||
| 15 | |||
| 16 | |||
| 17 | sub AcceptAdministratorInvitation { | ||
| 18 | my $self = shift; | ||
| 19 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::AcceptAdministratorInvitation', @_); | ||
| 20 | return $self->caller->do_call($self, $call_object); | ||
| 21 | } | ||
| 22 | sub AcceptInvitation { | ||
| 23 | my $self = shift; | ||
| 24 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::AcceptInvitation', @_); | ||
| 25 | return $self->caller->do_call($self, $call_object); | ||
| 26 | } | ||
| 27 | sub BatchDisableStandards { | ||
| 28 | my $self = shift; | ||
| 29 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::BatchDisableStandards', @_); | ||
| 30 | return $self->caller->do_call($self, $call_object); | ||
| 31 | } | ||
| 32 | sub BatchEnableStandards { | ||
| 33 | my $self = shift; | ||
| 34 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::BatchEnableStandards', @_); | ||
| 35 | return $self->caller->do_call($self, $call_object); | ||
| 36 | } | ||
| 37 | sub BatchImportFindings { | ||
| 38 | my $self = shift; | ||
| 39 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::BatchImportFindings', @_); | ||
| 40 | return $self->caller->do_call($self, $call_object); | ||
| 41 | } | ||
| 42 | sub BatchUpdateFindings { | ||
| 43 | my $self = shift; | ||
| 44 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::BatchUpdateFindings', @_); | ||
| 45 | return $self->caller->do_call($self, $call_object); | ||
| 46 | } | ||
| 47 | sub CreateActionTarget { | ||
| 48 | my $self = shift; | ||
| 49 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::CreateActionTarget', @_); | ||
| 50 | return $self->caller->do_call($self, $call_object); | ||
| 51 | } | ||
| 52 | sub CreateInsight { | ||
| 53 | my $self = shift; | ||
| 54 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::CreateInsight', @_); | ||
| 55 | return $self->caller->do_call($self, $call_object); | ||
| 56 | } | ||
| 57 | sub CreateMembers { | ||
| 58 | my $self = shift; | ||
| 59 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::CreateMembers', @_); | ||
| 60 | return $self->caller->do_call($self, $call_object); | ||
| 61 | } | ||
| 62 | sub DeclineInvitations { | ||
| 63 | my $self = shift; | ||
| 64 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::DeclineInvitations', @_); | ||
| 65 | return $self->caller->do_call($self, $call_object); | ||
| 66 | } | ||
| 67 | sub DeleteActionTarget { | ||
| 68 | my $self = shift; | ||
| 69 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::DeleteActionTarget', @_); | ||
| 70 | return $self->caller->do_call($self, $call_object); | ||
| 71 | } | ||
| 72 | sub DeleteInsight { | ||
| 73 | my $self = shift; | ||
| 74 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::DeleteInsight', @_); | ||
| 75 | return $self->caller->do_call($self, $call_object); | ||
| 76 | } | ||
| 77 | sub DeleteInvitations { | ||
| 78 | my $self = shift; | ||
| 79 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::DeleteInvitations', @_); | ||
| 80 | return $self->caller->do_call($self, $call_object); | ||
| 81 | } | ||
| 82 | sub DeleteMembers { | ||
| 83 | my $self = shift; | ||
| 84 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::DeleteMembers', @_); | ||
| 85 | return $self->caller->do_call($self, $call_object); | ||
| 86 | } | ||
| 87 | sub DescribeActionTargets { | ||
| 88 | my $self = shift; | ||
| 89 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::DescribeActionTargets', @_); | ||
| 90 | return $self->caller->do_call($self, $call_object); | ||
| 91 | } | ||
| 92 | sub DescribeHub { | ||
| 93 | my $self = shift; | ||
| 94 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::DescribeHub', @_); | ||
| 95 | return $self->caller->do_call($self, $call_object); | ||
| 96 | } | ||
| 97 | sub DescribeOrganizationConfiguration { | ||
| 98 | my $self = shift; | ||
| 99 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::DescribeOrganizationConfiguration', @_); | ||
| 100 | return $self->caller->do_call($self, $call_object); | ||
| 101 | } | ||
| 102 | sub DescribeProducts { | ||
| 103 | my $self = shift; | ||
| 104 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::DescribeProducts', @_); | ||
| 105 | return $self->caller->do_call($self, $call_object); | ||
| 106 | } | ||
| 107 | sub DescribeStandards { | ||
| 108 | my $self = shift; | ||
| 109 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::DescribeStandards', @_); | ||
| 110 | return $self->caller->do_call($self, $call_object); | ||
| 111 | } | ||
| 112 | sub DescribeStandardsControls { | ||
| 113 | my $self = shift; | ||
| 114 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::DescribeStandardsControls', @_); | ||
| 115 | return $self->caller->do_call($self, $call_object); | ||
| 116 | } | ||
| 117 | sub DisableImportFindingsForProduct { | ||
| 118 | my $self = shift; | ||
| 119 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::DisableImportFindingsForProduct', @_); | ||
| 120 | return $self->caller->do_call($self, $call_object); | ||
| 121 | } | ||
| 122 | sub DisableOrganizationAdminAccount { | ||
| 123 | my $self = shift; | ||
| 124 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::DisableOrganizationAdminAccount', @_); | ||
| 125 | return $self->caller->do_call($self, $call_object); | ||
| 126 | } | ||
| 127 | sub DisableSecurityHub { | ||
| 128 | my $self = shift; | ||
| 129 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::DisableSecurityHub', @_); | ||
| 130 | return $self->caller->do_call($self, $call_object); | ||
| 131 | } | ||
| 132 | sub DisassociateFromAdministratorAccount { | ||
| 133 | my $self = shift; | ||
| 134 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::DisassociateFromAdministratorAccount', @_); | ||
| 135 | return $self->caller->do_call($self, $call_object); | ||
| 136 | } | ||
| 137 | sub DisassociateFromMasterAccount { | ||
| 138 | my $self = shift; | ||
| 139 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::DisassociateFromMasterAccount', @_); | ||
| 140 | return $self->caller->do_call($self, $call_object); | ||
| 141 | } | ||
| 142 | sub DisassociateMembers { | ||
| 143 | my $self = shift; | ||
| 144 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::DisassociateMembers', @_); | ||
| 145 | return $self->caller->do_call($self, $call_object); | ||
| 146 | } | ||
| 147 | sub EnableImportFindingsForProduct { | ||
| 148 | my $self = shift; | ||
| 149 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::EnableImportFindingsForProduct', @_); | ||
| 150 | return $self->caller->do_call($self, $call_object); | ||
| 151 | } | ||
| 152 | sub EnableOrganizationAdminAccount { | ||
| 153 | my $self = shift; | ||
| 154 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::EnableOrganizationAdminAccount', @_); | ||
| 155 | return $self->caller->do_call($self, $call_object); | ||
| 156 | } | ||
| 157 | sub EnableSecurityHub { | ||
| 158 | my $self = shift; | ||
| 159 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::EnableSecurityHub', @_); | ||
| 160 | return $self->caller->do_call($self, $call_object); | ||
| 161 | } | ||
| 162 | sub GetAdministratorAccount { | ||
| 163 | my $self = shift; | ||
| 164 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::GetAdministratorAccount', @_); | ||
| 165 | return $self->caller->do_call($self, $call_object); | ||
| 166 | } | ||
| 167 | sub GetEnabledStandards { | ||
| 168 | my $self = shift; | ||
| 169 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::GetEnabledStandards', @_); | ||
| 170 | return $self->caller->do_call($self, $call_object); | ||
| 171 | } | ||
| 172 | sub GetFindings { | ||
| 173 | my $self = shift; | ||
| 174 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::GetFindings', @_); | ||
| 175 | return $self->caller->do_call($self, $call_object); | ||
| 176 | } | ||
| 177 | sub GetInsightResults { | ||
| 178 | my $self = shift; | ||
| 179 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::GetInsightResults', @_); | ||
| 180 | return $self->caller->do_call($self, $call_object); | ||
| 181 | } | ||
| 182 | sub GetInsights { | ||
| 183 | my $self = shift; | ||
| 184 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::GetInsights', @_); | ||
| 185 | return $self->caller->do_call($self, $call_object); | ||
| 186 | } | ||
| 187 | sub GetInvitationsCount { | ||
| 188 | my $self = shift; | ||
| 189 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::GetInvitationsCount', @_); | ||
| 190 | return $self->caller->do_call($self, $call_object); | ||
| 191 | } | ||
| 192 | sub GetMasterAccount { | ||
| 193 | my $self = shift; | ||
| 194 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::GetMasterAccount', @_); | ||
| 195 | return $self->caller->do_call($self, $call_object); | ||
| 196 | } | ||
| 197 | sub GetMembers { | ||
| 198 | my $self = shift; | ||
| 199 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::GetMembers', @_); | ||
| 200 | return $self->caller->do_call($self, $call_object); | ||
| 201 | } | ||
| 202 | sub InviteMembers { | ||
| 203 | my $self = shift; | ||
| 204 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::InviteMembers', @_); | ||
| 205 | return $self->caller->do_call($self, $call_object); | ||
| 206 | } | ||
| 207 | sub ListEnabledProductsForImport { | ||
| 208 | my $self = shift; | ||
| 209 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::ListEnabledProductsForImport', @_); | ||
| 210 | return $self->caller->do_call($self, $call_object); | ||
| 211 | } | ||
| 212 | sub ListInvitations { | ||
| 213 | my $self = shift; | ||
| 214 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::ListInvitations', @_); | ||
| 215 | return $self->caller->do_call($self, $call_object); | ||
| 216 | } | ||
| 217 | sub ListMembers { | ||
| 218 | my $self = shift; | ||
| 219 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::ListMembers', @_); | ||
| 220 | return $self->caller->do_call($self, $call_object); | ||
| 221 | } | ||
| 222 | sub ListOrganizationAdminAccounts { | ||
| 223 | my $self = shift; | ||
| 224 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::ListOrganizationAdminAccounts', @_); | ||
| 225 | return $self->caller->do_call($self, $call_object); | ||
| 226 | } | ||
| 227 | sub ListTagsForResource { | ||
| 228 | my $self = shift; | ||
| 229 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::ListTagsForResource', @_); | ||
| 230 | return $self->caller->do_call($self, $call_object); | ||
| 231 | } | ||
| 232 | sub TagResource { | ||
| 233 | my $self = shift; | ||
| 234 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::TagResource', @_); | ||
| 235 | return $self->caller->do_call($self, $call_object); | ||
| 236 | } | ||
| 237 | sub UntagResource { | ||
| 238 | my $self = shift; | ||
| 239 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::UntagResource', @_); | ||
| 240 | return $self->caller->do_call($self, $call_object); | ||
| 241 | } | ||
| 242 | sub UpdateActionTarget { | ||
| 243 | my $self = shift; | ||
| 244 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::UpdateActionTarget', @_); | ||
| 245 | return $self->caller->do_call($self, $call_object); | ||
| 246 | } | ||
| 247 | sub UpdateFindings { | ||
| 248 | my $self = shift; | ||
| 249 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::UpdateFindings', @_); | ||
| 250 | return $self->caller->do_call($self, $call_object); | ||
| 251 | } | ||
| 252 | sub UpdateInsight { | ||
| 253 | my $self = shift; | ||
| 254 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::UpdateInsight', @_); | ||
| 255 | return $self->caller->do_call($self, $call_object); | ||
| 256 | } | ||
| 257 | sub UpdateOrganizationConfiguration { | ||
| 258 | my $self = shift; | ||
| 259 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::UpdateOrganizationConfiguration', @_); | ||
| 260 | return $self->caller->do_call($self, $call_object); | ||
| 261 | } | ||
| 262 | sub UpdateSecurityHubConfiguration { | ||
| 263 | my $self = shift; | ||
| 264 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::UpdateSecurityHubConfiguration', @_); | ||
| 265 | return $self->caller->do_call($self, $call_object); | ||
| 266 | } | ||
| 267 | sub UpdateStandardsControl { | ||
| 268 | my $self = shift; | ||
| 269 | my $call_object = $self->new_with_coercions('Paws::SecurityHub::UpdateStandardsControl', @_); | ||
| 270 | return $self->caller->do_call($self, $call_object); | ||
| 271 | } | ||
| 272 | |||
| 273 | sub GetAllEnabledStandards { | ||
| 274 | my $self = shift; | ||
| 275 | |||
| 276 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 277 | my $result = $self->GetEnabledStandards(@_); | ||
| 278 | my $next_result = $result; | ||
| 279 | |||
| 280 | if (not defined $callback) { | ||
| 281 | while ($next_result->NextToken) { | ||
| 282 | $next_result = $self->GetEnabledStandards(@_, NextToken => $next_result->NextToken); | ||
| 283 | push @{ $result->StandardsSubscriptions }, @{ $next_result->StandardsSubscriptions }; | ||
| 284 | } | ||
| 285 | return $result; | ||
| 286 | } else { | ||
| 287 | while ($result->NextToken) { | ||
| 288 | $callback->($_ => 'StandardsSubscriptions') foreach (@{ $result->StandardsSubscriptions }); | ||
| 289 | $result = $self->GetEnabledStandards(@_, NextToken => $result->NextToken); | ||
| 290 | } | ||
| 291 | $callback->($_ => 'StandardsSubscriptions') foreach (@{ $result->StandardsSubscriptions }); | ||
| 292 | } | ||
| 293 | |||
| 294 | return undef | ||
| 295 | } | ||
| 296 | sub GetAllFindings { | ||
| 297 | my $self = shift; | ||
| 298 | |||
| 299 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 300 | my $result = $self->GetFindings(@_); | ||
| 301 | my $next_result = $result; | ||
| 302 | |||
| 303 | if (not defined $callback) { | ||
| 304 | while ($next_result->NextToken) { | ||
| 305 | $next_result = $self->GetFindings(@_, NextToken => $next_result->NextToken); | ||
| 306 | push @{ $result->Findings }, @{ $next_result->Findings }; | ||
| 307 | } | ||
| 308 | return $result; | ||
| 309 | } else { | ||
| 310 | while ($result->NextToken) { | ||
| 311 | $callback->($_ => 'Findings') foreach (@{ $result->Findings }); | ||
| 312 | $result = $self->GetFindings(@_, NextToken => $result->NextToken); | ||
| 313 | } | ||
| 314 | $callback->($_ => 'Findings') foreach (@{ $result->Findings }); | ||
| 315 | } | ||
| 316 | |||
| 317 | return undef | ||
| 318 | } | ||
| 319 | sub GetAllInsights { | ||
| 320 | my $self = shift; | ||
| 321 | |||
| 322 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 323 | my $result = $self->GetInsights(@_); | ||
| 324 | my $next_result = $result; | ||
| 325 | |||
| 326 | if (not defined $callback) { | ||
| 327 | while ($next_result->NextToken) { | ||
| 328 | $next_result = $self->GetInsights(@_, NextToken => $next_result->NextToken); | ||
| 329 | push @{ $result->Insights }, @{ $next_result->Insights }; | ||
| 330 | } | ||
| 331 | return $result; | ||
| 332 | } else { | ||
| 333 | while ($result->NextToken) { | ||
| 334 | $callback->($_ => 'Insights') foreach (@{ $result->Insights }); | ||
| 335 | $result = $self->GetInsights(@_, NextToken => $result->NextToken); | ||
| 336 | } | ||
| 337 | $callback->($_ => 'Insights') foreach (@{ $result->Insights }); | ||
| 338 | } | ||
| 339 | |||
| 340 | return undef | ||
| 341 | } | ||
| 342 | sub ListAllEnabledProductsForImport { | ||
| 343 | my $self = shift; | ||
| 344 | |||
| 345 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 346 | my $result = $self->ListEnabledProductsForImport(@_); | ||
| 347 | my $next_result = $result; | ||
| 348 | |||
| 349 | if (not defined $callback) { | ||
| 350 | while ($next_result->NextToken) { | ||
| 351 | $next_result = $self->ListEnabledProductsForImport(@_, NextToken => $next_result->NextToken); | ||
| 352 | push @{ $result->ProductSubscriptions }, @{ $next_result->ProductSubscriptions }; | ||
| 353 | } | ||
| 354 | return $result; | ||
| 355 | } else { | ||
| 356 | while ($result->NextToken) { | ||
| 357 | $callback->($_ => 'ProductSubscriptions') foreach (@{ $result->ProductSubscriptions }); | ||
| 358 | $result = $self->ListEnabledProductsForImport(@_, NextToken => $result->NextToken); | ||
| 359 | } | ||
| 360 | $callback->($_ => 'ProductSubscriptions') foreach (@{ $result->ProductSubscriptions }); | ||
| 361 | } | ||
| 362 | |||
| 363 | return undef | ||
| 364 | } | ||
| 365 | sub ListAllInvitations { | ||
| 366 | my $self = shift; | ||
| 367 | |||
| 368 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 369 | my $result = $self->ListInvitations(@_); | ||
| 370 | my $next_result = $result; | ||
| 371 | |||
| 372 | if (not defined $callback) { | ||
| 373 | while ($next_result->NextToken) { | ||
| 374 | $next_result = $self->ListInvitations(@_, NextToken => $next_result->NextToken); | ||
| 375 | push @{ $result->Invitations }, @{ $next_result->Invitations }; | ||
| 376 | } | ||
| 377 | return $result; | ||
| 378 | } else { | ||
| 379 | while ($result->NextToken) { | ||
| 380 | $callback->($_ => 'Invitations') foreach (@{ $result->Invitations }); | ||
| 381 | $result = $self->ListInvitations(@_, NextToken => $result->NextToken); | ||
| 382 | } | ||
| 383 | $callback->($_ => 'Invitations') foreach (@{ $result->Invitations }); | ||
| 384 | } | ||
| 385 | |||
| 386 | return undef | ||
| 387 | } | ||
| 388 | sub ListAllMembers { | ||
| 389 | my $self = shift; | ||
| 390 | |||
| 391 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 392 | my $result = $self->ListMembers(@_); | ||
| 393 | my $next_result = $result; | ||
| 394 | |||
| 395 | if (not defined $callback) { | ||
| 396 | while ($next_result->NextToken) { | ||
| 397 | $next_result = $self->ListMembers(@_, NextToken => $next_result->NextToken); | ||
| 398 | push @{ $result->Members }, @{ $next_result->Members }; | ||
| 399 | } | ||
| 400 | return $result; | ||
| 401 | } else { | ||
| 402 | while ($result->NextToken) { | ||
| 403 | $callback->($_ => 'Members') foreach (@{ $result->Members }); | ||
| 404 | $result = $self->ListMembers(@_, NextToken => $result->NextToken); | ||
| 405 | } | ||
| 406 | $callback->($_ => 'Members') foreach (@{ $result->Members }); | ||
| 407 | } | ||
| 408 | |||
| 409 | return undef | ||
| 410 | } | ||
| 411 | |||
| 412 | |||
| 413 | sub operations { qw/AcceptAdministratorInvitation AcceptInvitation BatchDisableStandards BatchEnableStandards BatchImportFindings BatchUpdateFindings CreateActionTarget CreateInsight CreateMembers DeclineInvitations DeleteActionTarget DeleteInsight DeleteInvitations DeleteMembers DescribeActionTargets DescribeHub DescribeOrganizationConfiguration DescribeProducts DescribeStandards DescribeStandardsControls DisableImportFindingsForProduct DisableOrganizationAdminAccount DisableSecurityHub DisassociateFromAdministratorAccount DisassociateFromMasterAccount DisassociateMembers EnableImportFindingsForProduct EnableOrganizationAdminAccount EnableSecurityHub GetAdministratorAccount GetEnabledStandards GetFindings GetInsightResults GetInsights GetInvitationsCount GetMasterAccount GetMembers InviteMembers ListEnabledProductsForImport ListInvitations ListMembers ListOrganizationAdminAccounts ListTagsForResource TagResource UntagResource UpdateActionTarget UpdateFindings UpdateInsight UpdateOrganizationConfiguration UpdateSecurityHubConfiguration UpdateStandardsControl / } | ||
| 414 | |||
| 415 | 1; | ||
| 416 | |||
| 417 | ### main pod documentation begin ### | ||
| 418 | |||
| 419 | =head1 NAME | ||
| 420 | |||
| 421 | Paws::SecurityHub - Perl Interface to AWS AWS SecurityHub | ||
| 422 | |||
| 423 | =head1 SYNOPSIS | ||
| 424 | |||
| 425 | use Paws; | ||
| 426 | |||
| 427 | my $obj = Paws->service('SecurityHub'); | ||
| 428 | my $res = $obj->Method( | ||
| 429 | Arg1 => $val1, | ||
| 430 | Arg2 => [ 'V1', 'V2' ], | ||
| 431 | # if Arg3 is an object, the HashRef will be used as arguments to the constructor | ||
| 432 | # of the arguments type | ||
| 433 | Arg3 => { Att1 => 'Val1' }, | ||
| 434 | # if Arg4 is an array of objects, the HashRefs will be passed as arguments to | ||
| 435 | # the constructor of the arguments type | ||
| 436 | Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], | ||
| 437 | ); | ||
| 438 | |||
| 439 | =head1 DESCRIPTION | ||
| 440 | |||
| 441 | Security Hub provides you with a comprehensive view of the security | ||
| 442 | state of your AWS environment and resources. It also provides you with | ||
| 443 | the readiness status of your environment based on controls from | ||
| 444 | supported security standards. Security Hub collects security data from | ||
| 445 | AWS accounts, services, and integrated third-party products and helps | ||
| 446 | you analyze security trends in your environment to identify the highest | ||
| 447 | priority security issues. For more information about Security Hub, see | ||
| 448 | the I< AWS Security Hub User Guide | ||
| 449 | (https://docs.aws.amazon.com/securityhub/latest/userguide/what-is-securityhub.html) | ||
| 450 | >. | ||
| 451 | |||
| 452 | When you use operations in the Security Hub API, the requests are | ||
| 453 | executed only in the AWS Region that is currently active or in the | ||
| 454 | specific AWS Region that you specify in your request. Any configuration | ||
| 455 | or settings change that results from the operation is applied only to | ||
| 456 | that Region. To make the same change in other Regions, execute the same | ||
| 457 | command for each Region to apply the change to. | ||
| 458 | |||
| 459 | For example, if your Region is set to C<us-west-2>, when you use C< | ||
| 460 | CreateMembers > to add a member account to Security Hub, the | ||
| 461 | association of the member account with the administrator account is | ||
| 462 | created only in the C<us-west-2> Region. Security Hub must be enabled | ||
| 463 | for the member account in the same Region that the invitation was sent | ||
| 464 | from. | ||
| 465 | |||
| 466 | The following throttling limits apply to using Security Hub API | ||
| 467 | operations. | ||
| 468 | |||
| 469 | =over | ||
| 470 | |||
| 471 | =item * | ||
| 472 | |||
| 473 | C<BatchEnableStandards > - C<RateLimit> of 1 request per second, | ||
| 474 | C<BurstLimit> of 1 request per second. | ||
| 475 | |||
| 476 | =item * | ||
| 477 | |||
| 478 | C<GetFindings > - C<RateLimit> of 3 requests per second. C<BurstLimit> | ||
| 479 | of 6 requests per second. | ||
| 480 | |||
| 481 | =item * | ||
| 482 | |||
| 483 | C<UpdateFindings > - C<RateLimit> of 1 request per second. | ||
| 484 | C<BurstLimit> of 5 requests per second. | ||
| 485 | |||
| 486 | =item * | ||
| 487 | |||
| 488 | C<UpdateStandardsControl > - C<RateLimit> of 1 request per second, | ||
| 489 | C<BurstLimit> of 5 requests per second. | ||
| 490 | |||
| 491 | =item * | ||
| 492 | |||
| 493 | All other operations - C<RateLimit> of 10 requests per second. | ||
| 494 | C<BurstLimit> of 30 requests per second. | ||
| 495 | |||
| 496 | =back | ||
| 497 | |||
| 498 | |||
| 499 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26> | ||
| 500 | |||
| 501 | |||
| 502 | =head1 METHODS | ||
| 503 | |||
| 504 | =head2 AcceptAdministratorInvitation | ||
| 505 | |||
| 506 | =over | ||
| 507 | |||
| 508 | =item AdministratorId => Str | ||
| 509 | |||
| 510 | =item InvitationId => Str | ||
| 511 | |||
| 512 | |||
| 513 | =back | ||
| 514 | |||
| 515 | Each argument is described in detail in: L<Paws::SecurityHub::AcceptAdministratorInvitation> | ||
| 516 | |||
| 517 | Returns: a L<Paws::SecurityHub::AcceptAdministratorInvitationResponse> instance | ||
| 518 | |||
| 519 | Accepts the invitation to be a member account and be monitored by the | ||
| 520 | Security Hub administrator account that the invitation was sent from. | ||
| 521 | |||
| 522 | This operation is only used by member accounts that are not added | ||
| 523 | through Organizations. | ||
| 524 | |||
| 525 | When the member account accepts the invitation, permission is granted | ||
| 526 | to the administrator account to view findings generated in the member | ||
| 527 | account. | ||
| 528 | |||
| 529 | |||
| 530 | =head2 AcceptInvitation | ||
| 531 | |||
| 532 | =over | ||
| 533 | |||
| 534 | =item InvitationId => Str | ||
| 535 | |||
| 536 | =item MasterId => Str | ||
| 537 | |||
| 538 | |||
| 539 | =back | ||
| 540 | |||
| 541 | Each argument is described in detail in: L<Paws::SecurityHub::AcceptInvitation> | ||
| 542 | |||
| 543 | Returns: a L<Paws::SecurityHub::AcceptInvitationResponse> instance | ||
| 544 | |||
| 545 | This method is deprecated. Instead, use | ||
| 546 | C<AcceptAdministratorInvitation>. | ||
| 547 | |||
| 548 | The Security Hub console continues to use C<AcceptInvitation>. It will | ||
| 549 | eventually change to use C<AcceptAdministratorInvitation>. Any IAM | ||
| 550 | policies that specifically control access to this function must | ||
| 551 | continue to use C<AcceptInvitation>. You should also add | ||
| 552 | C<AcceptAdministratorInvitation> to your policies to ensure that the | ||
| 553 | correct permissions are in place after the console begins to use | ||
| 554 | C<AcceptAdministratorInvitation>. | ||
| 555 | |||
| 556 | Accepts the invitation to be a member account and be monitored by the | ||
| 557 | Security Hub administrator account that the invitation was sent from. | ||
| 558 | |||
| 559 | This operation is only used by member accounts that are not added | ||
| 560 | through Organizations. | ||
| 561 | |||
| 562 | When the member account accepts the invitation, permission is granted | ||
| 563 | to the administrator account to view findings generated in the member | ||
| 564 | account. | ||
| 565 | |||
| 566 | |||
| 567 | =head2 BatchDisableStandards | ||
| 568 | |||
| 569 | =over | ||
| 570 | |||
| 571 | =item StandardsSubscriptionArns => ArrayRef[Str|Undef] | ||
| 572 | |||
| 573 | |||
| 574 | =back | ||
| 575 | |||
| 576 | Each argument is described in detail in: L<Paws::SecurityHub::BatchDisableStandards> | ||
| 577 | |||
| 578 | Returns: a L<Paws::SecurityHub::BatchDisableStandardsResponse> instance | ||
| 579 | |||
| 580 | Disables the standards specified by the provided | ||
| 581 | C<StandardsSubscriptionArns>. | ||
| 582 | |||
| 583 | For more information, see Security Standards | ||
| 584 | (https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards.html) | ||
| 585 | section of the I<AWS Security Hub User Guide>. | ||
| 586 | |||
| 587 | |||
| 588 | =head2 BatchEnableStandards | ||
| 589 | |||
| 590 | =over | ||
| 591 | |||
| 592 | =item StandardsSubscriptionRequests => ArrayRef[L<Paws::SecurityHub::StandardsSubscriptionRequest>] | ||
| 593 | |||
| 594 | |||
| 595 | =back | ||
| 596 | |||
| 597 | Each argument is described in detail in: L<Paws::SecurityHub::BatchEnableStandards> | ||
| 598 | |||
| 599 | Returns: a L<Paws::SecurityHub::BatchEnableStandardsResponse> instance | ||
| 600 | |||
| 601 | Enables the standards specified by the provided C<StandardsArn>. To | ||
| 602 | obtain the ARN for a standard, use the C< DescribeStandards > | ||
| 603 | operation. | ||
| 604 | |||
| 605 | For more information, see the Security Standards | ||
| 606 | (https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards.html) | ||
| 607 | section of the I<AWS Security Hub User Guide>. | ||
| 608 | |||
| 609 | |||
| 610 | =head2 BatchImportFindings | ||
| 611 | |||
| 612 | =over | ||
| 613 | |||
| 614 | =item Findings => ArrayRef[L<Paws::SecurityHub::AwsSecurityFinding>] | ||
| 615 | |||
| 616 | |||
| 617 | =back | ||
| 618 | |||
| 619 | Each argument is described in detail in: L<Paws::SecurityHub::BatchImportFindings> | ||
| 620 | |||
| 621 | Returns: a L<Paws::SecurityHub::BatchImportFindingsResponse> instance | ||
| 622 | |||
| 623 | Imports security findings generated from an integrated product into | ||
| 624 | Security Hub. This action is requested by the integrated product to | ||
| 625 | import its findings into Security Hub. | ||
| 626 | |||
| 627 | The maximum allowed size for a finding is 240 Kb. An error is returned | ||
| 628 | for any finding larger than 240 Kb. | ||
| 629 | |||
| 630 | After a finding is created, C<BatchImportFindings> cannot be used to | ||
| 631 | update the following finding fields and objects, which Security Hub | ||
| 632 | customers use to manage their investigation workflow. | ||
| 633 | |||
| 634 | =over | ||
| 635 | |||
| 636 | =item * | ||
| 637 | |||
| 638 | C<Note> | ||
| 639 | |||
| 640 | =item * | ||
| 641 | |||
| 642 | C<UserDefinedFields> | ||
| 643 | |||
| 644 | =item * | ||
| 645 | |||
| 646 | C<VerificationState> | ||
| 647 | |||
| 648 | =item * | ||
| 649 | |||
| 650 | C<Workflow> | ||
| 651 | |||
| 652 | =back | ||
| 653 | |||
| 654 | Finding providers also should not use C<BatchImportFindings> to update | ||
| 655 | the following attributes. | ||
| 656 | |||
| 657 | =over | ||
| 658 | |||
| 659 | =item * | ||
| 660 | |||
| 661 | C<Confidence> | ||
| 662 | |||
| 663 | =item * | ||
| 664 | |||
| 665 | C<Criticality> | ||
| 666 | |||
| 667 | =item * | ||
| 668 | |||
| 669 | C<RelatedFindings> | ||
| 670 | |||
| 671 | =item * | ||
| 672 | |||
| 673 | C<Severity> | ||
| 674 | |||
| 675 | =item * | ||
| 676 | |||
| 677 | C<Types> | ||
| 678 | |||
| 679 | =back | ||
| 680 | |||
| 681 | Instead, finding providers use C<FindingProviderFields> to provide | ||
| 682 | values for these attributes. | ||
| 683 | |||
| 684 | |||
| 685 | =head2 BatchUpdateFindings | ||
| 686 | |||
| 687 | =over | ||
| 688 | |||
| 689 | =item FindingIdentifiers => ArrayRef[L<Paws::SecurityHub::AwsSecurityFindingIdentifier>] | ||
| 690 | |||
| 691 | =item [Confidence => Int] | ||
| 692 | |||
| 693 | =item [Criticality => Int] | ||
| 694 | |||
| 695 | =item [Note => L<Paws::SecurityHub::NoteUpdate>] | ||
| 696 | |||
| 697 | =item [RelatedFindings => ArrayRef[L<Paws::SecurityHub::RelatedFinding>]] | ||
| 698 | |||
| 699 | =item [Severity => L<Paws::SecurityHub::SeverityUpdate>] | ||
| 700 | |||
| 701 | =item [Types => ArrayRef[Str|Undef]] | ||
| 702 | |||
| 703 | =item [UserDefinedFields => L<Paws::SecurityHub::FieldMap>] | ||
| 704 | |||
| 705 | =item [VerificationState => Str] | ||
| 706 | |||
| 707 | =item [Workflow => L<Paws::SecurityHub::WorkflowUpdate>] | ||
| 708 | |||
| 709 | |||
| 710 | =back | ||
| 711 | |||
| 712 | Each argument is described in detail in: L<Paws::SecurityHub::BatchUpdateFindings> | ||
| 713 | |||
| 714 | Returns: a L<Paws::SecurityHub::BatchUpdateFindingsResponse> instance | ||
| 715 | |||
| 716 | Used by Security Hub customers to update information about their | ||
| 717 | investigation into a finding. Requested by administrator accounts or | ||
| 718 | member accounts. Administrator accounts can update findings for their | ||
| 719 | account and their member accounts. Member accounts can update findings | ||
| 720 | for their account. | ||
| 721 | |||
| 722 | Updates from C<BatchUpdateFindings> do not affect the value of | ||
| 723 | C<UpdatedAt> for a finding. | ||
| 724 | |||
| 725 | Administrator and member accounts can use C<BatchUpdateFindings> to | ||
| 726 | update the following finding fields and objects. | ||
| 727 | |||
| 728 | =over | ||
| 729 | |||
| 730 | =item * | ||
| 731 | |||
| 732 | C<Confidence> | ||
| 733 | |||
| 734 | =item * | ||
| 735 | |||
| 736 | C<Criticality> | ||
| 737 | |||
| 738 | =item * | ||
| 739 | |||
| 740 | C<Note> | ||
| 741 | |||
| 742 | =item * | ||
| 743 | |||
| 744 | C<RelatedFindings> | ||
| 745 | |||
| 746 | =item * | ||
| 747 | |||
| 748 | C<Severity> | ||
| 749 | |||
| 750 | =item * | ||
| 751 | |||
| 752 | C<Types> | ||
| 753 | |||
| 754 | =item * | ||
| 755 | |||
| 756 | C<UserDefinedFields> | ||
| 757 | |||
| 758 | =item * | ||
| 759 | |||
| 760 | C<VerificationState> | ||
| 761 | |||
| 762 | =item * | ||
| 763 | |||
| 764 | C<Workflow> | ||
| 765 | |||
| 766 | =back | ||
| 767 | |||
| 768 | You can configure IAM policies to restrict access to fields and field | ||
| 769 | values. For example, you might not want member accounts to be able to | ||
| 770 | suppress findings or change the finding severity. See Configuring | ||
| 771 | access to BatchUpdateFindings | ||
| 772 | (https://docs.aws.amazon.com/securityhub/latest/userguide/finding-update-batchupdatefindings.html#batchupdatefindings-configure-access) | ||
| 773 | in the I<AWS Security Hub User Guide>. | ||
| 774 | |||
| 775 | |||
| 776 | =head2 CreateActionTarget | ||
| 777 | |||
| 778 | =over | ||
| 779 | |||
| 780 | =item Description => Str | ||
| 781 | |||
| 782 | =item Id => Str | ||
| 783 | |||
| 784 | =item Name => Str | ||
| 785 | |||
| 786 | |||
| 787 | =back | ||
| 788 | |||
| 789 | Each argument is described in detail in: L<Paws::SecurityHub::CreateActionTarget> | ||
| 790 | |||
| 791 | Returns: a L<Paws::SecurityHub::CreateActionTargetResponse> instance | ||
| 792 | |||
| 793 | Creates a custom action target in Security Hub. | ||
| 794 | |||
| 795 | You can use custom actions on findings and insights in Security Hub to | ||
| 796 | trigger target actions in Amazon CloudWatch Events. | ||
| 797 | |||
| 798 | |||
| 799 | =head2 CreateInsight | ||
| 800 | |||
| 801 | =over | ||
| 802 | |||
| 803 | =item Filters => L<Paws::SecurityHub::AwsSecurityFindingFilters> | ||
| 804 | |||
| 805 | =item GroupByAttribute => Str | ||
| 806 | |||
| 807 | =item Name => Str | ||
| 808 | |||
| 809 | |||
| 810 | =back | ||
| 811 | |||
| 812 | Each argument is described in detail in: L<Paws::SecurityHub::CreateInsight> | ||
| 813 | |||
| 814 | Returns: a L<Paws::SecurityHub::CreateInsightResponse> instance | ||
| 815 | |||
| 816 | Creates a custom insight in Security Hub. An insight is a consolidation | ||
| 817 | of findings that relate to a security issue that requires attention or | ||
| 818 | remediation. | ||
| 819 | |||
| 820 | To group the related findings in the insight, use the | ||
| 821 | C<GroupByAttribute>. | ||
| 822 | |||
| 823 | |||
| 824 | =head2 CreateMembers | ||
| 825 | |||
| 826 | =over | ||
| 827 | |||
| 828 | =item AccountDetails => ArrayRef[L<Paws::SecurityHub::AccountDetails>] | ||
| 829 | |||
| 830 | |||
| 831 | =back | ||
| 832 | |||
| 833 | Each argument is described in detail in: L<Paws::SecurityHub::CreateMembers> | ||
| 834 | |||
| 835 | Returns: a L<Paws::SecurityHub::CreateMembersResponse> instance | ||
| 836 | |||
| 837 | Creates a member association in Security Hub between the specified | ||
| 838 | accounts and the account used to make the request, which is the | ||
| 839 | administrator account. If you are integrated with Organizations, then | ||
| 840 | the administrator account is designated by the organization management | ||
| 841 | account. | ||
| 842 | |||
| 843 | C<CreateMembers> is always used to add accounts that are not | ||
| 844 | organization members. | ||
| 845 | |||
| 846 | For accounts that are part of an organization, C<CreateMembers> is only | ||
| 847 | used in the following cases: | ||
| 848 | |||
| 849 | =over | ||
| 850 | |||
| 851 | =item * | ||
| 852 | |||
| 853 | Security Hub is not configured to automatically add new accounts in an | ||
| 854 | organization. | ||
| 855 | |||
| 856 | =item * | ||
| 857 | |||
| 858 | The account was disassociated or deleted in Security Hub. | ||
| 859 | |||
| 860 | =back | ||
| 861 | |||
| 862 | This action can only be used by an account that has Security Hub | ||
| 863 | enabled. To enable Security Hub, you can use the C< EnableSecurityHub > | ||
| 864 | operation. | ||
| 865 | |||
| 866 | For accounts that are not organization members, you create the account | ||
| 867 | association and then send an invitation to the member account. To send | ||
| 868 | the invitation, you use the C< InviteMembers > operation. If the | ||
| 869 | account owner accepts the invitation, the account becomes a member | ||
| 870 | account in Security Hub. | ||
| 871 | |||
| 872 | Accounts that are part of an organization do not receive an invitation. | ||
| 873 | They automatically become a member account in Security Hub. | ||
| 874 | |||
| 875 | A permissions policy is added that permits the administrator account to | ||
| 876 | view the findings generated in the member account. When Security Hub is | ||
| 877 | enabled in a member account, the member account findings are also | ||
| 878 | visible to the administrator account. | ||
| 879 | |||
| 880 | To remove the association between the administrator and member | ||
| 881 | accounts, use the C< DisassociateFromMasterAccount > or C< | ||
| 882 | DisassociateMembers > operation. | ||
| 883 | |||
| 884 | |||
| 885 | =head2 DeclineInvitations | ||
| 886 | |||
| 887 | =over | ||
| 888 | |||
| 889 | =item AccountIds => ArrayRef[Str|Undef] | ||
| 890 | |||
| 891 | |||
| 892 | =back | ||
| 893 | |||
| 894 | Each argument is described in detail in: L<Paws::SecurityHub::DeclineInvitations> | ||
| 895 | |||
| 896 | Returns: a L<Paws::SecurityHub::DeclineInvitationsResponse> instance | ||
| 897 | |||
| 898 | Declines invitations to become a member account. | ||
| 899 | |||
| 900 | This operation is only used by accounts that are not part of an | ||
| 901 | organization. Organization accounts do not receive invitations. | ||
| 902 | |||
| 903 | |||
| 904 | =head2 DeleteActionTarget | ||
| 905 | |||
| 906 | =over | ||
| 907 | |||
| 908 | =item ActionTargetArn => Str | ||
| 909 | |||
| 910 | |||
| 911 | =back | ||
| 912 | |||
| 913 | Each argument is described in detail in: L<Paws::SecurityHub::DeleteActionTarget> | ||
| 914 | |||
| 915 | Returns: a L<Paws::SecurityHub::DeleteActionTargetResponse> instance | ||
| 916 | |||
| 917 | Deletes a custom action target from Security Hub. | ||
| 918 | |||
| 919 | Deleting a custom action target does not affect any findings or | ||
| 920 | insights that were already sent to Amazon CloudWatch Events using the | ||
| 921 | custom action. | ||
| 922 | |||
| 923 | |||
| 924 | =head2 DeleteInsight | ||
| 925 | |||
| 926 | =over | ||
| 927 | |||
| 928 | =item InsightArn => Str | ||
| 929 | |||
| 930 | |||
| 931 | =back | ||
| 932 | |||
| 933 | Each argument is described in detail in: L<Paws::SecurityHub::DeleteInsight> | ||
| 934 | |||
| 935 | Returns: a L<Paws::SecurityHub::DeleteInsightResponse> instance | ||
| 936 | |||
| 937 | Deletes the insight specified by the C<InsightArn>. | ||
| 938 | |||
| 939 | |||
| 940 | =head2 DeleteInvitations | ||
| 941 | |||
| 942 | =over | ||
| 943 | |||
| 944 | =item AccountIds => ArrayRef[Str|Undef] | ||
| 945 | |||
| 946 | |||
| 947 | =back | ||
| 948 | |||
| 949 | Each argument is described in detail in: L<Paws::SecurityHub::DeleteInvitations> | ||
| 950 | |||
| 951 | Returns: a L<Paws::SecurityHub::DeleteInvitationsResponse> instance | ||
| 952 | |||
| 953 | Deletes invitations received by the AWS account to become a member | ||
| 954 | account. | ||
| 955 | |||
| 956 | This operation is only used by accounts that are not part of an | ||
| 957 | organization. Organization accounts do not receive invitations. | ||
| 958 | |||
| 959 | |||
| 960 | =head2 DeleteMembers | ||
| 961 | |||
| 962 | =over | ||
| 963 | |||
| 964 | =item AccountIds => ArrayRef[Str|Undef] | ||
| 965 | |||
| 966 | |||
| 967 | =back | ||
| 968 | |||
| 969 | Each argument is described in detail in: L<Paws::SecurityHub::DeleteMembers> | ||
| 970 | |||
| 971 | Returns: a L<Paws::SecurityHub::DeleteMembersResponse> instance | ||
| 972 | |||
| 973 | Deletes the specified member accounts from Security Hub. | ||
| 974 | |||
| 975 | Can be used to delete member accounts that belong to an organization as | ||
| 976 | well as member accounts that were invited manually. | ||
| 977 | |||
| 978 | |||
| 979 | =head2 DescribeActionTargets | ||
| 980 | |||
| 981 | =over | ||
| 982 | |||
| 983 | =item [ActionTargetArns => ArrayRef[Str|Undef]] | ||
| 984 | |||
| 985 | =item [MaxResults => Int] | ||
| 986 | |||
| 987 | =item [NextToken => Str] | ||
| 988 | |||
| 989 | |||
| 990 | =back | ||
| 991 | |||
| 992 | Each argument is described in detail in: L<Paws::SecurityHub::DescribeActionTargets> | ||
| 993 | |||
| 994 | Returns: a L<Paws::SecurityHub::DescribeActionTargetsResponse> instance | ||
| 995 | |||
| 996 | Returns a list of the custom action targets in Security Hub in your | ||
| 997 | account. | ||
| 998 | |||
| 999 | |||
| 1000 | =head2 DescribeHub | ||
| 1001 | |||
| 1002 | =over | ||
| 1003 | |||
| 1004 | =item [HubArn => Str] | ||
| 1005 | |||
| 1006 | |||
| 1007 | =back | ||
| 1008 | |||
| 1009 | Each argument is described in detail in: L<Paws::SecurityHub::DescribeHub> | ||
| 1010 | |||
| 1011 | Returns: a L<Paws::SecurityHub::DescribeHubResponse> instance | ||
| 1012 | |||
| 1013 | Returns details about the Hub resource in your account, including the | ||
| 1014 | C<HubArn> and the time when you enabled Security Hub. | ||
| 1015 | |||
| 1016 | |||
| 1017 | =head2 DescribeOrganizationConfiguration | ||
| 1018 | |||
| 1019 | |||
| 1020 | |||
| 1021 | |||
| 1022 | |||
| 1023 | |||
| 1024 | Each argument is described in detail in: L<Paws::SecurityHub::DescribeOrganizationConfiguration> | ||
| 1025 | |||
| 1026 | Returns: a L<Paws::SecurityHub::DescribeOrganizationConfigurationResponse> instance | ||
| 1027 | |||
| 1028 | Returns information about the Organizations configuration for Security | ||
| 1029 | Hub. Can only be called from a Security Hub administrator account. | ||
| 1030 | |||
| 1031 | |||
| 1032 | =head2 DescribeProducts | ||
| 1033 | |||
| 1034 | =over | ||
| 1035 | |||
| 1036 | =item [MaxResults => Int] | ||
| 1037 | |||
| 1038 | =item [NextToken => Str] | ||
| 1039 | |||
| 1040 | =item [ProductArn => Str] | ||
| 1041 | |||
| 1042 | |||
| 1043 | =back | ||
| 1044 | |||
| 1045 | Each argument is described in detail in: L<Paws::SecurityHub::DescribeProducts> | ||
| 1046 | |||
| 1047 | Returns: a L<Paws::SecurityHub::DescribeProductsResponse> instance | ||
| 1048 | |||
| 1049 | Returns information about product integrations in Security Hub. | ||
| 1050 | |||
| 1051 | You can optionally provide an integration ARN. If you provide an | ||
| 1052 | integration ARN, then the results only include that integration. | ||
| 1053 | |||
| 1054 | If you do not provide an integration ARN, then the results include all | ||
| 1055 | of the available product integrations. | ||
| 1056 | |||
| 1057 | |||
| 1058 | =head2 DescribeStandards | ||
| 1059 | |||
| 1060 | =over | ||
| 1061 | |||
| 1062 | =item [MaxResults => Int] | ||
| 1063 | |||
| 1064 | =item [NextToken => Str] | ||
| 1065 | |||
| 1066 | |||
| 1067 | =back | ||
| 1068 | |||
| 1069 | Each argument is described in detail in: L<Paws::SecurityHub::DescribeStandards> | ||
| 1070 | |||
| 1071 | Returns: a L<Paws::SecurityHub::DescribeStandardsResponse> instance | ||
| 1072 | |||
| 1073 | Returns a list of the available standards in Security Hub. | ||
| 1074 | |||
| 1075 | For each standard, the results include the standard ARN, the name, and | ||
| 1076 | a description. | ||
| 1077 | |||
| 1078 | |||
| 1079 | =head2 DescribeStandardsControls | ||
| 1080 | |||
| 1081 | =over | ||
| 1082 | |||
| 1083 | =item StandardsSubscriptionArn => Str | ||
| 1084 | |||
| 1085 | =item [MaxResults => Int] | ||
| 1086 | |||
| 1087 | =item [NextToken => Str] | ||
| 1088 | |||
| 1089 | |||
| 1090 | =back | ||
| 1091 | |||
| 1092 | Each argument is described in detail in: L<Paws::SecurityHub::DescribeStandardsControls> | ||
| 1093 | |||
| 1094 | Returns: a L<Paws::SecurityHub::DescribeStandardsControlsResponse> instance | ||
| 1095 | |||
| 1096 | Returns a list of security standards controls. | ||
| 1097 | |||
| 1098 | For each control, the results include information about whether it is | ||
| 1099 | currently enabled, the severity, and a link to remediation information. | ||
| 1100 | |||
| 1101 | |||
| 1102 | =head2 DisableImportFindingsForProduct | ||
| 1103 | |||
| 1104 | =over | ||
| 1105 | |||
| 1106 | =item ProductSubscriptionArn => Str | ||
| 1107 | |||
| 1108 | |||
| 1109 | =back | ||
| 1110 | |||
| 1111 | Each argument is described in detail in: L<Paws::SecurityHub::DisableImportFindingsForProduct> | ||
| 1112 | |||
| 1113 | Returns: a L<Paws::SecurityHub::DisableImportFindingsForProductResponse> instance | ||
| 1114 | |||
| 1115 | Disables the integration of the specified product with Security Hub. | ||
| 1116 | After the integration is disabled, findings from that product are no | ||
| 1117 | longer sent to Security Hub. | ||
| 1118 | |||
| 1119 | |||
| 1120 | =head2 DisableOrganizationAdminAccount | ||
| 1121 | |||
| 1122 | =over | ||
| 1123 | |||
| 1124 | =item AdminAccountId => Str | ||
| 1125 | |||
| 1126 | |||
| 1127 | =back | ||
| 1128 | |||
| 1129 | Each argument is described in detail in: L<Paws::SecurityHub::DisableOrganizationAdminAccount> | ||
| 1130 | |||
| 1131 | Returns: a L<Paws::SecurityHub::DisableOrganizationAdminAccountResponse> instance | ||
| 1132 | |||
| 1133 | Disables a Security Hub administrator account. Can only be called by | ||
| 1134 | the organization management account. | ||
| 1135 | |||
| 1136 | |||
| 1137 | =head2 DisableSecurityHub | ||
| 1138 | |||
| 1139 | |||
| 1140 | |||
| 1141 | |||
| 1142 | |||
| 1143 | |||
| 1144 | Each argument is described in detail in: L<Paws::SecurityHub::DisableSecurityHub> | ||
| 1145 | |||
| 1146 | Returns: a L<Paws::SecurityHub::DisableSecurityHubResponse> instance | ||
| 1147 | |||
| 1148 | Disables Security Hub in your account only in the current Region. To | ||
| 1149 | disable Security Hub in all Regions, you must submit one request per | ||
| 1150 | Region where you have enabled Security Hub. | ||
| 1151 | |||
| 1152 | When you disable Security Hub for an administrator account, it doesn't | ||
| 1153 | disable Security Hub for any associated member accounts. | ||
| 1154 | |||
| 1155 | When you disable Security Hub, your existing findings and insights and | ||
| 1156 | any Security Hub configuration settings are deleted after 90 days and | ||
| 1157 | cannot be recovered. Any standards that were enabled are disabled, and | ||
| 1158 | your administrator and member account associations are removed. | ||
| 1159 | |||
| 1160 | If you want to save your existing findings, you must export them before | ||
| 1161 | you disable Security Hub. | ||
| 1162 | |||
| 1163 | |||
| 1164 | =head2 DisassociateFromAdministratorAccount | ||
| 1165 | |||
| 1166 | |||
| 1167 | |||
| 1168 | |||
| 1169 | |||
| 1170 | |||
| 1171 | Each argument is described in detail in: L<Paws::SecurityHub::DisassociateFromAdministratorAccount> | ||
| 1172 | |||
| 1173 | Returns: a L<Paws::SecurityHub::DisassociateFromAdministratorAccountResponse> instance | ||
| 1174 | |||
| 1175 | Disassociates the current Security Hub member account from the | ||
| 1176 | associated administrator account. | ||
| 1177 | |||
| 1178 | This operation is only used by accounts that are not part of an | ||
| 1179 | organization. For organization accounts, only the administrator account | ||
| 1180 | can disassociate a member account. | ||
| 1181 | |||
| 1182 | |||
| 1183 | =head2 DisassociateFromMasterAccount | ||
| 1184 | |||
| 1185 | |||
| 1186 | |||
| 1187 | |||
| 1188 | |||
| 1189 | |||
| 1190 | Each argument is described in detail in: L<Paws::SecurityHub::DisassociateFromMasterAccount> | ||
| 1191 | |||
| 1192 | Returns: a L<Paws::SecurityHub::DisassociateFromMasterAccountResponse> instance | ||
| 1193 | |||
| 1194 | This method is deprecated. Instead, use | ||
| 1195 | C<DisassociateFromAdministratorAccount>. | ||
| 1196 | |||
| 1197 | The Security Hub console continues to use | ||
| 1198 | C<DisassociateFromMasterAccount>. It will eventually change to use | ||
| 1199 | C<DisassociateFromAdministratorAccount>. Any IAM policies that | ||
| 1200 | specifically control access to this function must continue to use | ||
| 1201 | C<DisassociateFromMasterAccount>. You should also add | ||
| 1202 | C<DisassociateFromAdministratorAccount> to your policies to ensure that | ||
| 1203 | the correct permissions are in place after the console begins to use | ||
| 1204 | C<DisassociateFromAdministratorAccount>. | ||
| 1205 | |||
| 1206 | Disassociates the current Security Hub member account from the | ||
| 1207 | associated administrator account. | ||
| 1208 | |||
| 1209 | This operation is only used by accounts that are not part of an | ||
| 1210 | organization. For organization accounts, only the administrator account | ||
| 1211 | can disassociate a member account. | ||
| 1212 | |||
| 1213 | |||
| 1214 | =head2 DisassociateMembers | ||
| 1215 | |||
| 1216 | =over | ||
| 1217 | |||
| 1218 | =item AccountIds => ArrayRef[Str|Undef] | ||
| 1219 | |||
| 1220 | |||
| 1221 | =back | ||
| 1222 | |||
| 1223 | Each argument is described in detail in: L<Paws::SecurityHub::DisassociateMembers> | ||
| 1224 | |||
| 1225 | Returns: a L<Paws::SecurityHub::DisassociateMembersResponse> instance | ||
| 1226 | |||
| 1227 | Disassociates the specified member accounts from the associated | ||
| 1228 | administrator account. | ||
| 1229 | |||
| 1230 | Can be used to disassociate both accounts that are managed using | ||
| 1231 | Organizations and accounts that were invited manually. | ||
| 1232 | |||
| 1233 | |||
| 1234 | =head2 EnableImportFindingsForProduct | ||
| 1235 | |||
| 1236 | =over | ||
| 1237 | |||
| 1238 | =item ProductArn => Str | ||
| 1239 | |||
| 1240 | |||
| 1241 | =back | ||
| 1242 | |||
| 1243 | Each argument is described in detail in: L<Paws::SecurityHub::EnableImportFindingsForProduct> | ||
| 1244 | |||
| 1245 | Returns: a L<Paws::SecurityHub::EnableImportFindingsForProductResponse> instance | ||
| 1246 | |||
| 1247 | Enables the integration of a partner product with Security Hub. | ||
| 1248 | Integrated products send findings to Security Hub. | ||
| 1249 | |||
| 1250 | When you enable a product integration, a permissions policy that grants | ||
| 1251 | permission for the product to send findings to Security Hub is applied. | ||
| 1252 | |||
| 1253 | |||
| 1254 | =head2 EnableOrganizationAdminAccount | ||
| 1255 | |||
| 1256 | =over | ||
| 1257 | |||
| 1258 | =item AdminAccountId => Str | ||
| 1259 | |||
| 1260 | |||
| 1261 | =back | ||
| 1262 | |||
| 1263 | Each argument is described in detail in: L<Paws::SecurityHub::EnableOrganizationAdminAccount> | ||
| 1264 | |||
| 1265 | Returns: a L<Paws::SecurityHub::EnableOrganizationAdminAccountResponse> instance | ||
| 1266 | |||
| 1267 | Designates the Security Hub administrator account for an organization. | ||
| 1268 | Can only be called by the organization management account. | ||
| 1269 | |||
| 1270 | |||
| 1271 | =head2 EnableSecurityHub | ||
| 1272 | |||
| 1273 | =over | ||
| 1274 | |||
| 1275 | =item [EnableDefaultStandards => Bool] | ||
| 1276 | |||
| 1277 | =item [Tags => L<Paws::SecurityHub::TagMap>] | ||
| 1278 | |||
| 1279 | |||
| 1280 | =back | ||
| 1281 | |||
| 1282 | Each argument is described in detail in: L<Paws::SecurityHub::EnableSecurityHub> | ||
| 1283 | |||
| 1284 | Returns: a L<Paws::SecurityHub::EnableSecurityHubResponse> instance | ||
| 1285 | |||
| 1286 | Enables Security Hub for your account in the current Region or the | ||
| 1287 | Region you specify in the request. | ||
| 1288 | |||
| 1289 | When you enable Security Hub, you grant to Security Hub the permissions | ||
| 1290 | necessary to gather findings from other services that are integrated | ||
| 1291 | with Security Hub. | ||
| 1292 | |||
| 1293 | When you use the C<EnableSecurityHub> operation to enable Security Hub, | ||
| 1294 | you also automatically enable the following standards. | ||
| 1295 | |||
| 1296 | =over | ||
| 1297 | |||
| 1298 | =item * | ||
| 1299 | |||
| 1300 | CIS AWS Foundations | ||
| 1301 | |||
| 1302 | =item * | ||
| 1303 | |||
| 1304 | AWS Foundational Security Best Practices | ||
| 1305 | |||
| 1306 | =back | ||
| 1307 | |||
| 1308 | You do not enable the Payment Card Industry Data Security Standard (PCI | ||
| 1309 | DSS) standard. | ||
| 1310 | |||
| 1311 | To not enable the automatically enabled standards, set | ||
| 1312 | C<EnableDefaultStandards> to C<false>. | ||
| 1313 | |||
| 1314 | After you enable Security Hub, to enable a standard, use the C< | ||
| 1315 | BatchEnableStandards > operation. To disable a standard, use the C< | ||
| 1316 | BatchDisableStandards > operation. | ||
| 1317 | |||
| 1318 | To learn more, see Setting Up AWS Security Hub | ||
| 1319 | (https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-settingup.html) | ||
| 1320 | in the I<AWS Security Hub User Guide>. | ||
| 1321 | |||
| 1322 | |||
| 1323 | =head2 GetAdministratorAccount | ||
| 1324 | |||
| 1325 | |||
| 1326 | |||
| 1327 | |||
| 1328 | |||
| 1329 | |||
| 1330 | Each argument is described in detail in: L<Paws::SecurityHub::GetAdministratorAccount> | ||
| 1331 | |||
| 1332 | Returns: a L<Paws::SecurityHub::GetAdministratorAccountResponse> instance | ||
| 1333 | |||
| 1334 | Provides the details for the Security Hub administrator account for the | ||
| 1335 | current member account. | ||
| 1336 | |||
| 1337 | Can be used by both member accounts that are managed using | ||
| 1338 | Organizations and accounts that were invited manually. | ||
| 1339 | |||
| 1340 | |||
| 1341 | =head2 GetEnabledStandards | ||
| 1342 | |||
| 1343 | =over | ||
| 1344 | |||
| 1345 | =item [MaxResults => Int] | ||
| 1346 | |||
| 1347 | =item [NextToken => Str] | ||
| 1348 | |||
| 1349 | =item [StandardsSubscriptionArns => ArrayRef[Str|Undef]] | ||
| 1350 | |||
| 1351 | |||
| 1352 | =back | ||
| 1353 | |||
| 1354 | Each argument is described in detail in: L<Paws::SecurityHub::GetEnabledStandards> | ||
| 1355 | |||
| 1356 | Returns: a L<Paws::SecurityHub::GetEnabledStandardsResponse> instance | ||
| 1357 | |||
| 1358 | Returns a list of the standards that are currently enabled. | ||
| 1359 | |||
| 1360 | |||
| 1361 | =head2 GetFindings | ||
| 1362 | |||
| 1363 | =over | ||
| 1364 | |||
| 1365 | =item [Filters => L<Paws::SecurityHub::AwsSecurityFindingFilters>] | ||
| 1366 | |||
| 1367 | =item [MaxResults => Int] | ||
| 1368 | |||
| 1369 | =item [NextToken => Str] | ||
| 1370 | |||
| 1371 | =item [SortCriteria => ArrayRef[L<Paws::SecurityHub::SortCriterion>]] | ||
| 1372 | |||
| 1373 | |||
| 1374 | =back | ||
| 1375 | |||
| 1376 | Each argument is described in detail in: L<Paws::SecurityHub::GetFindings> | ||
| 1377 | |||
| 1378 | Returns: a L<Paws::SecurityHub::GetFindingsResponse> instance | ||
| 1379 | |||
| 1380 | Returns a list of findings that match the specified criteria. | ||
| 1381 | |||
| 1382 | |||
| 1383 | =head2 GetInsightResults | ||
| 1384 | |||
| 1385 | =over | ||
| 1386 | |||
| 1387 | =item InsightArn => Str | ||
| 1388 | |||
| 1389 | |||
| 1390 | =back | ||
| 1391 | |||
| 1392 | Each argument is described in detail in: L<Paws::SecurityHub::GetInsightResults> | ||
| 1393 | |||
| 1394 | Returns: a L<Paws::SecurityHub::GetInsightResultsResponse> instance | ||
| 1395 | |||
| 1396 | Lists the results of the Security Hub insight specified by the insight | ||
| 1397 | ARN. | ||
| 1398 | |||
| 1399 | |||
| 1400 | =head2 GetInsights | ||
| 1401 | |||
| 1402 | =over | ||
| 1403 | |||
| 1404 | =item [InsightArns => ArrayRef[Str|Undef]] | ||
| 1405 | |||
| 1406 | =item [MaxResults => Int] | ||
| 1407 | |||
| 1408 | =item [NextToken => Str] | ||
| 1409 | |||
| 1410 | |||
| 1411 | =back | ||
| 1412 | |||
| 1413 | Each argument is described in detail in: L<Paws::SecurityHub::GetInsights> | ||
| 1414 | |||
| 1415 | Returns: a L<Paws::SecurityHub::GetInsightsResponse> instance | ||
| 1416 | |||
| 1417 | Lists and describes insights for the specified insight ARNs. | ||
| 1418 | |||
| 1419 | |||
| 1420 | =head2 GetInvitationsCount | ||
| 1421 | |||
| 1422 | |||
| 1423 | |||
| 1424 | |||
| 1425 | |||
| 1426 | |||
| 1427 | Each argument is described in detail in: L<Paws::SecurityHub::GetInvitationsCount> | ||
| 1428 | |||
| 1429 | Returns: a L<Paws::SecurityHub::GetInvitationsCountResponse> instance | ||
| 1430 | |||
| 1431 | Returns the count of all Security Hub membership invitations that were | ||
| 1432 | sent to the current member account, not including the currently | ||
| 1433 | accepted invitation. | ||
| 1434 | |||
| 1435 | |||
| 1436 | =head2 GetMasterAccount | ||
| 1437 | |||
| 1438 | |||
| 1439 | |||
| 1440 | |||
| 1441 | |||
| 1442 | |||
| 1443 | Each argument is described in detail in: L<Paws::SecurityHub::GetMasterAccount> | ||
| 1444 | |||
| 1445 | Returns: a L<Paws::SecurityHub::GetMasterAccountResponse> instance | ||
| 1446 | |||
| 1447 | This method is deprecated. Instead, use C<GetAdministratorAccount>. | ||
| 1448 | |||
| 1449 | The Security Hub console continues to use C<GetMasterAccount>. It will | ||
| 1450 | eventually change to use C<GetAdministratorAccount>. Any IAM policies | ||
| 1451 | that specifically control access to this function must continue to use | ||
| 1452 | C<GetMasterAccount>. You should also add C<GetAdministratorAccount> to | ||
| 1453 | your policies to ensure that the correct permissions are in place after | ||
| 1454 | the console begins to use C<GetAdministratorAccount>. | ||
| 1455 | |||
| 1456 | Provides the details for the Security Hub administrator account for the | ||
| 1457 | current member account. | ||
| 1458 | |||
| 1459 | Can be used by both member accounts that are managed using | ||
| 1460 | Organizations and accounts that were invited manually. | ||
| 1461 | |||
| 1462 | |||
| 1463 | =head2 GetMembers | ||
| 1464 | |||
| 1465 | =over | ||
| 1466 | |||
| 1467 | =item AccountIds => ArrayRef[Str|Undef] | ||
| 1468 | |||
| 1469 | |||
| 1470 | =back | ||
| 1471 | |||
| 1472 | Each argument is described in detail in: L<Paws::SecurityHub::GetMembers> | ||
| 1473 | |||
| 1474 | Returns: a L<Paws::SecurityHub::GetMembersResponse> instance | ||
| 1475 | |||
| 1476 | Returns the details for the Security Hub member accounts for the | ||
| 1477 | specified account IDs. | ||
| 1478 | |||
| 1479 | An administrator account can be either the delegated Security Hub | ||
| 1480 | administrator account for an organization or an administrator account | ||
| 1481 | that enabled Security Hub manually. | ||
| 1482 | |||
| 1483 | The results include both member accounts that are managed using | ||
| 1484 | Organizations and accounts that were invited manually. | ||
| 1485 | |||
| 1486 | |||
| 1487 | =head2 InviteMembers | ||
| 1488 | |||
| 1489 | =over | ||
| 1490 | |||
| 1491 | =item AccountIds => ArrayRef[Str|Undef] | ||
| 1492 | |||
| 1493 | |||
| 1494 | =back | ||
| 1495 | |||
| 1496 | Each argument is described in detail in: L<Paws::SecurityHub::InviteMembers> | ||
| 1497 | |||
| 1498 | Returns: a L<Paws::SecurityHub::InviteMembersResponse> instance | ||
| 1499 | |||
| 1500 | Invites other AWS accounts to become member accounts for the Security | ||
| 1501 | Hub administrator account that the invitation is sent from. | ||
| 1502 | |||
| 1503 | This operation is only used to invite accounts that do not belong to an | ||
| 1504 | organization. Organization accounts do not receive invitations. | ||
| 1505 | |||
| 1506 | Before you can use this action to invite a member, you must first use | ||
| 1507 | the C< CreateMembers > action to create the member account in Security | ||
| 1508 | Hub. | ||
| 1509 | |||
| 1510 | When the account owner enables Security Hub and accepts the invitation | ||
| 1511 | to become a member account, the administrator account can view the | ||
| 1512 | findings generated from the member account. | ||
| 1513 | |||
| 1514 | |||
| 1515 | =head2 ListEnabledProductsForImport | ||
| 1516 | |||
| 1517 | =over | ||
| 1518 | |||
| 1519 | =item [MaxResults => Int] | ||
| 1520 | |||
| 1521 | =item [NextToken => Str] | ||
| 1522 | |||
| 1523 | |||
| 1524 | =back | ||
| 1525 | |||
| 1526 | Each argument is described in detail in: L<Paws::SecurityHub::ListEnabledProductsForImport> | ||
| 1527 | |||
| 1528 | Returns: a L<Paws::SecurityHub::ListEnabledProductsForImportResponse> instance | ||
| 1529 | |||
| 1530 | Lists all findings-generating solutions (products) that you are | ||
| 1531 | subscribed to receive findings from in Security Hub. | ||
| 1532 | |||
| 1533 | |||
| 1534 | =head2 ListInvitations | ||
| 1535 | |||
| 1536 | =over | ||
| 1537 | |||
| 1538 | =item [MaxResults => Int] | ||
| 1539 | |||
| 1540 | =item [NextToken => Str] | ||
| 1541 | |||
| 1542 | |||
| 1543 | =back | ||
| 1544 | |||
| 1545 | Each argument is described in detail in: L<Paws::SecurityHub::ListInvitations> | ||
| 1546 | |||
| 1547 | Returns: a L<Paws::SecurityHub::ListInvitationsResponse> instance | ||
| 1548 | |||
| 1549 | Lists all Security Hub membership invitations that were sent to the | ||
| 1550 | current AWS account. | ||
| 1551 | |||
| 1552 | This operation is only used by accounts that are managed by invitation. | ||
| 1553 | Accounts that are managed using the integration with AWS Organizations | ||
| 1554 | do not receive invitations. | ||
| 1555 | |||
| 1556 | |||
| 1557 | =head2 ListMembers | ||
| 1558 | |||
| 1559 | =over | ||
| 1560 | |||
| 1561 | =item [MaxResults => Int] | ||
| 1562 | |||
| 1563 | =item [NextToken => Str] | ||
| 1564 | |||
| 1565 | =item [OnlyAssociated => Bool] | ||
| 1566 | |||
| 1567 | |||
| 1568 | =back | ||
| 1569 | |||
| 1570 | Each argument is described in detail in: L<Paws::SecurityHub::ListMembers> | ||
| 1571 | |||
| 1572 | Returns: a L<Paws::SecurityHub::ListMembersResponse> instance | ||
| 1573 | |||
| 1574 | Lists details about all member accounts for the current Security Hub | ||
| 1575 | administrator account. | ||
| 1576 | |||
| 1577 | The results include both member accounts that belong to an organization | ||
| 1578 | and member accounts that were invited manually. | ||
| 1579 | |||
| 1580 | |||
| 1581 | =head2 ListOrganizationAdminAccounts | ||
| 1582 | |||
| 1583 | =over | ||
| 1584 | |||
| 1585 | =item [MaxResults => Int] | ||
| 1586 | |||
| 1587 | =item [NextToken => Str] | ||
| 1588 | |||
| 1589 | |||
| 1590 | =back | ||
| 1591 | |||
| 1592 | Each argument is described in detail in: L<Paws::SecurityHub::ListOrganizationAdminAccounts> | ||
| 1593 | |||
| 1594 | Returns: a L<Paws::SecurityHub::ListOrganizationAdminAccountsResponse> instance | ||
| 1595 | |||
| 1596 | Lists the Security Hub administrator accounts. Can only be called by | ||
| 1597 | the organization management account. | ||
| 1598 | |||
| 1599 | |||
| 1600 | =head2 ListTagsForResource | ||
| 1601 | |||
| 1602 | =over | ||
| 1603 | |||
| 1604 | =item ResourceArn => Str | ||
| 1605 | |||
| 1606 | |||
| 1607 | =back | ||
| 1608 | |||
| 1609 | Each argument is described in detail in: L<Paws::SecurityHub::ListTagsForResource> | ||
| 1610 | |||
| 1611 | Returns: a L<Paws::SecurityHub::ListTagsForResourceResponse> instance | ||
| 1612 | |||
| 1613 | Returns a list of tags associated with a resource. | ||
| 1614 | |||
| 1615 | |||
| 1616 | =head2 TagResource | ||
| 1617 | |||
| 1618 | =over | ||
| 1619 | |||
| 1620 | =item ResourceArn => Str | ||
| 1621 | |||
| 1622 | =item Tags => L<Paws::SecurityHub::TagMap> | ||
| 1623 | |||
| 1624 | |||
| 1625 | =back | ||
| 1626 | |||
| 1627 | Each argument is described in detail in: L<Paws::SecurityHub::TagResource> | ||
| 1628 | |||
| 1629 | Returns: a L<Paws::SecurityHub::TagResourceResponse> instance | ||
| 1630 | |||
| 1631 | Adds one or more tags to a resource. | ||
| 1632 | |||
| 1633 | |||
| 1634 | =head2 UntagResource | ||
| 1635 | |||
| 1636 | =over | ||
| 1637 | |||
| 1638 | =item ResourceArn => Str | ||
| 1639 | |||
| 1640 | =item TagKeys => ArrayRef[Str|Undef] | ||
| 1641 | |||
| 1642 | |||
| 1643 | =back | ||
| 1644 | |||
| 1645 | Each argument is described in detail in: L<Paws::SecurityHub::UntagResource> | ||
| 1646 | |||
| 1647 | Returns: a L<Paws::SecurityHub::UntagResourceResponse> instance | ||
| 1648 | |||
| 1649 | Removes one or more tags from a resource. | ||
| 1650 | |||
| 1651 | |||
| 1652 | =head2 UpdateActionTarget | ||
| 1653 | |||
| 1654 | =over | ||
| 1655 | |||
| 1656 | =item ActionTargetArn => Str | ||
| 1657 | |||
| 1658 | =item [Description => Str] | ||
| 1659 | |||
| 1660 | =item [Name => Str] | ||
| 1661 | |||
| 1662 | |||
| 1663 | =back | ||
| 1664 | |||
| 1665 | Each argument is described in detail in: L<Paws::SecurityHub::UpdateActionTarget> | ||
| 1666 | |||
| 1667 | Returns: a L<Paws::SecurityHub::UpdateActionTargetResponse> instance | ||
| 1668 | |||
| 1669 | Updates the name and description of a custom action target in Security | ||
| 1670 | Hub. | ||
| 1671 | |||
| 1672 | |||
| 1673 | =head2 UpdateFindings | ||
| 1674 | |||
| 1675 | =over | ||
| 1676 | |||
| 1677 | =item Filters => L<Paws::SecurityHub::AwsSecurityFindingFilters> | ||
| 1678 | |||
| 1679 | =item [Note => L<Paws::SecurityHub::NoteUpdate>] | ||
| 1680 | |||
| 1681 | =item [RecordState => Str] | ||
| 1682 | |||
| 1683 | |||
| 1684 | =back | ||
| 1685 | |||
| 1686 | Each argument is described in detail in: L<Paws::SecurityHub::UpdateFindings> | ||
| 1687 | |||
| 1688 | Returns: a L<Paws::SecurityHub::UpdateFindingsResponse> instance | ||
| 1689 | |||
| 1690 | C<UpdateFindings> is deprecated. Instead of C<UpdateFindings>, use | ||
| 1691 | C<BatchUpdateFindings>. | ||
| 1692 | |||
| 1693 | Updates the C<Note> and C<RecordState> of the Security Hub-aggregated | ||
| 1694 | findings that the filter attributes specify. Any member account that | ||
| 1695 | can view the finding also sees the update to the finding. | ||
| 1696 | |||
| 1697 | |||
| 1698 | =head2 UpdateInsight | ||
| 1699 | |||
| 1700 | =over | ||
| 1701 | |||
| 1702 | =item InsightArn => Str | ||
| 1703 | |||
| 1704 | =item [Filters => L<Paws::SecurityHub::AwsSecurityFindingFilters>] | ||
| 1705 | |||
| 1706 | =item [GroupByAttribute => Str] | ||
| 1707 | |||
| 1708 | =item [Name => Str] | ||
| 1709 | |||
| 1710 | |||
| 1711 | =back | ||
| 1712 | |||
| 1713 | Each argument is described in detail in: L<Paws::SecurityHub::UpdateInsight> | ||
| 1714 | |||
| 1715 | Returns: a L<Paws::SecurityHub::UpdateInsightResponse> instance | ||
| 1716 | |||
| 1717 | Updates the Security Hub insight identified by the specified insight | ||
| 1718 | ARN. | ||
| 1719 | |||
| 1720 | |||
| 1721 | =head2 UpdateOrganizationConfiguration | ||
| 1722 | |||
| 1723 | =over | ||
| 1724 | |||
| 1725 | =item AutoEnable => Bool | ||
| 1726 | |||
| 1727 | |||
| 1728 | =back | ||
| 1729 | |||
| 1730 | Each argument is described in detail in: L<Paws::SecurityHub::UpdateOrganizationConfiguration> | ||
| 1731 | |||
| 1732 | Returns: a L<Paws::SecurityHub::UpdateOrganizationConfigurationResponse> instance | ||
| 1733 | |||
| 1734 | Used to update the configuration related to Organizations. Can only be | ||
| 1735 | called from a Security Hub administrator account. | ||
| 1736 | |||
| 1737 | |||
| 1738 | =head2 UpdateSecurityHubConfiguration | ||
| 1739 | |||
| 1740 | =over | ||
| 1741 | |||
| 1742 | =item [AutoEnableControls => Bool] | ||
| 1743 | |||
| 1744 | |||
| 1745 | =back | ||
| 1746 | |||
| 1747 | Each argument is described in detail in: L<Paws::SecurityHub::UpdateSecurityHubConfiguration> | ||
| 1748 | |||
| 1749 | Returns: a L<Paws::SecurityHub::UpdateSecurityHubConfigurationResponse> instance | ||
| 1750 | |||
| 1751 | Updates configuration options for Security Hub. | ||
| 1752 | |||
| 1753 | |||
| 1754 | =head2 UpdateStandardsControl | ||
| 1755 | |||
| 1756 | =over | ||
| 1757 | |||
| 1758 | =item StandardsControlArn => Str | ||
| 1759 | |||
| 1760 | =item [ControlStatus => Str] | ||
| 1761 | |||
| 1762 | =item [DisabledReason => Str] | ||
| 1763 | |||
| 1764 | |||
| 1765 | =back | ||
| 1766 | |||
| 1767 | Each argument is described in detail in: L<Paws::SecurityHub::UpdateStandardsControl> | ||
| 1768 | |||
| 1769 | Returns: a L<Paws::SecurityHub::UpdateStandardsControlResponse> instance | ||
| 1770 | |||
| 1771 | Used to control whether an individual security standard control is | ||
| 1772 | enabled or disabled. | ||
| 1773 | |||
| 1774 | |||
| 1775 | |||
| 1776 | |||
| 1777 | =head1 PAGINATORS | ||
| 1778 | |||
| 1779 | Paginator methods are helpers that repetively call methods that return partial results | ||
| 1780 | |||
| 1781 | =head2 GetAllEnabledStandards(sub { },[MaxResults => Int, NextToken => Str, StandardsSubscriptionArns => ArrayRef[Str|Undef]]) | ||
| 1782 | |||
| 1783 | =head2 GetAllEnabledStandards([MaxResults => Int, NextToken => Str, StandardsSubscriptionArns => ArrayRef[Str|Undef]]) | ||
| 1784 | |||
| 1785 | |||
| 1786 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1787 | |||
| 1788 | - StandardsSubscriptions, passing the object as the first parameter, and the string 'StandardsSubscriptions' as the second parameter | ||
| 1789 | |||
| 1790 | If not, it will return a a L<Paws::SecurityHub::GetEnabledStandardsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 1791 | |||
| 1792 | |||
| 1793 | =head2 GetAllFindings(sub { },[Filters => L<Paws::SecurityHub::AwsSecurityFindingFilters>, MaxResults => Int, NextToken => Str, SortCriteria => ArrayRef[L<Paws::SecurityHub::SortCriterion>]]) | ||
| 1794 | |||
| 1795 | =head2 GetAllFindings([Filters => L<Paws::SecurityHub::AwsSecurityFindingFilters>, MaxResults => Int, NextToken => Str, SortCriteria => ArrayRef[L<Paws::SecurityHub::SortCriterion>]]) | ||
| 1796 | |||
| 1797 | |||
| 1798 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1799 | |||
| 1800 | - Findings, passing the object as the first parameter, and the string 'Findings' as the second parameter | ||
| 1801 | |||
| 1802 | If not, it will return a a L<Paws::SecurityHub::GetFindingsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 1803 | |||
| 1804 | |||
| 1805 | =head2 GetAllInsights(sub { },[InsightArns => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str]) | ||
| 1806 | |||
| 1807 | =head2 GetAllInsights([InsightArns => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str]) | ||
| 1808 | |||
| 1809 | |||
| 1810 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1811 | |||
| 1812 | - Insights, passing the object as the first parameter, and the string 'Insights' as the second parameter | ||
| 1813 | |||
| 1814 | If not, it will return a a L<Paws::SecurityHub::GetInsightsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 1815 | |||
| 1816 | |||
| 1817 | =head2 ListAllEnabledProductsForImport(sub { },[MaxResults => Int, NextToken => Str]) | ||
| 1818 | |||
| 1819 | =head2 ListAllEnabledProductsForImport([MaxResults => Int, NextToken => Str]) | ||
| 1820 | |||
| 1821 | |||
| 1822 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1823 | |||
| 1824 | - ProductSubscriptions, passing the object as the first parameter, and the string 'ProductSubscriptions' as the second parameter | ||
| 1825 | |||
| 1826 | If not, it will return a a L<Paws::SecurityHub::ListEnabledProductsForImportResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 1827 | |||
| 1828 | |||
| 1829 | =head2 ListAllInvitations(sub { },[MaxResults => Int, NextToken => Str]) | ||
| 1830 | |||
| 1831 | =head2 ListAllInvitations([MaxResults => Int, NextToken => Str]) | ||
| 1832 | |||
| 1833 | |||
| 1834 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1835 | |||
| 1836 | - Invitations, passing the object as the first parameter, and the string 'Invitations' as the second parameter | ||
| 1837 | |||
| 1838 | If not, it will return a a L<Paws::SecurityHub::ListInvitationsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 1839 | |||
| 1840 | |||
| 1841 | =head2 ListAllMembers(sub { },[MaxResults => Int, NextToken => Str, OnlyAssociated => Bool]) | ||
| 1842 | |||
| 1843 | =head2 ListAllMembers([MaxResults => Int, NextToken => Str, OnlyAssociated => Bool]) | ||
| 1844 | |||
| 1845 | |||
| 1846 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 1847 | |||
| 1848 | - Members, passing the object as the first parameter, and the string 'Members' as the second parameter | ||
| 1849 | |||
| 1850 | If not, it will return a a L<Paws::SecurityHub::ListMembersResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 1851 | |||
| 1852 | |||
| 1853 | |||
| 1854 | |||
| 1855 | |||
| 1856 | =head1 SEE ALSO | ||
| 1857 | |||
| 1858 | This service class forms part of L<Paws> | ||
| 1859 | |||
| 1860 | =head1 BUGS and CONTRIBUTIONS | ||
| 1861 | |||
| 1862 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 1863 | |||
| 1864 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 1865 | |||
| 1866 | =cut | ||
| 1867 |