@aws-sdk/client-inspector2 3.121.0 → 3.130.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 +32 -0
- package/dist-cjs/Inspector2.js +30 -0
- package/dist-cjs/commands/GetConfigurationCommand.js +36 -0
- package/dist-cjs/commands/UpdateConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +66 -2
- package/dist-cjs/protocols/Aws_restJson1.js +431 -461
- package/dist-es/Inspector2.js +30 -0
- package/dist-es/commands/GetConfigurationCommand.js +39 -0
- package/dist-es/commands/UpdateConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +50 -0
- package/dist-es/protocols/Aws_restJson1.js +405 -390
- package/dist-types/Inspector2.d.ts +14 -0
- package/dist-types/Inspector2Client.d.ts +4 -2
- package/dist-types/commands/GetConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +123 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/Inspector2.d.ts +10 -0
- package/dist-types/ts3.4/Inspector2Client.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +84 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **client-inspector2:** This release adds support for Inspector V2 scan configurations through the get and update configuration APIs. Currently this allows configuring ECR automated re-scan duration to lifetime or 180 days or 30 days. ([36bccb8](https://github.com/aws/aws-sdk-js-v3/commit/36bccb8557955688b1589fad74f5354b6e929a16))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-inspector2
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @aws-sdk/client-inspector2
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
7
39
|
|
|
8
40
|
|
package/dist-cjs/Inspector2.js
CHANGED
|
@@ -14,6 +14,7 @@ const DisableDelegatedAdminAccountCommand_1 = require("./commands/DisableDelegat
|
|
|
14
14
|
const DisassociateMemberCommand_1 = require("./commands/DisassociateMemberCommand");
|
|
15
15
|
const EnableCommand_1 = require("./commands/EnableCommand");
|
|
16
16
|
const EnableDelegatedAdminAccountCommand_1 = require("./commands/EnableDelegatedAdminAccountCommand");
|
|
17
|
+
const GetConfigurationCommand_1 = require("./commands/GetConfigurationCommand");
|
|
17
18
|
const GetDelegatedAdminAccountCommand_1 = require("./commands/GetDelegatedAdminAccountCommand");
|
|
18
19
|
const GetFindingsReportStatusCommand_1 = require("./commands/GetFindingsReportStatusCommand");
|
|
19
20
|
const GetMemberCommand_1 = require("./commands/GetMemberCommand");
|
|
@@ -29,6 +30,7 @@ const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceComm
|
|
|
29
30
|
const ListUsageTotalsCommand_1 = require("./commands/ListUsageTotalsCommand");
|
|
30
31
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
31
32
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
33
|
+
const UpdateConfigurationCommand_1 = require("./commands/UpdateConfigurationCommand");
|
|
32
34
|
const UpdateFilterCommand_1 = require("./commands/UpdateFilterCommand");
|
|
33
35
|
const UpdateOrganizationConfigurationCommand_1 = require("./commands/UpdateOrganizationConfigurationCommand");
|
|
34
36
|
const Inspector2Client_1 = require("./Inspector2Client");
|
|
@@ -215,6 +217,20 @@ class Inspector2 extends Inspector2Client_1.Inspector2Client {
|
|
|
215
217
|
return this.send(command, optionsOrCb);
|
|
216
218
|
}
|
|
217
219
|
}
|
|
220
|
+
getConfiguration(args, optionsOrCb, cb) {
|
|
221
|
+
const command = new GetConfigurationCommand_1.GetConfigurationCommand(args);
|
|
222
|
+
if (typeof optionsOrCb === "function") {
|
|
223
|
+
this.send(command, optionsOrCb);
|
|
224
|
+
}
|
|
225
|
+
else if (typeof cb === "function") {
|
|
226
|
+
if (typeof optionsOrCb !== "object")
|
|
227
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
228
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
229
|
+
}
|
|
230
|
+
else {
|
|
231
|
+
return this.send(command, optionsOrCb);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
218
234
|
getDelegatedAdminAccount(args, optionsOrCb, cb) {
|
|
219
235
|
const command = new GetDelegatedAdminAccountCommand_1.GetDelegatedAdminAccountCommand(args);
|
|
220
236
|
if (typeof optionsOrCb === "function") {
|
|
@@ -425,6 +441,20 @@ class Inspector2 extends Inspector2Client_1.Inspector2Client {
|
|
|
425
441
|
return this.send(command, optionsOrCb);
|
|
426
442
|
}
|
|
427
443
|
}
|
|
444
|
+
updateConfiguration(args, optionsOrCb, cb) {
|
|
445
|
+
const command = new UpdateConfigurationCommand_1.UpdateConfigurationCommand(args);
|
|
446
|
+
if (typeof optionsOrCb === "function") {
|
|
447
|
+
this.send(command, optionsOrCb);
|
|
448
|
+
}
|
|
449
|
+
else if (typeof cb === "function") {
|
|
450
|
+
if (typeof optionsOrCb !== "object")
|
|
451
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
452
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
453
|
+
}
|
|
454
|
+
else {
|
|
455
|
+
return this.send(command, optionsOrCb);
|
|
456
|
+
}
|
|
457
|
+
}
|
|
428
458
|
updateFilter(args, optionsOrCb, cb) {
|
|
429
459
|
const command = new UpdateFilterCommand_1.UpdateFilterCommand(args);
|
|
430
460
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetConfigurationCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetConfigurationCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "Inspector2Client";
|
|
18
|
+
const commandName = "GetConfigurationCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetConfigurationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetConfigurationResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetConfigurationCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetConfigurationCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetConfigurationCommand = GetConfigurationCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateConfigurationCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdateConfigurationCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "Inspector2Client";
|
|
18
|
+
const commandName = "UpdateConfigurationCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateConfigurationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UpdateConfigurationResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateConfigurationCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateConfigurationCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateConfigurationCommand = UpdateConfigurationCommand;
|
|
@@ -14,6 +14,7 @@ tslib_1.__exportStar(require("./DisableDelegatedAdminAccountCommand"), exports);
|
|
|
14
14
|
tslib_1.__exportStar(require("./DisassociateMemberCommand"), exports);
|
|
15
15
|
tslib_1.__exportStar(require("./EnableCommand"), exports);
|
|
16
16
|
tslib_1.__exportStar(require("./EnableDelegatedAdminAccountCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./GetConfigurationCommand"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./GetDelegatedAdminAccountCommand"), exports);
|
|
18
19
|
tslib_1.__exportStar(require("./GetFindingsReportStatusCommand"), exports);
|
|
19
20
|
tslib_1.__exportStar(require("./GetMemberCommand"), exports);
|
|
@@ -29,5 +30,6 @@ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
|
29
30
|
tslib_1.__exportStar(require("./ListUsageTotalsCommand"), exports);
|
|
30
31
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
31
32
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./UpdateConfigurationCommand"), exports);
|
|
32
34
|
tslib_1.__exportStar(require("./UpdateFilterCommand"), exports);
|
|
33
35
|
tslib_1.__exportStar(require("./UpdateOrganizationConfigurationCommand"), exports);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ThrottlingException = exports.InternalServerException = exports.AssociateMemberResponse = exports.AssociateMemberRequest = exports.AggregationType = exports.AggregationResponse = exports.TitleAggregationResponse = exports.RepositoryAggregationResponse = exports.PackageAggregationResponse = exports.ImageLayerAggregationResponse = exports.FindingTypeAggregationResponse = exports.Ec2InstanceAggregationResponse = exports.AwsEcrContainerAggregationResponse = exports.AmiAggregationResponse = exports.AggregationRequest = exports.TitleAggregation = exports.TitleSortBy = exports.RepositoryAggregation = exports.RepositorySortBy = exports.PackageAggregation = exports.PackageSortBy = exports.ImageLayerAggregation = exports.ImageLayerSortBy = exports.FindingTypeAggregation = exports.FindingTypeSortBy = exports.Ec2InstanceAggregation = exports.Ec2InstanceSortBy = exports.MapFilter = exports.MapComparison = exports.AwsEcrContainerAggregation = exports.AwsEcrContainerSortBy = exports.AmiAggregation = exports.AmiSortBy = exports.StringFilter = exports.StringComparison = exports.AccountState = exports.ResourceState = exports.State = exports.ErrorCode = exports.AccountAggregationResponse = exports.SeverityCounts = exports.AccountAggregation = exports.SortOrder = exports.AccountSortBy = exports.AggregationResourceType = exports.AggregationFindingType = exports.Account = exports.ResourceStatus = exports.Status = exports.AccessDeniedException = void 0;
|
|
4
4
|
exports.ServiceQuotaExceededException = exports.CreateFilterResponse = exports.CreateFilterRequest = exports.FilterCriteria = exports.PackageFilter = exports.PortRangeFilter = exports.NumberFilter = exports.DateFilter = exports.FilterAction = exports.CoveredResource = exports.ScanType = exports.ScanStatus = exports.ScanStatusCode = exports.ScanStatusReason = exports.ResourceScanMetadata = exports.EcrRepositoryMetadata = exports.EcrScanFrequency = exports.EcrContainerImageMetadata = exports.Ec2Metadata = exports.Ec2Platform = exports.CoverageResourceType = exports.CoverageFilterCriteria = exports.CoverageMapFilter = exports.CoverageMapComparison = exports.CoverageStringFilter = exports.CoverageStringComparison = exports.Counts = exports.GroupKey = exports.ConflictException = exports.CancelFindingsReportResponse = exports.CancelFindingsReportRequest = exports.BatchGetFreeTrialInfoResponse = exports.FreeTrialInfoError = exports.FreeTrialInfoErrorCode = exports.FreeTrialAccountInfo = exports.FreeTrialInfo = exports.FreeTrialType = exports.FreeTrialStatus = exports.BatchGetFreeTrialInfoRequest = exports.ResourceNotFoundException = exports.BatchGetAccountStatusResponse = exports.FailedAccount = exports.BatchGetAccountStatusRequest = exports.BadRequestException = exports.AwsEcrContainerImageDetails = exports.AwsEc2InstanceDetails = exports.AutoEnable = exports.ValidationException = exports.ValidationExceptionReason = exports.ValidationExceptionField = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.UpdateOrganizationConfigurationResponse = exports.UpdateOrganizationConfigurationRequest = exports.UpdateFilterResponse = exports.UpdateFilterRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ListUsageTotalsResponse = exports.UsageTotal = exports.Usage = exports.UsageType = exports.ListUsageTotalsRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListMembersResponse = exports.ListMembersRequest = exports.ListFindingsResponse = exports.ListFindingsRequest = exports.SortCriteria = exports.SortField = exports.ListFindingAggregationsResponse = exports.ListFindingAggregationsRequest = exports.ListFiltersResponse = exports.ListFiltersRequest = exports.ListDelegatedAdminAccountsResponse = exports.ListDelegatedAdminAccountsRequest = exports.ListCoverageStatisticsResponse = exports.ListCoverageStatisticsRequest = exports.ListCoverageResponse = exports.ListCoverageRequest = exports.ListAccountPermissionsResponse = exports.Permission = exports.Operation = exports.ListAccountPermissionsRequest = exports.Service = exports.GetMemberResponse = exports.Member = exports.GetMemberRequest = exports.GetFindingsReportStatusResponse = exports.ReportingErrorCode = void 0;
|
|
5
|
+
exports.FindingStatus = exports.Severity = exports.Resource = exports.ResourceType = exports.ResourceDetails = exports.Remediation = exports.Recommendation = exports.PackageVulnerabilityDetails = exports.VulnerablePackage = exports.PackageManager = exports.NetworkReachabilityDetails = exports.NetworkProtocol = exports.PortRange = exports.NetworkPath = exports.Step = exports.InspectorScoreDetails = exports.Filter = exports.ExternalReportStatus = exports.EnableDelegatedAdminAccountResponse = exports.EnableDelegatedAdminAccountRequest = exports.EnableResponse = exports.EnableRequest = exports.EcrConfigurationState = exports.EcrRescanDurationState = exports.EcrRescanDurationStatus = exports.EcrConfiguration = exports.EcrRescanDuration = exports.DisassociateMemberResponse = exports.DisassociateMemberRequest = exports.DisableDelegatedAdminAccountResponse = exports.DisableDelegatedAdminAccountRequest = exports.DisableResponse = exports.DisableRequest = exports.ResourceScanType = exports.DescribeOrganizationConfigurationResponse = exports.DescribeOrganizationConfigurationRequest = exports.DeleteFilterResponse = exports.DeleteFilterRequest = exports.DelegatedAdminAccount = exports.DelegatedAdminStatus = exports.DelegatedAdmin = exports.RelationshipStatus = exports.CvssScoreDetails = exports.CvssScoreAdjustment = exports.CvssScore = exports.Currency = exports.CreateFindingsReportResponse = exports.CreateFindingsReportRequest = exports.Destination = exports.ReportFormat = void 0;
|
|
6
|
+
exports.UpdateOrganizationConfigurationResponse = exports.UpdateOrganizationConfigurationRequest = exports.UpdateFilterResponse = exports.UpdateFilterRequest = exports.UpdateConfigurationResponse = exports.UpdateConfigurationRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ListUsageTotalsResponse = exports.UsageTotal = exports.Usage = exports.UsageType = exports.ListUsageTotalsRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListMembersResponse = exports.ListMembersRequest = exports.ListFindingsResponse = exports.ListFindingsRequest = exports.SortCriteria = exports.SortField = exports.ListFindingAggregationsResponse = exports.ListFindingAggregationsRequest = exports.ListFiltersResponse = exports.ListFiltersRequest = exports.ListDelegatedAdminAccountsResponse = exports.ListDelegatedAdminAccountsRequest = exports.ListCoverageStatisticsResponse = exports.ListCoverageStatisticsRequest = exports.ListCoverageResponse = exports.ListCoverageRequest = exports.ListAccountPermissionsResponse = exports.Permission = exports.Operation = exports.ListAccountPermissionsRequest = exports.Service = exports.GetMemberResponse = exports.Member = exports.GetMemberRequest = exports.GetFindingsReportStatusResponse = exports.ReportingErrorCode = exports.GetFindingsReportStatusRequest = exports.GetDelegatedAdminAccountResponse = exports.GetDelegatedAdminAccountRequest = exports.GetConfigurationResponse = exports.GetConfigurationRequest = exports.Finding = exports.FindingType = void 0;
|
|
7
7
|
const Inspector2ServiceException_1 = require("./Inspector2ServiceException");
|
|
8
8
|
class AccessDeniedException extends Inspector2ServiceException_1.Inspector2ServiceException {
|
|
9
9
|
constructor(opts) {
|
|
@@ -81,6 +81,7 @@ var AccountAggregationResponse;
|
|
|
81
81
|
var ErrorCode;
|
|
82
82
|
(function (ErrorCode) {
|
|
83
83
|
ErrorCode["ACCESS_DENIED"] = "ACCESS_DENIED";
|
|
84
|
+
ErrorCode["ACCOUNT_IS_ISOLATED"] = "ACCOUNT_IS_ISOLATED";
|
|
84
85
|
ErrorCode["ALREADY_ENABLED"] = "ALREADY_ENABLED";
|
|
85
86
|
ErrorCode["DISABLE_IN_PROGRESS"] = "DISABLE_IN_PROGRESS";
|
|
86
87
|
ErrorCode["DISASSOCIATE_ALL_MEMBERS"] = "DISASSOCIATE_ALL_MEMBERS";
|
|
@@ -680,6 +681,7 @@ var ScanStatusReason;
|
|
|
680
681
|
ScanStatusReason["IMAGE_SIZE_EXCEEDED"] = "IMAGE_SIZE_EXCEEDED";
|
|
681
682
|
ScanStatusReason["INTERNAL_ERROR"] = "INTERNAL_ERROR";
|
|
682
683
|
ScanStatusReason["NO_RESOURCES_FOUND"] = "NO_RESOURCES_FOUND";
|
|
684
|
+
ScanStatusReason["PENDING_DISABLE"] = "PENDING_DISABLE";
|
|
683
685
|
ScanStatusReason["PENDING_INITIAL_SCAN"] = "PENDING_INITIAL_SCAN";
|
|
684
686
|
ScanStatusReason["RESOURCE_TERMINATED"] = "RESOURCE_TERMINATED";
|
|
685
687
|
ScanStatusReason["SCAN_ELIGIBILITY_EXPIRED"] = "SCAN_ELIGIBILITY_EXPIRED";
|
|
@@ -914,6 +916,36 @@ var DisassociateMemberResponse;
|
|
|
914
916
|
...obj,
|
|
915
917
|
});
|
|
916
918
|
})(DisassociateMemberResponse = exports.DisassociateMemberResponse || (exports.DisassociateMemberResponse = {}));
|
|
919
|
+
var EcrRescanDuration;
|
|
920
|
+
(function (EcrRescanDuration) {
|
|
921
|
+
EcrRescanDuration["DAYS_180"] = "DAYS_180";
|
|
922
|
+
EcrRescanDuration["DAYS_30"] = "DAYS_30";
|
|
923
|
+
EcrRescanDuration["LIFETIME"] = "LIFETIME";
|
|
924
|
+
})(EcrRescanDuration = exports.EcrRescanDuration || (exports.EcrRescanDuration = {}));
|
|
925
|
+
var EcrConfiguration;
|
|
926
|
+
(function (EcrConfiguration) {
|
|
927
|
+
EcrConfiguration.filterSensitiveLog = (obj) => ({
|
|
928
|
+
...obj,
|
|
929
|
+
});
|
|
930
|
+
})(EcrConfiguration = exports.EcrConfiguration || (exports.EcrConfiguration = {}));
|
|
931
|
+
var EcrRescanDurationStatus;
|
|
932
|
+
(function (EcrRescanDurationStatus) {
|
|
933
|
+
EcrRescanDurationStatus["FAILED"] = "FAILED";
|
|
934
|
+
EcrRescanDurationStatus["PENDING"] = "PENDING";
|
|
935
|
+
EcrRescanDurationStatus["SUCCESS"] = "SUCCESS";
|
|
936
|
+
})(EcrRescanDurationStatus = exports.EcrRescanDurationStatus || (exports.EcrRescanDurationStatus = {}));
|
|
937
|
+
var EcrRescanDurationState;
|
|
938
|
+
(function (EcrRescanDurationState) {
|
|
939
|
+
EcrRescanDurationState.filterSensitiveLog = (obj) => ({
|
|
940
|
+
...obj,
|
|
941
|
+
});
|
|
942
|
+
})(EcrRescanDurationState = exports.EcrRescanDurationState || (exports.EcrRescanDurationState = {}));
|
|
943
|
+
var EcrConfigurationState;
|
|
944
|
+
(function (EcrConfigurationState) {
|
|
945
|
+
EcrConfigurationState.filterSensitiveLog = (obj) => ({
|
|
946
|
+
...obj,
|
|
947
|
+
});
|
|
948
|
+
})(EcrConfigurationState = exports.EcrConfigurationState || (exports.EcrConfigurationState = {}));
|
|
917
949
|
var EnableRequest;
|
|
918
950
|
(function (EnableRequest) {
|
|
919
951
|
EnableRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -994,11 +1026,15 @@ var PackageManager;
|
|
|
994
1026
|
PackageManager["GOBINARY"] = "GOBINARY";
|
|
995
1027
|
PackageManager["GOMOD"] = "GOMOD";
|
|
996
1028
|
PackageManager["JAR"] = "JAR";
|
|
1029
|
+
PackageManager["NODEPKG"] = "NODEPKG";
|
|
997
1030
|
PackageManager["NPM"] = "NPM";
|
|
998
1031
|
PackageManager["NUGET"] = "NUGET";
|
|
999
1032
|
PackageManager["OS"] = "OS";
|
|
1033
|
+
PackageManager["PIP"] = "PIP";
|
|
1000
1034
|
PackageManager["PIPENV"] = "PIPENV";
|
|
1001
1035
|
PackageManager["POETRY"] = "POETRY";
|
|
1036
|
+
PackageManager["POM"] = "POM";
|
|
1037
|
+
PackageManager["PYTHONPKG"] = "PYTHONPKG";
|
|
1002
1038
|
PackageManager["YARN"] = "YARN";
|
|
1003
1039
|
})(PackageManager = exports.PackageManager || (exports.PackageManager = {}));
|
|
1004
1040
|
var VulnerablePackage;
|
|
@@ -1069,6 +1105,18 @@ var Finding;
|
|
|
1069
1105
|
...obj,
|
|
1070
1106
|
});
|
|
1071
1107
|
})(Finding = exports.Finding || (exports.Finding = {}));
|
|
1108
|
+
var GetConfigurationRequest;
|
|
1109
|
+
(function (GetConfigurationRequest) {
|
|
1110
|
+
GetConfigurationRequest.filterSensitiveLog = (obj) => ({
|
|
1111
|
+
...obj,
|
|
1112
|
+
});
|
|
1113
|
+
})(GetConfigurationRequest = exports.GetConfigurationRequest || (exports.GetConfigurationRequest = {}));
|
|
1114
|
+
var GetConfigurationResponse;
|
|
1115
|
+
(function (GetConfigurationResponse) {
|
|
1116
|
+
GetConfigurationResponse.filterSensitiveLog = (obj) => ({
|
|
1117
|
+
...obj,
|
|
1118
|
+
});
|
|
1119
|
+
})(GetConfigurationResponse = exports.GetConfigurationResponse || (exports.GetConfigurationResponse = {}));
|
|
1072
1120
|
var GetDelegatedAdminAccountRequest;
|
|
1073
1121
|
(function (GetDelegatedAdminAccountRequest) {
|
|
1074
1122
|
GetDelegatedAdminAccountRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1089,8 +1137,12 @@ var GetFindingsReportStatusRequest;
|
|
|
1089
1137
|
})(GetFindingsReportStatusRequest = exports.GetFindingsReportStatusRequest || (exports.GetFindingsReportStatusRequest = {}));
|
|
1090
1138
|
var ReportingErrorCode;
|
|
1091
1139
|
(function (ReportingErrorCode) {
|
|
1140
|
+
ReportingErrorCode["BUCKET_NOT_FOUND"] = "BUCKET_NOT_FOUND";
|
|
1141
|
+
ReportingErrorCode["INCOMPATIBLE_BUCKET_REGION"] = "INCOMPATIBLE_BUCKET_REGION";
|
|
1092
1142
|
ReportingErrorCode["INTERNAL_ERROR"] = "INTERNAL_ERROR";
|
|
1093
1143
|
ReportingErrorCode["INVALID_PERMISSIONS"] = "INVALID_PERMISSIONS";
|
|
1144
|
+
ReportingErrorCode["MALFORMED_KMS_KEY"] = "MALFORMED_KMS_KEY";
|
|
1145
|
+
ReportingErrorCode["NO_FINDINGS_FOUND"] = "NO_FINDINGS_FOUND";
|
|
1094
1146
|
})(ReportingErrorCode = exports.ReportingErrorCode || (exports.ReportingErrorCode = {}));
|
|
1095
1147
|
var GetFindingsReportStatusResponse;
|
|
1096
1148
|
(function (GetFindingsReportStatusResponse) {
|
|
@@ -1325,6 +1377,18 @@ var UntagResourceResponse;
|
|
|
1325
1377
|
...obj,
|
|
1326
1378
|
});
|
|
1327
1379
|
})(UntagResourceResponse = exports.UntagResourceResponse || (exports.UntagResourceResponse = {}));
|
|
1380
|
+
var UpdateConfigurationRequest;
|
|
1381
|
+
(function (UpdateConfigurationRequest) {
|
|
1382
|
+
UpdateConfigurationRequest.filterSensitiveLog = (obj) => ({
|
|
1383
|
+
...obj,
|
|
1384
|
+
});
|
|
1385
|
+
})(UpdateConfigurationRequest = exports.UpdateConfigurationRequest || (exports.UpdateConfigurationRequest = {}));
|
|
1386
|
+
var UpdateConfigurationResponse;
|
|
1387
|
+
(function (UpdateConfigurationResponse) {
|
|
1388
|
+
UpdateConfigurationResponse.filterSensitiveLog = (obj) => ({
|
|
1389
|
+
...obj,
|
|
1390
|
+
});
|
|
1391
|
+
})(UpdateConfigurationResponse = exports.UpdateConfigurationResponse || (exports.UpdateConfigurationResponse = {}));
|
|
1328
1392
|
var UpdateFilterRequest;
|
|
1329
1393
|
(function (UpdateFilterRequest) {
|
|
1330
1394
|
UpdateFilterRequest.filterSensitiveLog = (obj) => ({
|