Skip to content

Commit d32f7f7

Browse files
author
awstools
committed
docs(client-securityhub): Documentation updates for Security Hub API reference
1 parent 7f9f845 commit d32f7f7

File tree

5 files changed

+39
-14
lines changed

5 files changed

+39
-14
lines changed

clients/client-securityhub/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,13 @@ request per second, <code>BurstLimit</code> of 1 request per second.</p>
4040
</li>
4141
<li>
4242
<p>
43-
<code>UpdateFindings</code> - <code>RateLimit</code> of 1 request per
44-
second. <code>BurstLimit</code> of 5 requests per second.</p>
43+
<code>BatchImportFindings</code> - <code>RateLimit</code> of 10 requests per second.
44+
<code>BurstLimit</code> of 30 requests per second.</p>
45+
</li>
46+
<li>
47+
<p>
48+
<code>BatchUpdateFindings</code> - <code>RateLimit</code> of 10 requests per second.
49+
<code>BurstLimit</code> of 30 requests per second.</p>
4550
</li>
4651
<li>
4752
<p>

clients/client-securityhub/src/SecurityHub.ts

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,13 @@ import { SecurityHubClient } from "./SecurityHubClient";
291291
* </li>
292292
* <li>
293293
* <p>
294-
* <code>UpdateFindings</code> - <code>RateLimit</code> of 1 request per
295-
* second. <code>BurstLimit</code> of 5 requests per second.</p>
294+
* <code>BatchImportFindings</code> - <code>RateLimit</code> of 10 requests per second.
295+
* <code>BurstLimit</code> of 30 requests per second.</p>
296+
* </li>
297+
* <li>
298+
* <p>
299+
* <code>BatchUpdateFindings</code> - <code>RateLimit</code> of 10 requests per second.
300+
* <code>BurstLimit</code> of 30 requests per second.</p>
296301
* </li>
297302
* <li>
298303
* <p>
@@ -463,11 +468,16 @@ export class SecurityHub extends SecurityHubClient {
463468
* <code>BatchImportFindings</code> must be called by one of the following:</p>
464469
* <ul>
465470
* <li>
466-
* <p>The account that is associated with the findings. The identifier of the associated
467-
* account is the value of the <code>AwsAccountId</code> attribute for the finding.</p>
471+
* <p>The Amazon Web Services account that is associated with a finding if you are using
472+
* the <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-custom-providers.html#securityhub-custom-providers-bfi-reqs">default product ARN</a>
473+
* or are a partner sending findings from within a customer's Amazon Web Services account.
474+
* In these cases, the identifier of the account that you are calling <code>BatchImportFindings</code>
475+
* from needs to be the same as the <code>AwsAccountId</code> attribute for the finding.</p>
468476
* </li>
469477
* <li>
470-
* <p>An account that is allow-listed for an official Security Hub partner integration.</p>
478+
* <p>An Amazon Web Services account that Security Hub has allow-listed for an official partner
479+
* integration. In this case, you can call <code>BatchImportFindings</code> from the allow-listed
480+
* account and send findings from different customer accounts in the same batch.</p>
471481
* </li>
472482
* </ul>
473483
* <p>The maximum allowed size for a finding is 240 Kb. An error is returned for any finding

clients/client-securityhub/src/SecurityHubClient.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,13 @@ export interface SecurityHubClientResolvedConfig extends SecurityHubClientResolv
498498
* </li>
499499
* <li>
500500
* <p>
501-
* <code>UpdateFindings</code> - <code>RateLimit</code> of 1 request per
502-
* second. <code>BurstLimit</code> of 5 requests per second.</p>
501+
* <code>BatchImportFindings</code> - <code>RateLimit</code> of 10 requests per second.
502+
* <code>BurstLimit</code> of 30 requests per second.</p>
503+
* </li>
504+
* <li>
505+
* <p>
506+
* <code>BatchUpdateFindings</code> - <code>RateLimit</code> of 10 requests per second.
507+
* <code>BurstLimit</code> of 30 requests per second.</p>
503508
* </li>
504509
* <li>
505510
* <p>

clients/client-securityhub/src/commands/BatchImportFindingsCommand.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,16 @@ export interface BatchImportFindingsCommandOutput extends BatchImportFindingsRes
3030
* <code>BatchImportFindings</code> must be called by one of the following:</p>
3131
* <ul>
3232
* <li>
33-
* <p>The account that is associated with the findings. The identifier of the associated
34-
* account is the value of the <code>AwsAccountId</code> attribute for the finding.</p>
33+
* <p>The Amazon Web Services account that is associated with a finding if you are using
34+
* the <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-custom-providers.html#securityhub-custom-providers-bfi-reqs">default product ARN</a>
35+
* or are a partner sending findings from within a customer's Amazon Web Services account.
36+
* In these cases, the identifier of the account that you are calling <code>BatchImportFindings</code>
37+
* from needs to be the same as the <code>AwsAccountId</code> attribute for the finding.</p>
3538
* </li>
3639
* <li>
37-
* <p>An account that is allow-listed for an official Security Hub partner integration.</p>
40+
* <p>An Amazon Web Services account that Security Hub has allow-listed for an official partner
41+
* integration. In this case, you can call <code>BatchImportFindings</code> from the allow-listed
42+
* account and send findings from different customer accounts in the same batch.</p>
3843
* </li>
3944
* </ul>
4045
* <p>The maximum allowed size for a finding is 240 Kb. An error is returned for any finding

codegen/sdk-codegen/aws-models/securityhub.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13854,7 +13854,7 @@
1385413854
}
1385513855
],
1385613856
"traits": {
13857-
"smithy.api#documentation": "<p>Imports security findings generated by a finding provider into Security Hub.\n This action is requested by the finding provider to import its findings into\n Security Hub.</p>\n <p>\n <code>BatchImportFindings</code> must be called by one of the following:</p>\n <ul>\n <li>\n <p>The account that is associated with the findings. The identifier of the associated\n account is the value of the <code>AwsAccountId</code> attribute for the finding.</p>\n </li>\n <li>\n <p>An account that is allow-listed for an official Security Hub partner integration.</p>\n </li>\n </ul>\n <p>The maximum allowed size for a finding is 240 Kb. An error is returned for any finding\n larger than 240 Kb.</p>\n <p>After a finding is created, <code>BatchImportFindings</code> cannot be used to update\n the following finding fields and objects, which Security Hub customers use to manage their\n investigation workflow.</p>\n <ul>\n <li>\n <p>\n <code>Note</code>\n </p>\n </li>\n <li>\n <p>\n <code>UserDefinedFields</code>\n </p>\n </li>\n <li>\n <p>\n <code>VerificationState</code>\n </p>\n </li>\n <li>\n <p>\n <code>Workflow</code>\n </p>\n </li>\n </ul>\n <p>Finding providers also should not use <code>BatchImportFindings</code> to update the following attributes.</p>\n <ul>\n <li>\n <p>\n <code>Confidence</code>\n </p>\n </li>\n <li>\n <p>\n <code>Criticality</code>\n </p>\n </li>\n <li>\n <p>\n <code>RelatedFindings</code>\n </p>\n </li>\n <li>\n <p>\n <code>Severity</code>\n </p>\n </li>\n <li>\n <p>\n <code>Types</code>\n </p>\n </li>\n </ul>\n <p>Instead, finding providers use <code>FindingProviderFields</code> to provide values for these attributes.</p>",
13857+
"smithy.api#documentation": "<p>Imports security findings generated by a finding provider into Security Hub.\n This action is requested by the finding provider to import its findings into\n Security Hub.</p>\n <p>\n <code>BatchImportFindings</code> must be called by one of the following:</p>\n <ul>\n <li>\n <p>The Amazon Web Services account that is associated with a finding if you are using\n the <a href=\"https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-custom-providers.html#securityhub-custom-providers-bfi-reqs\">default product ARN</a> \n or are a partner sending findings from within a customer's Amazon Web Services account. \n In these cases, the identifier of the account that you are calling <code>BatchImportFindings</code> \n from needs to be the same as the <code>AwsAccountId</code> attribute for the finding.</p>\n </li>\n <li>\n <p>An Amazon Web Services account that Security Hub has allow-listed for an official partner\n integration. In this case, you can call <code>BatchImportFindings</code> from the allow-listed\n account and send findings from different customer accounts in the same batch.</p>\n </li>\n </ul>\n <p>The maximum allowed size for a finding is 240 Kb. An error is returned for any finding\n larger than 240 Kb.</p>\n <p>After a finding is created, <code>BatchImportFindings</code> cannot be used to update\n the following finding fields and objects, which Security Hub customers use to manage their\n investigation workflow.</p>\n <ul>\n <li>\n <p>\n <code>Note</code>\n </p>\n </li>\n <li>\n <p>\n <code>UserDefinedFields</code>\n </p>\n </li>\n <li>\n <p>\n <code>VerificationState</code>\n </p>\n </li>\n <li>\n <p>\n <code>Workflow</code>\n </p>\n </li>\n </ul>\n <p>Finding providers also should not use <code>BatchImportFindings</code> to update the following attributes.</p>\n <ul>\n <li>\n <p>\n <code>Confidence</code>\n </p>\n </li>\n <li>\n <p>\n <code>Criticality</code>\n </p>\n </li>\n <li>\n <p>\n <code>RelatedFindings</code>\n </p>\n </li>\n <li>\n <p>\n <code>Severity</code>\n </p>\n </li>\n <li>\n <p>\n <code>Types</code>\n </p>\n </li>\n </ul>\n <p>Instead, finding providers use <code>FindingProviderFields</code> to provide values for these attributes.</p>",
1385813858
"smithy.api#http": {
1385913859
"method": "POST",
1386013860
"uri": "/findings/import",
@@ -19886,7 +19886,7 @@
1988619886
"name": "securityhub"
1988719887
},
1988819888
"aws.protocols#restJson1": {},
19889-
"smithy.api#documentation": "<p>Security Hub provides you with a comprehensive view of the security state of your Amazon Web Services environment and resources. It also provides you with the readiness status\n of your environment based on controls from supported security standards. Security Hub collects\n security data from Amazon Web Services accounts, services, and integrated third-party products and helps\n you analyze security trends in your environment to identify the highest priority security\n issues. For more information about Security Hub, see the <a href=\"https://docs.aws.amazon.com/securityhub/latest/userguide/what-is-securityhub.html\">\n <i>Security HubUser\n Guide</i>\n </a>.</p> \n <p>When you use operations in the Security Hub API, the requests are executed only in the Amazon Web Services\n Region that is currently active or in the specific Amazon Web Services Region that you specify in your\n request. Any configuration or settings change that results from the operation is applied\n only to that Region. To make the same change in other Regions, execute the same command for\n each Region to apply the change to.</p>\n <p>For example, if your Region is set to <code>us-west-2</code>, when you use <code>CreateMembers</code> to add a member account to Security Hub, the association of\n the member account with the administrator account is created only in the <code>us-west-2</code>\n Region. Security Hub must be enabled for the member account in the same Region that the invitation\n was sent from.</p>\n <p>The following throttling limits apply to using Security Hub API operations.</p>\n <ul>\n <li>\n <p>\n <code>BatchEnableStandards</code> - <code>RateLimit</code> of 1\n request per second, <code>BurstLimit</code> of 1 request per second.</p>\n </li>\n <li>\n <p>\n <code>GetFindings</code> - <code>RateLimit</code> of 3 requests per second.\n <code>BurstLimit</code> of 6 requests per second.</p>\n </li>\n <li>\n <p>\n <code>UpdateFindings</code> - <code>RateLimit</code> of 1 request per\n second. <code>BurstLimit</code> of 5 requests per second.</p>\n </li>\n <li>\n <p>\n <code>UpdateStandardsControl</code> - <code>RateLimit</code> of\n 1 request per second, <code>BurstLimit</code> of 5 requests per second.</p>\n </li>\n <li>\n <p>All other operations - <code>RateLimit</code> of 10 requests per second.\n <code>BurstLimit</code> of 30 requests per second.</p>\n </li>\n </ul>",
19889+
"smithy.api#documentation": "<p>Security Hub provides you with a comprehensive view of the security state of your Amazon Web Services environment and resources. It also provides you with the readiness status\n of your environment based on controls from supported security standards. Security Hub collects\n security data from Amazon Web Services accounts, services, and integrated third-party products and helps\n you analyze security trends in your environment to identify the highest priority security\n issues. For more information about Security Hub, see the <a href=\"https://docs.aws.amazon.com/securityhub/latest/userguide/what-is-securityhub.html\">\n <i>Security HubUser\n Guide</i>\n </a>.</p> \n <p>When you use operations in the Security Hub API, the requests are executed only in the Amazon Web Services\n Region that is currently active or in the specific Amazon Web Services Region that you specify in your\n request. Any configuration or settings change that results from the operation is applied\n only to that Region. To make the same change in other Regions, execute the same command for\n each Region to apply the change to.</p>\n <p>For example, if your Region is set to <code>us-west-2</code>, when you use <code>CreateMembers</code> to add a member account to Security Hub, the association of\n the member account with the administrator account is created only in the <code>us-west-2</code>\n Region. Security Hub must be enabled for the member account in the same Region that the invitation\n was sent from.</p>\n <p>The following throttling limits apply to using Security Hub API operations.</p>\n <ul>\n <li>\n <p>\n <code>BatchEnableStandards</code> - <code>RateLimit</code> of 1\n request per second, <code>BurstLimit</code> of 1 request per second.</p>\n </li>\n <li>\n <p>\n <code>GetFindings</code> - <code>RateLimit</code> of 3 requests per second.\n <code>BurstLimit</code> of 6 requests per second.</p>\n </li>\n <li>\n <p>\n <code>BatchImportFindings</code> - <code>RateLimit</code> of 10 requests per second.\n <code>BurstLimit</code> of 30 requests per second.</p>\n </li>\n <li>\n <p>\n <code>BatchUpdateFindings</code> - <code>RateLimit</code> of 10 requests per second.\n <code>BurstLimit</code> of 30 requests per second.</p>\n </li>\n <li>\n <p>\n <code>UpdateStandardsControl</code> - <code>RateLimit</code> of\n 1 request per second, <code>BurstLimit</code> of 5 requests per second.</p>\n </li>\n <li>\n <p>All other operations - <code>RateLimit</code> of 10 requests per second.\n <code>BurstLimit</code> of 30 requests per second.</p>\n </li>\n </ul>",
1989019890
"smithy.api#title": "AWS SecurityHub"
1989119891
},
1989219892
"version": "2018-10-26",

0 commit comments

Comments
 (0)