@aws-sdk/client-inspector2 3.495.0 → 3.498.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/README.md +104 -0
- package/dist-cjs/commands/CreateCisScanConfigurationCommand.js +1 -0
- package/dist-cjs/commands/DeleteCisScanConfigurationCommand.js +1 -0
- package/dist-cjs/commands/GetCisScanReportCommand.js +1 -0
- package/dist-cjs/commands/GetCisScanResultDetailsCommand.js +1 -0
- package/dist-cjs/commands/ListCisScanConfigurationsCommand.js +1 -0
- package/dist-cjs/commands/ListCisScanResultsAggregatedByChecksCommand.js +1 -0
- package/dist-cjs/commands/ListCisScanResultsAggregatedByTargetResourceCommand.js +1 -0
- package/dist-cjs/commands/ListCisScansCommand.js +1 -0
- package/dist-cjs/commands/SendCisSessionHealthCommand.js +1 -0
- package/dist-cjs/commands/SendCisSessionTelemetryCommand.js +1 -0
- package/dist-cjs/commands/StartCisSessionCommand.js +1 -0
- package/dist-cjs/commands/StopCisSessionCommand.js +1 -0
- package/dist-cjs/commands/UpdateCisScanConfigurationCommand.js +1 -0
- package/dist-cjs/index.js +1722 -397
- package/dist-cjs/models/models_1.js +1 -0
- package/dist-cjs/pagination/GetCisScanResultDetailsPaginator.js +1 -0
- package/dist-cjs/pagination/ListCisScanConfigurationsPaginator.js +1 -0
- package/dist-cjs/pagination/ListCisScanResultsAggregatedByChecksPaginator.js +1 -0
- package/dist-cjs/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.js +1 -0
- package/dist-cjs/pagination/ListCisScansPaginator.js +1 -0
- package/dist-es/Inspector2.js +26 -0
- package/dist-es/commands/CreateCisScanConfigurationCommand.js +24 -0
- package/dist-es/commands/DeleteCisScanConfigurationCommand.js +24 -0
- package/dist-es/commands/GetCisScanReportCommand.js +24 -0
- package/dist-es/commands/GetCisScanResultDetailsCommand.js +24 -0
- package/dist-es/commands/ListCisScanConfigurationsCommand.js +24 -0
- package/dist-es/commands/ListCisScanResultsAggregatedByChecksCommand.js +24 -0
- package/dist-es/commands/ListCisScanResultsAggregatedByTargetResourceCommand.js +24 -0
- package/dist-es/commands/ListCisScansCommand.js +24 -0
- package/dist-es/commands/SendCisSessionHealthCommand.js +24 -0
- package/dist-es/commands/SendCisSessionTelemetryCommand.js +24 -0
- package/dist-es/commands/StartCisSessionCommand.js +24 -0
- package/dist-es/commands/StopCisSessionCommand.js +24 -0
- package/dist-es/commands/UpdateCisScanConfigurationCommand.js +24 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +126 -28
- package/dist-es/models/models_1.js +35 -0
- package/dist-es/pagination/GetCisScanResultDetailsPaginator.js +4 -0
- package/dist-es/pagination/ListCisScanConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/ListCisScanResultsAggregatedByChecksPaginator.js +4 -0
- package/dist-es/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.js +4 -0
- package/dist-es/pagination/ListCisScansPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +847 -20
- package/dist-types/Inspector2.d.ts +91 -0
- package/dist-types/Inspector2Client.d.ts +15 -2
- package/dist-types/commands/CreateCisScanConfigurationCommand.d.ts +110 -0
- package/dist-types/commands/DeleteCisScanConfigurationCommand.d.ts +74 -0
- package/dist-types/commands/GetCisScanReportCommand.d.ts +75 -0
- package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +125 -0
- package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +141 -0
- package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +129 -0
- package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +152 -0
- package/dist-types/commands/ListCisScansCommand.d.ts +158 -0
- package/dist-types/commands/ListCoverageCommand.d.ts +2 -1
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
- package/dist-types/commands/ListFiltersCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingsCommand.d.ts +1 -1
- package/dist-types/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListUsageTotalsCommand.d.ts +1 -1
- package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
- package/dist-types/commands/SendCisSessionHealthCommand.d.ts +77 -0
- package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +84 -0
- package/dist-types/commands/StartCisSessionCommand.d.ts +79 -0
- package/dist-types/commands/StopCisSessionCommand.d.ts +98 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCisScanConfigurationCommand.d.ts +111 -0
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFilterCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2223 -1516
- package/dist-types/models/models_1.d.ts +1053 -0
- package/dist-types/pagination/GetCisScanResultDetailsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCisScanConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCisScanResultsAggregatedByChecksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.d.ts +7 -0
- package/dist-types/pagination/ListCisScansPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
- package/dist-types/ts3.4/Inspector2.d.ts +233 -0
- package/dist-types/ts3.4/Inspector2Client.d.ts +78 -0
- package/dist-types/ts3.4/commands/CreateCisScanConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteCisScanConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetCisScanReportCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/GetCisScanResultDetailsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListCisScanConfigurationsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListCisScansCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendCisSessionHealthCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/SendCisSessionTelemetryCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/StartCisSessionCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/StopCisSessionCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCisScanConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +449 -192
- package/dist-types/ts3.4/models/models_1.d.ts +309 -0
- package/dist-types/ts3.4/pagination/GetCisScanResultDetailsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCisScanConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCisScanResultsAggregatedByChecksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCisScansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
- package/package.json +39 -39
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-es/Inspector2.js
CHANGED
|
@@ -8,9 +8,11 @@ import { BatchGetMemberEc2DeepInspectionStatusCommand, } from "./commands/BatchG
|
|
|
8
8
|
import { BatchUpdateMemberEc2DeepInspectionStatusCommand, } from "./commands/BatchUpdateMemberEc2DeepInspectionStatusCommand";
|
|
9
9
|
import { CancelFindingsReportCommand, } from "./commands/CancelFindingsReportCommand";
|
|
10
10
|
import { CancelSbomExportCommand, } from "./commands/CancelSbomExportCommand";
|
|
11
|
+
import { CreateCisScanConfigurationCommand, } from "./commands/CreateCisScanConfigurationCommand";
|
|
11
12
|
import { CreateFilterCommand, } from "./commands/CreateFilterCommand";
|
|
12
13
|
import { CreateFindingsReportCommand, } from "./commands/CreateFindingsReportCommand";
|
|
13
14
|
import { CreateSbomExportCommand, } from "./commands/CreateSbomExportCommand";
|
|
15
|
+
import { DeleteCisScanConfigurationCommand, } from "./commands/DeleteCisScanConfigurationCommand";
|
|
14
16
|
import { DeleteFilterCommand, } from "./commands/DeleteFilterCommand";
|
|
15
17
|
import { DescribeOrganizationConfigurationCommand, } from "./commands/DescribeOrganizationConfigurationCommand";
|
|
16
18
|
import { DisableCommand } from "./commands/DisableCommand";
|
|
@@ -18,6 +20,8 @@ import { DisableDelegatedAdminAccountCommand, } from "./commands/DisableDelegate
|
|
|
18
20
|
import { DisassociateMemberCommand, } from "./commands/DisassociateMemberCommand";
|
|
19
21
|
import { EnableCommand } from "./commands/EnableCommand";
|
|
20
22
|
import { EnableDelegatedAdminAccountCommand, } from "./commands/EnableDelegatedAdminAccountCommand";
|
|
23
|
+
import { GetCisScanReportCommand, } from "./commands/GetCisScanReportCommand";
|
|
24
|
+
import { GetCisScanResultDetailsCommand, } from "./commands/GetCisScanResultDetailsCommand";
|
|
21
25
|
import { GetConfigurationCommand, } from "./commands/GetConfigurationCommand";
|
|
22
26
|
import { GetDelegatedAdminAccountCommand, } from "./commands/GetDelegatedAdminAccountCommand";
|
|
23
27
|
import { GetEc2DeepInspectionConfigurationCommand, } from "./commands/GetEc2DeepInspectionConfigurationCommand";
|
|
@@ -26,6 +30,10 @@ import { GetFindingsReportStatusCommand, } from "./commands/GetFindingsReportSta
|
|
|
26
30
|
import { GetMemberCommand } from "./commands/GetMemberCommand";
|
|
27
31
|
import { GetSbomExportCommand, } from "./commands/GetSbomExportCommand";
|
|
28
32
|
import { ListAccountPermissionsCommand, } from "./commands/ListAccountPermissionsCommand";
|
|
33
|
+
import { ListCisScanConfigurationsCommand, } from "./commands/ListCisScanConfigurationsCommand";
|
|
34
|
+
import { ListCisScanResultsAggregatedByChecksCommand, } from "./commands/ListCisScanResultsAggregatedByChecksCommand";
|
|
35
|
+
import { ListCisScanResultsAggregatedByTargetResourceCommand, } from "./commands/ListCisScanResultsAggregatedByTargetResourceCommand";
|
|
36
|
+
import { ListCisScansCommand, } from "./commands/ListCisScansCommand";
|
|
29
37
|
import { ListCoverageCommand, } from "./commands/ListCoverageCommand";
|
|
30
38
|
import { ListCoverageStatisticsCommand, } from "./commands/ListCoverageStatisticsCommand";
|
|
31
39
|
import { ListDelegatedAdminAccountsCommand, } from "./commands/ListDelegatedAdminAccountsCommand";
|
|
@@ -37,8 +45,13 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
|
|
|
37
45
|
import { ListUsageTotalsCommand, } from "./commands/ListUsageTotalsCommand";
|
|
38
46
|
import { ResetEncryptionKeyCommand, } from "./commands/ResetEncryptionKeyCommand";
|
|
39
47
|
import { SearchVulnerabilitiesCommand, } from "./commands/SearchVulnerabilitiesCommand";
|
|
48
|
+
import { SendCisSessionHealthCommand, } from "./commands/SendCisSessionHealthCommand";
|
|
49
|
+
import { SendCisSessionTelemetryCommand, } from "./commands/SendCisSessionTelemetryCommand";
|
|
50
|
+
import { StartCisSessionCommand, } from "./commands/StartCisSessionCommand";
|
|
51
|
+
import { StopCisSessionCommand, } from "./commands/StopCisSessionCommand";
|
|
40
52
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
41
53
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
54
|
+
import { UpdateCisScanConfigurationCommand, } from "./commands/UpdateCisScanConfigurationCommand";
|
|
42
55
|
import { UpdateConfigurationCommand, } from "./commands/UpdateConfigurationCommand";
|
|
43
56
|
import { UpdateEc2DeepInspectionConfigurationCommand, } from "./commands/UpdateEc2DeepInspectionConfigurationCommand";
|
|
44
57
|
import { UpdateEncryptionKeyCommand, } from "./commands/UpdateEncryptionKeyCommand";
|
|
@@ -56,9 +69,11 @@ const commands = {
|
|
|
56
69
|
BatchUpdateMemberEc2DeepInspectionStatusCommand,
|
|
57
70
|
CancelFindingsReportCommand,
|
|
58
71
|
CancelSbomExportCommand,
|
|
72
|
+
CreateCisScanConfigurationCommand,
|
|
59
73
|
CreateFilterCommand,
|
|
60
74
|
CreateFindingsReportCommand,
|
|
61
75
|
CreateSbomExportCommand,
|
|
76
|
+
DeleteCisScanConfigurationCommand,
|
|
62
77
|
DeleteFilterCommand,
|
|
63
78
|
DescribeOrganizationConfigurationCommand,
|
|
64
79
|
DisableCommand,
|
|
@@ -66,6 +81,8 @@ const commands = {
|
|
|
66
81
|
DisassociateMemberCommand,
|
|
67
82
|
EnableCommand,
|
|
68
83
|
EnableDelegatedAdminAccountCommand,
|
|
84
|
+
GetCisScanReportCommand,
|
|
85
|
+
GetCisScanResultDetailsCommand,
|
|
69
86
|
GetConfigurationCommand,
|
|
70
87
|
GetDelegatedAdminAccountCommand,
|
|
71
88
|
GetEc2DeepInspectionConfigurationCommand,
|
|
@@ -74,6 +91,10 @@ const commands = {
|
|
|
74
91
|
GetMemberCommand,
|
|
75
92
|
GetSbomExportCommand,
|
|
76
93
|
ListAccountPermissionsCommand,
|
|
94
|
+
ListCisScanConfigurationsCommand,
|
|
95
|
+
ListCisScanResultsAggregatedByChecksCommand,
|
|
96
|
+
ListCisScanResultsAggregatedByTargetResourceCommand,
|
|
97
|
+
ListCisScansCommand,
|
|
77
98
|
ListCoverageCommand,
|
|
78
99
|
ListCoverageStatisticsCommand,
|
|
79
100
|
ListDelegatedAdminAccountsCommand,
|
|
@@ -85,8 +106,13 @@ const commands = {
|
|
|
85
106
|
ListUsageTotalsCommand,
|
|
86
107
|
ResetEncryptionKeyCommand,
|
|
87
108
|
SearchVulnerabilitiesCommand,
|
|
109
|
+
SendCisSessionHealthCommand,
|
|
110
|
+
SendCisSessionTelemetryCommand,
|
|
111
|
+
StartCisSessionCommand,
|
|
112
|
+
StopCisSessionCommand,
|
|
88
113
|
TagResourceCommand,
|
|
89
114
|
UntagResourceCommand,
|
|
115
|
+
UpdateCisScanConfigurationCommand,
|
|
90
116
|
UpdateConfigurationCommand,
|
|
91
117
|
UpdateEc2DeepInspectionConfigurationCommand,
|
|
92
118
|
UpdateEncryptionKeyCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateCisScanConfigurationCommand, se_CreateCisScanConfigurationCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateCisScanConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Inspector2", "CreateCisScanConfiguration", {})
|
|
19
|
+
.n("Inspector2Client", "CreateCisScanConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateCisScanConfigurationCommand)
|
|
22
|
+
.de(de_CreateCisScanConfigurationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteCisScanConfigurationCommand, se_DeleteCisScanConfigurationCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteCisScanConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Inspector2", "DeleteCisScanConfiguration", {})
|
|
19
|
+
.n("Inspector2Client", "DeleteCisScanConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteCisScanConfigurationCommand)
|
|
22
|
+
.de(de_DeleteCisScanConfigurationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetCisScanReportCommand, se_GetCisScanReportCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetCisScanReportCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Inspector2", "GetCisScanReport", {})
|
|
19
|
+
.n("Inspector2Client", "GetCisScanReportCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetCisScanReportCommand)
|
|
22
|
+
.de(de_GetCisScanReportCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetCisScanResultDetailsCommand, se_GetCisScanResultDetailsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetCisScanResultDetailsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Inspector2", "GetCisScanResultDetails", {})
|
|
19
|
+
.n("Inspector2Client", "GetCisScanResultDetailsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetCisScanResultDetailsCommand)
|
|
22
|
+
.de(de_GetCisScanResultDetailsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListCisScanConfigurationsCommand, se_ListCisScanConfigurationsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListCisScanConfigurationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Inspector2", "ListCisScanConfigurations", {})
|
|
19
|
+
.n("Inspector2Client", "ListCisScanConfigurationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListCisScanConfigurationsCommand)
|
|
22
|
+
.de(de_ListCisScanConfigurationsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListCisScanResultsAggregatedByChecksCommand, se_ListCisScanResultsAggregatedByChecksCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListCisScanResultsAggregatedByChecksCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Inspector2", "ListCisScanResultsAggregatedByChecks", {})
|
|
19
|
+
.n("Inspector2Client", "ListCisScanResultsAggregatedByChecksCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListCisScanResultsAggregatedByChecksCommand)
|
|
22
|
+
.de(de_ListCisScanResultsAggregatedByChecksCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListCisScanResultsAggregatedByTargetResourceCommand, se_ListCisScanResultsAggregatedByTargetResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListCisScanResultsAggregatedByTargetResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Inspector2", "ListCisScanResultsAggregatedByTargetResource", {})
|
|
19
|
+
.n("Inspector2Client", "ListCisScanResultsAggregatedByTargetResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListCisScanResultsAggregatedByTargetResourceCommand)
|
|
22
|
+
.de(de_ListCisScanResultsAggregatedByTargetResourceCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListCisScansCommand, se_ListCisScansCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListCisScansCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Inspector2", "ListCisScans", {})
|
|
19
|
+
.n("Inspector2Client", "ListCisScansCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListCisScansCommand)
|
|
22
|
+
.de(de_ListCisScansCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_SendCisSessionHealthCommand, se_SendCisSessionHealthCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class SendCisSessionHealthCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Inspector2", "SendCisSessionHealth", {})
|
|
19
|
+
.n("Inspector2Client", "SendCisSessionHealthCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_SendCisSessionHealthCommand)
|
|
22
|
+
.de(de_SendCisSessionHealthCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_SendCisSessionTelemetryCommand, se_SendCisSessionTelemetryCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class SendCisSessionTelemetryCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Inspector2", "SendCisSessionTelemetry", {})
|
|
19
|
+
.n("Inspector2Client", "SendCisSessionTelemetryCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_SendCisSessionTelemetryCommand)
|
|
22
|
+
.de(de_SendCisSessionTelemetryCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StartCisSessionCommand, se_StartCisSessionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartCisSessionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Inspector2", "StartCisSession", {})
|
|
19
|
+
.n("Inspector2Client", "StartCisSessionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StartCisSessionCommand)
|
|
22
|
+
.de(de_StartCisSessionCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StopCisSessionCommand, se_StopCisSessionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StopCisSessionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Inspector2", "StopCisSession", {})
|
|
19
|
+
.n("Inspector2Client", "StopCisSessionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StopCisSessionCommand)
|
|
22
|
+
.de(de_StopCisSessionCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateCisScanConfigurationCommand, se_UpdateCisScanConfigurationCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateCisScanConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Inspector2", "UpdateCisScanConfiguration", {})
|
|
19
|
+
.n("Inspector2Client", "UpdateCisScanConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateCisScanConfigurationCommand)
|
|
22
|
+
.de(de_UpdateCisScanConfigurationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -7,9 +7,11 @@ export * from "./BatchGetMemberEc2DeepInspectionStatusCommand";
|
|
|
7
7
|
export * from "./BatchUpdateMemberEc2DeepInspectionStatusCommand";
|
|
8
8
|
export * from "./CancelFindingsReportCommand";
|
|
9
9
|
export * from "./CancelSbomExportCommand";
|
|
10
|
+
export * from "./CreateCisScanConfigurationCommand";
|
|
10
11
|
export * from "./CreateFilterCommand";
|
|
11
12
|
export * from "./CreateFindingsReportCommand";
|
|
12
13
|
export * from "./CreateSbomExportCommand";
|
|
14
|
+
export * from "./DeleteCisScanConfigurationCommand";
|
|
13
15
|
export * from "./DeleteFilterCommand";
|
|
14
16
|
export * from "./DescribeOrganizationConfigurationCommand";
|
|
15
17
|
export * from "./DisableCommand";
|
|
@@ -17,6 +19,8 @@ export * from "./DisableDelegatedAdminAccountCommand";
|
|
|
17
19
|
export * from "./DisassociateMemberCommand";
|
|
18
20
|
export * from "./EnableCommand";
|
|
19
21
|
export * from "./EnableDelegatedAdminAccountCommand";
|
|
22
|
+
export * from "./GetCisScanReportCommand";
|
|
23
|
+
export * from "./GetCisScanResultDetailsCommand";
|
|
20
24
|
export * from "./GetConfigurationCommand";
|
|
21
25
|
export * from "./GetDelegatedAdminAccountCommand";
|
|
22
26
|
export * from "./GetEc2DeepInspectionConfigurationCommand";
|
|
@@ -25,6 +29,10 @@ export * from "./GetFindingsReportStatusCommand";
|
|
|
25
29
|
export * from "./GetMemberCommand";
|
|
26
30
|
export * from "./GetSbomExportCommand";
|
|
27
31
|
export * from "./ListAccountPermissionsCommand";
|
|
32
|
+
export * from "./ListCisScanConfigurationsCommand";
|
|
33
|
+
export * from "./ListCisScanResultsAggregatedByChecksCommand";
|
|
34
|
+
export * from "./ListCisScanResultsAggregatedByTargetResourceCommand";
|
|
35
|
+
export * from "./ListCisScansCommand";
|
|
28
36
|
export * from "./ListCoverageCommand";
|
|
29
37
|
export * from "./ListCoverageStatisticsCommand";
|
|
30
38
|
export * from "./ListDelegatedAdminAccountsCommand";
|
|
@@ -36,8 +44,13 @@ export * from "./ListTagsForResourceCommand";
|
|
|
36
44
|
export * from "./ListUsageTotalsCommand";
|
|
37
45
|
export * from "./ResetEncryptionKeyCommand";
|
|
38
46
|
export * from "./SearchVulnerabilitiesCommand";
|
|
47
|
+
export * from "./SendCisSessionHealthCommand";
|
|
48
|
+
export * from "./SendCisSessionTelemetryCommand";
|
|
49
|
+
export * from "./StartCisSessionCommand";
|
|
50
|
+
export * from "./StopCisSessionCommand";
|
|
39
51
|
export * from "./TagResourceCommand";
|
|
40
52
|
export * from "./UntagResourceCommand";
|
|
53
|
+
export * from "./UpdateCisScanConfigurationCommand";
|
|
41
54
|
export * from "./UpdateConfigurationCommand";
|
|
42
55
|
export * from "./UpdateEc2DeepInspectionConfigurationCommand";
|
|
43
56
|
export * from "./UpdateEncryptionKeyCommand";
|
package/dist-es/models/index.js
CHANGED
|
@@ -38,6 +38,11 @@ export const SortOrder = {
|
|
|
38
38
|
ASC: "ASC",
|
|
39
39
|
DESC: "DESC",
|
|
40
40
|
};
|
|
41
|
+
export const CisStringComparison = {
|
|
42
|
+
EQUALS: "EQUALS",
|
|
43
|
+
NOT_EQUALS: "NOT_EQUALS",
|
|
44
|
+
PREFIX: "PREFIX",
|
|
45
|
+
};
|
|
41
46
|
export const ErrorCode = {
|
|
42
47
|
ACCESS_DENIED: "ACCESS_DENIED",
|
|
43
48
|
ACCOUNT_IS_ISOLATED: "ACCOUNT_IS_ISOLATED",
|
|
@@ -314,6 +319,118 @@ export const Ec2DeepInspectionStatus = {
|
|
|
314
319
|
FAILED: "FAILED",
|
|
315
320
|
PENDING: "PENDING",
|
|
316
321
|
};
|
|
322
|
+
export const CisSecurityLevel = {
|
|
323
|
+
LEVEL_1: "LEVEL_1",
|
|
324
|
+
LEVEL_2: "LEVEL_2",
|
|
325
|
+
};
|
|
326
|
+
export const CisFindingStatus = {
|
|
327
|
+
FAILED: "FAILED",
|
|
328
|
+
PASSED: "PASSED",
|
|
329
|
+
SKIPPED: "SKIPPED",
|
|
330
|
+
};
|
|
331
|
+
export const CisFindingStatusComparison = {
|
|
332
|
+
EQUALS: "EQUALS",
|
|
333
|
+
};
|
|
334
|
+
export const CisReportStatus = {
|
|
335
|
+
FAILED: "FAILED",
|
|
336
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
337
|
+
SUCCEEDED: "SUCCEEDED",
|
|
338
|
+
};
|
|
339
|
+
export const CisResultStatus = {
|
|
340
|
+
FAILED: "FAILED",
|
|
341
|
+
PASSED: "PASSED",
|
|
342
|
+
SKIPPED: "SKIPPED",
|
|
343
|
+
};
|
|
344
|
+
export const CisResultStatusComparison = {
|
|
345
|
+
EQUALS: "EQUALS",
|
|
346
|
+
};
|
|
347
|
+
export const CisRuleStatus = {
|
|
348
|
+
ERROR: "ERROR",
|
|
349
|
+
FAILED: "FAILED",
|
|
350
|
+
INFORMATIONAL: "INFORMATIONAL",
|
|
351
|
+
NOT_APPLICABLE: "NOT_APPLICABLE",
|
|
352
|
+
NOT_EVALUATED: "NOT_EVALUATED",
|
|
353
|
+
PASSED: "PASSED",
|
|
354
|
+
UNKNOWN: "UNKNOWN",
|
|
355
|
+
};
|
|
356
|
+
export const CisScanStatus = {
|
|
357
|
+
CANCELLED: "CANCELLED",
|
|
358
|
+
COMPLETED: "COMPLETED",
|
|
359
|
+
FAILED: "FAILED",
|
|
360
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
361
|
+
};
|
|
362
|
+
export const Day = {
|
|
363
|
+
FRI: "FRI",
|
|
364
|
+
MON: "MON",
|
|
365
|
+
SAT: "SAT",
|
|
366
|
+
SUN: "SUN",
|
|
367
|
+
THU: "THU",
|
|
368
|
+
TUE: "TUE",
|
|
369
|
+
WED: "WED",
|
|
370
|
+
};
|
|
371
|
+
export var Schedule;
|
|
372
|
+
(function (Schedule) {
|
|
373
|
+
Schedule.visit = (value, visitor) => {
|
|
374
|
+
if (value.oneTime !== undefined)
|
|
375
|
+
return visitor.oneTime(value.oneTime);
|
|
376
|
+
if (value.daily !== undefined)
|
|
377
|
+
return visitor.daily(value.daily);
|
|
378
|
+
if (value.weekly !== undefined)
|
|
379
|
+
return visitor.weekly(value.weekly);
|
|
380
|
+
if (value.monthly !== undefined)
|
|
381
|
+
return visitor.monthly(value.monthly);
|
|
382
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
383
|
+
};
|
|
384
|
+
})(Schedule || (Schedule = {}));
|
|
385
|
+
export const CisScanConfigurationsSortBy = {
|
|
386
|
+
SCAN_CONFIGURATION_ARN: "SCAN_CONFIGURATION_ARN",
|
|
387
|
+
SCAN_NAME: "SCAN_NAME",
|
|
388
|
+
};
|
|
389
|
+
export const CisSecurityLevelComparison = {
|
|
390
|
+
EQUALS: "EQUALS",
|
|
391
|
+
};
|
|
392
|
+
export const CisScanResultDetailsSortBy = {
|
|
393
|
+
CHECK_ID: "CHECK_ID",
|
|
394
|
+
STATUS: "STATUS",
|
|
395
|
+
};
|
|
396
|
+
export const CisScanResultsAggregatedByChecksSortBy = {
|
|
397
|
+
CHECK_ID: "CHECK_ID",
|
|
398
|
+
FAILED_COUNTS: "FAILED_COUNTS",
|
|
399
|
+
PLATFORM: "PLATFORM",
|
|
400
|
+
SECURITY_LEVEL: "SECURITY_LEVEL",
|
|
401
|
+
TITLE: "TITLE",
|
|
402
|
+
};
|
|
403
|
+
export const TagComparison = {
|
|
404
|
+
EQUALS: "EQUALS",
|
|
405
|
+
};
|
|
406
|
+
export const CisTargetStatusComparison = {
|
|
407
|
+
EQUALS: "EQUALS",
|
|
408
|
+
};
|
|
409
|
+
export const CisTargetStatus = {
|
|
410
|
+
CANCELLED: "CANCELLED",
|
|
411
|
+
COMPLETED: "COMPLETED",
|
|
412
|
+
TIMED_OUT: "TIMED_OUT",
|
|
413
|
+
};
|
|
414
|
+
export const CisTargetStatusReason = {
|
|
415
|
+
SCAN_IN_PROGRESS: "SCAN_IN_PROGRESS",
|
|
416
|
+
SSM_UNMANAGED: "SSM_UNMANAGED",
|
|
417
|
+
UNSUPPORTED_OS: "UNSUPPORTED_OS",
|
|
418
|
+
};
|
|
419
|
+
export const CisScanResultsAggregatedByTargetResourceSortBy = {
|
|
420
|
+
ACCOUNT_ID: "ACCOUNT_ID",
|
|
421
|
+
FAILED_COUNTS: "FAILED_COUNTS",
|
|
422
|
+
PLATFORM: "PLATFORM",
|
|
423
|
+
RESOURCE_ID: "RESOURCE_ID",
|
|
424
|
+
TARGET_STATUS: "TARGET_STATUS",
|
|
425
|
+
TARGET_STATUS_REASON: "TARGET_STATUS_REASON",
|
|
426
|
+
};
|
|
427
|
+
export const CisScanStatusComparison = {
|
|
428
|
+
EQUALS: "EQUALS",
|
|
429
|
+
};
|
|
430
|
+
export const CisSortOrder = {
|
|
431
|
+
ASC: "ASC",
|
|
432
|
+
DESC: "DESC",
|
|
433
|
+
};
|
|
317
434
|
export class ConflictException extends __BaseException {
|
|
318
435
|
constructor(opts) {
|
|
319
436
|
super({
|
|
@@ -544,32 +661,13 @@ export const Operation = {
|
|
|
544
661
|
ENABLE_REPOSITORY: "ENABLE_REPOSITORY",
|
|
545
662
|
ENABLE_SCANNING: "ENABLE_SCANNING",
|
|
546
663
|
};
|
|
547
|
-
export const
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
FIRST_OBSERVED_AT: "FIRST_OBSERVED_AT",
|
|
557
|
-
INSPECTOR_SCORE: "INSPECTOR_SCORE",
|
|
558
|
-
LAST_OBSERVED_AT: "LAST_OBSERVED_AT",
|
|
559
|
-
NETWORK_PROTOCOL: "NETWORK_PROTOCOL",
|
|
560
|
-
RESOURCE_TYPE: "RESOURCE_TYPE",
|
|
561
|
-
SEVERITY: "SEVERITY",
|
|
562
|
-
VENDOR_SEVERITY: "VENDOR_SEVERITY",
|
|
563
|
-
VULNERABILITY_ID: "VULNERABILITY_ID",
|
|
564
|
-
VULNERABILITY_SOURCE: "VULNERABILITY_SOURCE",
|
|
565
|
-
};
|
|
566
|
-
export const UsageType = {
|
|
567
|
-
EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS",
|
|
568
|
-
ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN",
|
|
569
|
-
ECR_RESCAN: "ECR_RESCAN",
|
|
570
|
-
LAMBDA_FUNCTION_CODE_HOURS: "LAMBDA_FUNCTION_CODE_HOURS",
|
|
571
|
-
LAMBDA_FUNCTION_HOURS: "LAMBDA_FUNCTION_HOURS",
|
|
572
|
-
};
|
|
573
|
-
export const VulnerabilitySource = {
|
|
574
|
-
NVD: "NVD",
|
|
664
|
+
export const ListCisScansDetailLevel = {
|
|
665
|
+
MEMBER: "MEMBER",
|
|
666
|
+
ORGANIZATION: "ORGANIZATION",
|
|
667
|
+
};
|
|
668
|
+
export const ListCisScansSortBy = {
|
|
669
|
+
FAILED_CHECKS: "FAILED_CHECKS",
|
|
670
|
+
SCAN_START_DATE: "SCAN_START_DATE",
|
|
671
|
+
SCHEDULED_BY: "SCHEDULED_BY",
|
|
672
|
+
STATUS: "STATUS",
|
|
575
673
|
};
|