aws-sdk 2.1438.0 → 2.1440.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -1
- package/README.md +1 -1
- package/apis/codecommit-2015-04-13.min.json +44 -0
- package/apis/codecommit-2015-04-13.paginators.json +5 -0
- package/apis/ec2-2016-11-15.min.json +675 -655
- package/apis/securityhub-2018-10-26.min.json +100 -61
- package/clients/codecommit.d.ts +87 -30
- package/clients/ec2.d.ts +27 -4
- package/clients/gamelift.d.ts +91 -91
- package/clients/securityhub.d.ts +68 -4
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +5 -5
- package/dist/aws-sdk.js +727 -658
- package/dist/aws-sdk.min.js +87 -87
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/clients/securityhub.d.ts
CHANGED
@@ -188,11 +188,11 @@ declare class SecurityHub extends Service {
|
|
188
188
|
*/
|
189
189
|
deleteInvitations(callback?: (err: AWSError, data: SecurityHub.Types.DeleteInvitationsResponse) => void): Request<SecurityHub.Types.DeleteInvitationsResponse, AWSError>;
|
190
190
|
/**
|
191
|
-
* Deletes the specified member accounts from Security Hub.
|
191
|
+
* Deletes the specified member accounts from Security Hub. You can invoke this API only to delete accounts that became members through invitation. You can't invoke this API to delete accounts that belong to an Organizations organization.
|
192
192
|
*/
|
193
193
|
deleteMembers(params: SecurityHub.Types.DeleteMembersRequest, callback?: (err: AWSError, data: SecurityHub.Types.DeleteMembersResponse) => void): Request<SecurityHub.Types.DeleteMembersResponse, AWSError>;
|
194
194
|
/**
|
195
|
-
* Deletes the specified member accounts from Security Hub.
|
195
|
+
* Deletes the specified member accounts from Security Hub. You can invoke this API only to delete accounts that became members through invitation. You can't invoke this API to delete accounts that belong to an Organizations organization.
|
196
196
|
*/
|
197
197
|
deleteMembers(callback?: (err: AWSError, data: SecurityHub.Types.DeleteMembersResponse) => void): Request<SecurityHub.Types.DeleteMembersResponse, AWSError>;
|
198
198
|
/**
|
@@ -260,11 +260,11 @@ declare class SecurityHub extends Service {
|
|
260
260
|
*/
|
261
261
|
disableOrganizationAdminAccount(callback?: (err: AWSError, data: SecurityHub.Types.DisableOrganizationAdminAccountResponse) => void): Request<SecurityHub.Types.DisableOrganizationAdminAccountResponse, AWSError>;
|
262
262
|
/**
|
263
|
-
* Disables Security Hub in your account only in the current Region. To disable Security Hub in all Regions, you must submit one request per Region where you have enabled Security Hub.
|
263
|
+
* Disables Security Hub in your account only in the current Amazon Web Services Region. To disable Security Hub in all Regions, you must submit one request per Region where you have enabled Security Hub. You can't disable Security Hub in an account that is currently the Security Hub administrator. When you disable Security Hub, your existing findings and insights and any Security Hub configuration settings are deleted after 90 days and cannot be recovered. Any standards that were enabled are disabled, and your administrator and member account associations are removed. If you want to save your existing findings, you must export them before you disable Security Hub.
|
264
264
|
*/
|
265
265
|
disableSecurityHub(params: SecurityHub.Types.DisableSecurityHubRequest, callback?: (err: AWSError, data: SecurityHub.Types.DisableSecurityHubResponse) => void): Request<SecurityHub.Types.DisableSecurityHubResponse, AWSError>;
|
266
266
|
/**
|
267
|
-
* Disables Security Hub in your account only in the current Region. To disable Security Hub in all Regions, you must submit one request per Region where you have enabled Security Hub.
|
267
|
+
* Disables Security Hub in your account only in the current Amazon Web Services Region. To disable Security Hub in all Regions, you must submit one request per Region where you have enabled Security Hub. You can't disable Security Hub in an account that is currently the Security Hub administrator. When you disable Security Hub, your existing findings and insights and any Security Hub configuration settings are deleted after 90 days and cannot be recovered. Any standards that were enabled are disabled, and your administrator and member account associations are removed. If you want to save your existing findings, you must export them before you disable Security Hub.
|
268
268
|
*/
|
269
269
|
disableSecurityHub(callback?: (err: AWSError, data: SecurityHub.Types.DisableSecurityHubResponse) => void): Request<SecurityHub.Types.DisableSecurityHubResponse, AWSError>;
|
270
270
|
/**
|
@@ -9969,6 +9969,10 @@ declare namespace SecurityHub {
|
|
9969
9969
|
* Indicates whether the finding is a sample finding.
|
9970
9970
|
*/
|
9971
9971
|
Sample?: Boolean;
|
9972
|
+
/**
|
9973
|
+
* Provides metadata for the Amazon CodeGuru detector associated with a finding. This field pertains to findings that relate to Lambda functions. Amazon Inspector identifies policy violations and vulnerabilities in Lambda function code based on internal detectors developed in collaboration with Amazon CodeGuru. Security Hub receives those findings.
|
9974
|
+
*/
|
9975
|
+
GeneratorDetails?: GeneratorDetails;
|
9972
9976
|
}
|
9973
9977
|
export interface AwsSecurityFindingFilters {
|
9974
9978
|
/**
|
@@ -11444,6 +11448,24 @@ declare namespace SecurityHub {
|
|
11444
11448
|
*/
|
11445
11449
|
Reason?: NonEmptyString;
|
11446
11450
|
}
|
11451
|
+
export interface CodeVulnerabilitiesFilePath {
|
11452
|
+
/**
|
11453
|
+
* The line number of the last line of code in which the vulnerability is located.
|
11454
|
+
*/
|
11455
|
+
EndLine?: Integer;
|
11456
|
+
/**
|
11457
|
+
* The name of the file in which the code vulnerability is located.
|
11458
|
+
*/
|
11459
|
+
FileName?: NonEmptyString;
|
11460
|
+
/**
|
11461
|
+
* The file path to the code in which the vulnerability is located.
|
11462
|
+
*/
|
11463
|
+
FilePath?: NonEmptyString;
|
11464
|
+
/**
|
11465
|
+
* The line number of the first line of code in which the vulnerability is located.
|
11466
|
+
*/
|
11467
|
+
StartLine?: Integer;
|
11468
|
+
}
|
11447
11469
|
export interface Compliance {
|
11448
11470
|
/**
|
11449
11471
|
* The result of a standards check. The valid values for Status are as follows. PASSED - Standards check passed for all evaluated resources. WARNING - Some information is missing or this check is not supported for your configuration. FAILED - Standards check failed for at least one evaluated resource. NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because the result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was NOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.
|
@@ -12165,6 +12187,20 @@ declare namespace SecurityHub {
|
|
12165
12187
|
ResourceArn?: NonEmptyString;
|
12166
12188
|
}
|
12167
12189
|
export type FirewallPolicyStatelessRuleGroupReferencesList = FirewallPolicyStatelessRuleGroupReferencesDetails[];
|
12190
|
+
export interface GeneratorDetails {
|
12191
|
+
/**
|
12192
|
+
* The name of the detector used to identify the code vulnerability.
|
12193
|
+
*/
|
12194
|
+
Name?: NonEmptyString;
|
12195
|
+
/**
|
12196
|
+
* The description of the detector used to identify the code vulnerability.
|
12197
|
+
*/
|
12198
|
+
Description?: NonEmptyString;
|
12199
|
+
/**
|
12200
|
+
* An array of tags used to identify the detector associated with the finding.
|
12201
|
+
*/
|
12202
|
+
Labels?: TypeList;
|
12203
|
+
}
|
12168
12204
|
export interface GeoLocation {
|
12169
12205
|
/**
|
12170
12206
|
* The longitude of the location.
|
@@ -14715,7 +14751,35 @@ declare namespace SecurityHub {
|
|
14715
14751
|
* Specifies if all vulnerable packages in a finding have a value for FixedInVersion and Remediation. This field is evaluated for each vulnerability Id based on the number of vulnerable packages that have a value for both FixedInVersion and Remediation. Valid values are as follows: YES if all vulnerable packages have a value for both FixedInVersion and Remediation NO if no vulnerable packages have a value for FixedInVersion and Remediation PARTIAL otherwise
|
14716
14752
|
*/
|
14717
14753
|
FixAvailable?: VulnerabilityFixAvailable;
|
14754
|
+
/**
|
14755
|
+
* The Exploit Prediction Scoring System (EPSS) score for a finding.
|
14756
|
+
*/
|
14757
|
+
EpssScore?: Double;
|
14758
|
+
/**
|
14759
|
+
* Whether an exploit is available for a finding.
|
14760
|
+
*/
|
14761
|
+
ExploitAvailable?: VulnerabilityExploitAvailable;
|
14762
|
+
/**
|
14763
|
+
* The vulnerabilities found in your Lambda function code. This field pertains to findings that Security Hub receives from Amazon Inspector.
|
14764
|
+
*/
|
14765
|
+
CodeVulnerabilities?: VulnerabilityCodeVulnerabilitiesList;
|
14766
|
+
}
|
14767
|
+
export interface VulnerabilityCodeVulnerabilities {
|
14768
|
+
/**
|
14769
|
+
* The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.
|
14770
|
+
*/
|
14771
|
+
Cwes?: TypeList;
|
14772
|
+
/**
|
14773
|
+
* Provides details about where a code vulnerability is located in your Lambda function.
|
14774
|
+
*/
|
14775
|
+
FilePath?: CodeVulnerabilitiesFilePath;
|
14776
|
+
/**
|
14777
|
+
* The Amazon Resource Name (ARN) of the Lambda layer in which the code vulnerability is located.
|
14778
|
+
*/
|
14779
|
+
SourceArn?: NonEmptyString;
|
14718
14780
|
}
|
14781
|
+
export type VulnerabilityCodeVulnerabilitiesList = VulnerabilityCodeVulnerabilities[];
|
14782
|
+
export type VulnerabilityExploitAvailable = "YES"|"NO"|string;
|
14719
14783
|
export type VulnerabilityFixAvailable = "YES"|"NO"|"PARTIAL"|string;
|
14720
14784
|
export type VulnerabilityList = Vulnerability[];
|
14721
14785
|
export interface VulnerabilityVendor {
|