@aws-sdk/client-inspector2 3.934.0 → 3.936.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/dist-cjs/index.js +170 -714
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +169 -0
- package/dist-es/models/errors.js +115 -0
- package/dist-es/models/models_0.js +66 -268
- package/dist-es/models/models_1.js +0 -80
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/GetCisScanReportCommand.d.ts +1 -1
- package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +1 -1
- package/dist-types/commands/GetClustersForImageCommand.d.ts +1 -1
- package/dist-types/commands/GetCodeSecurityIntegrationCommand.d.ts +1 -1
- package/dist-types/commands/GetCodeSecurityScanCommand.d.ts +1 -1
- package/dist-types/commands/GetCodeSecurityScanConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +4 -1
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/enums.d.ts +441 -0
- package/dist-types/models/errors.d.ts +144 -0
- package/dist-types/models/models_0.d.ts +992 -545
- package/dist-types/models/models_1.d.ts +2 -1026
- package/dist-types/ts3.4/commands/GetCisScanReportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCisScanResultDetailsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetClustersForImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCodeSecurityIntegrationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCodeSecurityScanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCodeSecurityScanConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +4 -1
- package/dist-types/ts3.4/models/enums.d.ts +232 -0
- package/dist-types/ts3.4/models/errors.d.ts +71 -0
- package/dist-types/ts3.4/models/models_0.d.ts +298 -277
- package/dist-types/ts3.4/models/models_1.d.ts +17 -314
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -2
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/index.d.ts +0 -2
|
@@ -1,67 +1,3 @@
|
|
|
1
|
-
export const ExploitAvailable = {
|
|
2
|
-
NO: "NO",
|
|
3
|
-
YES: "YES",
|
|
4
|
-
};
|
|
5
|
-
export const ExternalReportStatus = {
|
|
6
|
-
CANCELLED: "CANCELLED",
|
|
7
|
-
FAILED: "FAILED",
|
|
8
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
9
|
-
SUCCEEDED: "SUCCEEDED",
|
|
10
|
-
};
|
|
11
|
-
export const FixAvailable = {
|
|
12
|
-
NO: "NO",
|
|
13
|
-
PARTIAL: "PARTIAL",
|
|
14
|
-
YES: "YES",
|
|
15
|
-
};
|
|
16
|
-
export const NetworkProtocol = {
|
|
17
|
-
TCP: "TCP",
|
|
18
|
-
UDP: "UDP",
|
|
19
|
-
};
|
|
20
|
-
export const PackageManager = {
|
|
21
|
-
BUNDLER: "BUNDLER",
|
|
22
|
-
CARGO: "CARGO",
|
|
23
|
-
COMPOSER: "COMPOSER",
|
|
24
|
-
DOTNET_CORE: "DOTNET_CORE",
|
|
25
|
-
GEMSPEC: "GEMSPEC",
|
|
26
|
-
GOBINARY: "GOBINARY",
|
|
27
|
-
GOMOD: "GOMOD",
|
|
28
|
-
JAR: "JAR",
|
|
29
|
-
NODEPKG: "NODEPKG",
|
|
30
|
-
NPM: "NPM",
|
|
31
|
-
NUGET: "NUGET",
|
|
32
|
-
OS: "OS",
|
|
33
|
-
PIP: "PIP",
|
|
34
|
-
PIPENV: "PIPENV",
|
|
35
|
-
POETRY: "POETRY",
|
|
36
|
-
POM: "POM",
|
|
37
|
-
PYTHONPKG: "PYTHONPKG",
|
|
38
|
-
YARN: "YARN",
|
|
39
|
-
};
|
|
40
|
-
export const ResourceType = {
|
|
41
|
-
AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE",
|
|
42
|
-
AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE",
|
|
43
|
-
AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY",
|
|
44
|
-
AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
|
|
45
|
-
CODE_REPOSITORY: "CODE_REPOSITORY",
|
|
46
|
-
};
|
|
47
|
-
export const Severity = {
|
|
48
|
-
CRITICAL: "CRITICAL",
|
|
49
|
-
HIGH: "HIGH",
|
|
50
|
-
INFORMATIONAL: "INFORMATIONAL",
|
|
51
|
-
LOW: "LOW",
|
|
52
|
-
MEDIUM: "MEDIUM",
|
|
53
|
-
UNTRIAGED: "UNTRIAGED",
|
|
54
|
-
};
|
|
55
|
-
export const FindingStatus = {
|
|
56
|
-
ACTIVE: "ACTIVE",
|
|
57
|
-
CLOSED: "CLOSED",
|
|
58
|
-
SUPPRESSED: "SUPPRESSED",
|
|
59
|
-
};
|
|
60
|
-
export const FindingType = {
|
|
61
|
-
CODE_VULNERABILITY: "CODE_VULNERABILITY",
|
|
62
|
-
NETWORK_REACHABILITY: "NETWORK_REACHABILITY",
|
|
63
|
-
PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY",
|
|
64
|
-
};
|
|
65
1
|
export const ReportingErrorCode = {
|
|
66
2
|
BUCKET_NOT_FOUND: "BUCKET_NOT_FOUND",
|
|
67
3
|
INCOMPATIBLE_BUCKET_REGION: "INCOMPATIBLE_BUCKET_REGION",
|
|
@@ -81,16 +17,6 @@ export const Operation = {
|
|
|
81
17
|
ENABLE_REPOSITORY: "ENABLE_REPOSITORY",
|
|
82
18
|
ENABLE_SCANNING: "ENABLE_SCANNING",
|
|
83
19
|
};
|
|
84
|
-
export const ListCisScansDetailLevel = {
|
|
85
|
-
MEMBER: "MEMBER",
|
|
86
|
-
ORGANIZATION: "ORGANIZATION",
|
|
87
|
-
};
|
|
88
|
-
export const ListCisScansSortBy = {
|
|
89
|
-
FAILED_CHECKS: "FAILED_CHECKS",
|
|
90
|
-
SCAN_START_DATE: "SCAN_START_DATE",
|
|
91
|
-
SCHEDULED_BY: "SCHEDULED_BY",
|
|
92
|
-
STATUS: "STATUS",
|
|
93
|
-
};
|
|
94
20
|
export const SortField = {
|
|
95
21
|
AWS_ACCOUNT_ID: "AWS_ACCOUNT_ID",
|
|
96
22
|
COMPONENT_TYPE: "COMPONENT_TYPE",
|
|
@@ -124,9 +50,3 @@ export const UsageType = {
|
|
|
124
50
|
export const VulnerabilitySource = {
|
|
125
51
|
NVD: "NVD",
|
|
126
52
|
};
|
|
127
|
-
export const StopCisSessionStatus = {
|
|
128
|
-
FAILED: "FAILED",
|
|
129
|
-
INTERRUPTED: "INTERRUPTED",
|
|
130
|
-
SUCCESS: "SUCCESS",
|
|
131
|
-
UNSUPPORTED_OS: "UNSUPPORTED_OS",
|
|
132
|
-
};
|
|
@@ -980,7 +980,7 @@ const _w = "weekly";
|
|
|
980
980
|
const _wIL = "workloadInfoList";
|
|
981
981
|
const n0 = "com.amazonaws.inspector2";
|
|
982
982
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
983
|
-
import { AccessDeniedException as __AccessDeniedException, BadRequestException as __BadRequestException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
983
|
+
import { AccessDeniedException as __AccessDeniedException, BadRequestException as __BadRequestException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
984
984
|
import { Inspector2ServiceException as __Inspector2ServiceException } from "../models/Inspector2ServiceException";
|
|
985
985
|
export var AuthorizationUrl = [0, n0, _AU, 8, 0];
|
|
986
986
|
export var GitHubAuthCode = [0, n0, _GHAC, 8, 0];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
-
import { GetCisScanReportRequest, GetCisScanReportResponse } from "../models/
|
|
4
|
+
import { GetCisScanReportRequest, GetCisScanReportResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
-
import { GetCisScanResultDetailsRequest, GetCisScanResultDetailsResponse } from "../models/
|
|
4
|
+
import { GetCisScanResultDetailsRequest, GetCisScanResultDetailsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
-
import { GetClustersForImageRequest, GetClustersForImageResponse } from "../models/
|
|
4
|
+
import { GetClustersForImageRequest, GetClustersForImageResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
-
import { GetCodeSecurityIntegrationRequest, GetCodeSecurityIntegrationResponse } from "../models/
|
|
4
|
+
import { GetCodeSecurityIntegrationRequest, GetCodeSecurityIntegrationResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
-
import { GetCodeSecurityScanRequest, GetCodeSecurityScanResponse } from "../models/
|
|
4
|
+
import { GetCodeSecurityScanRequest, GetCodeSecurityScanResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
-
import { GetCodeSecurityScanConfigurationRequest, GetCodeSecurityScanConfigurationResponse } from "../models/
|
|
4
|
+
import { GetCodeSecurityScanConfigurationRequest, GetCodeSecurityScanConfigurationResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
4
|
-
import { GetConfigurationRequest, GetConfigurationResponse } from "../models/
|
|
4
|
+
import { GetConfigurationRequest, GetConfigurationResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -27,7 +27,10 @@ declare const ListAccountPermissionsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>
|
|
31
|
+
* Lists the permissions an account has to configure Amazon Inspector.
|
|
32
|
+
* If the account is a member account or standalone account with resources managed by an Organizations policy, the operation returns fewer permissions.
|
|
33
|
+
* </p>
|
|
31
34
|
* @example
|
|
32
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
36
|
* ```javascript
|
package/dist-types/index.d.ts
CHANGED
|
@@ -11,5 +11,8 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
11
11
|
export type { Inspector2ExtensionConfiguration } from "./extensionConfiguration";
|
|
12
12
|
export * from "./commands";
|
|
13
13
|
export * from "./pagination";
|
|
14
|
-
export * from "./models";
|
|
14
|
+
export * from "./models/enums";
|
|
15
|
+
export * from "./models/errors";
|
|
16
|
+
export type * from "./models/models_0";
|
|
17
|
+
export type * from "./models/models_1";
|
|
15
18
|
export { Inspector2ServiceException } from "./models/Inspector2ServiceException";
|
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const CisStringComparison: {
|
|
6
|
+
readonly EQUALS: "EQUALS";
|
|
7
|
+
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
8
|
+
readonly PREFIX: "PREFIX";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type CisStringComparison = (typeof CisStringComparison)[keyof typeof CisStringComparison];
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* @enum
|
|
17
|
+
*/
|
|
18
|
+
export declare const AssociationResultStatusCode: {
|
|
19
|
+
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
20
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
21
|
+
readonly INVALID_INPUT: "INVALID_INPUT";
|
|
22
|
+
readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
|
|
23
|
+
readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
|
|
24
|
+
readonly SCAN_CONFIGURATION_NOT_FOUND: "SCAN_CONFIGURATION_NOT_FOUND";
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export type AssociationResultStatusCode = (typeof AssociationResultStatusCode)[keyof typeof AssociationResultStatusCode];
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
* @enum
|
|
33
|
+
*/
|
|
34
|
+
export declare const CisSecurityLevel: {
|
|
35
|
+
readonly LEVEL_1: "LEVEL_1";
|
|
36
|
+
readonly LEVEL_2: "LEVEL_2";
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export type CisSecurityLevel = (typeof CisSecurityLevel)[keyof typeof CisSecurityLevel];
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
* @enum
|
|
45
|
+
*/
|
|
46
|
+
export declare const CisFindingStatus: {
|
|
47
|
+
readonly FAILED: "FAILED";
|
|
48
|
+
readonly PASSED: "PASSED";
|
|
49
|
+
readonly SKIPPED: "SKIPPED";
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
export type CisFindingStatus = (typeof CisFindingStatus)[keyof typeof CisFindingStatus];
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
* @enum
|
|
58
|
+
*/
|
|
59
|
+
export declare const CisFindingStatusComparison: {
|
|
60
|
+
readonly EQUALS: "EQUALS";
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export type CisFindingStatusComparison = (typeof CisFindingStatusComparison)[keyof typeof CisFindingStatusComparison];
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
* @enum
|
|
69
|
+
*/
|
|
70
|
+
export declare const CisReportFormat: {
|
|
71
|
+
readonly CSV: "CSV";
|
|
72
|
+
readonly PDF: "PDF";
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export type CisReportFormat = (typeof CisReportFormat)[keyof typeof CisReportFormat];
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
* @enum
|
|
81
|
+
*/
|
|
82
|
+
export declare const CisReportStatus: {
|
|
83
|
+
readonly FAILED: "FAILED";
|
|
84
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
85
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export type CisReportStatus = (typeof CisReportStatus)[keyof typeof CisReportStatus];
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
* @enum
|
|
94
|
+
*/
|
|
95
|
+
export declare const CisResultStatus: {
|
|
96
|
+
readonly FAILED: "FAILED";
|
|
97
|
+
readonly PASSED: "PASSED";
|
|
98
|
+
readonly SKIPPED: "SKIPPED";
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export type CisResultStatus = (typeof CisResultStatus)[keyof typeof CisResultStatus];
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
* @enum
|
|
107
|
+
*/
|
|
108
|
+
export declare const CisResultStatusComparison: {
|
|
109
|
+
readonly EQUALS: "EQUALS";
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export type CisResultStatusComparison = (typeof CisResultStatusComparison)[keyof typeof CisResultStatusComparison];
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
* @enum
|
|
118
|
+
*/
|
|
119
|
+
export declare const CisRuleStatus: {
|
|
120
|
+
readonly ERROR: "ERROR";
|
|
121
|
+
readonly FAILED: "FAILED";
|
|
122
|
+
readonly INFORMATIONAL: "INFORMATIONAL";
|
|
123
|
+
readonly NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
124
|
+
readonly NOT_EVALUATED: "NOT_EVALUATED";
|
|
125
|
+
readonly PASSED: "PASSED";
|
|
126
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export type CisRuleStatus = (typeof CisRuleStatus)[keyof typeof CisRuleStatus];
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
* @enum
|
|
135
|
+
*/
|
|
136
|
+
export declare const CisScanStatus: {
|
|
137
|
+
readonly CANCELLED: "CANCELLED";
|
|
138
|
+
readonly COMPLETED: "COMPLETED";
|
|
139
|
+
readonly FAILED: "FAILED";
|
|
140
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
export type CisScanStatus = (typeof CisScanStatus)[keyof typeof CisScanStatus];
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
* @enum
|
|
149
|
+
*/
|
|
150
|
+
export declare const Day: {
|
|
151
|
+
readonly FRI: "FRI";
|
|
152
|
+
readonly MON: "MON";
|
|
153
|
+
readonly SAT: "SAT";
|
|
154
|
+
readonly SUN: "SUN";
|
|
155
|
+
readonly THU: "THU";
|
|
156
|
+
readonly TUE: "TUE";
|
|
157
|
+
readonly WED: "WED";
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
export type Day = (typeof Day)[keyof typeof Day];
|
|
163
|
+
/**
|
|
164
|
+
* @public
|
|
165
|
+
* @enum
|
|
166
|
+
*/
|
|
167
|
+
export declare const CisScanConfigurationsSortBy: {
|
|
168
|
+
readonly SCAN_CONFIGURATION_ARN: "SCAN_CONFIGURATION_ARN";
|
|
169
|
+
readonly SCAN_NAME: "SCAN_NAME";
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* @public
|
|
173
|
+
*/
|
|
174
|
+
export type CisScanConfigurationsSortBy = (typeof CisScanConfigurationsSortBy)[keyof typeof CisScanConfigurationsSortBy];
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
* @enum
|
|
178
|
+
*/
|
|
179
|
+
export declare const CisSecurityLevelComparison: {
|
|
180
|
+
readonly EQUALS: "EQUALS";
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
export type CisSecurityLevelComparison = (typeof CisSecurityLevelComparison)[keyof typeof CisSecurityLevelComparison];
|
|
186
|
+
/**
|
|
187
|
+
* @public
|
|
188
|
+
* @enum
|
|
189
|
+
*/
|
|
190
|
+
export declare const CisScanResultDetailsSortBy: {
|
|
191
|
+
readonly CHECK_ID: "CHECK_ID";
|
|
192
|
+
readonly STATUS: "STATUS";
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
export type CisScanResultDetailsSortBy = (typeof CisScanResultDetailsSortBy)[keyof typeof CisScanResultDetailsSortBy];
|
|
198
|
+
/**
|
|
199
|
+
* @public
|
|
200
|
+
* @enum
|
|
201
|
+
*/
|
|
202
|
+
export declare const CisScanResultsAggregatedByChecksSortBy: {
|
|
203
|
+
readonly CHECK_ID: "CHECK_ID";
|
|
204
|
+
readonly FAILED_COUNTS: "FAILED_COUNTS";
|
|
205
|
+
readonly PLATFORM: "PLATFORM";
|
|
206
|
+
readonly SECURITY_LEVEL: "SECURITY_LEVEL";
|
|
207
|
+
readonly TITLE: "TITLE";
|
|
208
|
+
};
|
|
209
|
+
/**
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
212
|
+
export type CisScanResultsAggregatedByChecksSortBy = (typeof CisScanResultsAggregatedByChecksSortBy)[keyof typeof CisScanResultsAggregatedByChecksSortBy];
|
|
213
|
+
/**
|
|
214
|
+
* @public
|
|
215
|
+
* @enum
|
|
216
|
+
*/
|
|
217
|
+
export declare const TagComparison: {
|
|
218
|
+
readonly EQUALS: "EQUALS";
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
223
|
+
export type TagComparison = (typeof TagComparison)[keyof typeof TagComparison];
|
|
224
|
+
/**
|
|
225
|
+
* @public
|
|
226
|
+
* @enum
|
|
227
|
+
*/
|
|
228
|
+
export declare const CisTargetStatusComparison: {
|
|
229
|
+
readonly EQUALS: "EQUALS";
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* @public
|
|
233
|
+
*/
|
|
234
|
+
export type CisTargetStatusComparison = (typeof CisTargetStatusComparison)[keyof typeof CisTargetStatusComparison];
|
|
235
|
+
/**
|
|
236
|
+
* @public
|
|
237
|
+
* @enum
|
|
238
|
+
*/
|
|
239
|
+
export declare const CisTargetStatus: {
|
|
240
|
+
readonly CANCELLED: "CANCELLED";
|
|
241
|
+
readonly COMPLETED: "COMPLETED";
|
|
242
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
243
|
+
};
|
|
244
|
+
/**
|
|
245
|
+
* @public
|
|
246
|
+
*/
|
|
247
|
+
export type CisTargetStatus = (typeof CisTargetStatus)[keyof typeof CisTargetStatus];
|
|
248
|
+
/**
|
|
249
|
+
* @public
|
|
250
|
+
* @enum
|
|
251
|
+
*/
|
|
252
|
+
export declare const CisTargetStatusReason: {
|
|
253
|
+
readonly SCAN_IN_PROGRESS: "SCAN_IN_PROGRESS";
|
|
254
|
+
readonly SSM_UNMANAGED: "SSM_UNMANAGED";
|
|
255
|
+
readonly UNSUPPORTED_OS: "UNSUPPORTED_OS";
|
|
256
|
+
};
|
|
257
|
+
/**
|
|
258
|
+
* @public
|
|
259
|
+
*/
|
|
260
|
+
export type CisTargetStatusReason = (typeof CisTargetStatusReason)[keyof typeof CisTargetStatusReason];
|
|
261
|
+
/**
|
|
262
|
+
* @public
|
|
263
|
+
* @enum
|
|
264
|
+
*/
|
|
265
|
+
export declare const CisScanResultsAggregatedByTargetResourceSortBy: {
|
|
266
|
+
readonly ACCOUNT_ID: "ACCOUNT_ID";
|
|
267
|
+
readonly FAILED_COUNTS: "FAILED_COUNTS";
|
|
268
|
+
readonly PLATFORM: "PLATFORM";
|
|
269
|
+
readonly RESOURCE_ID: "RESOURCE_ID";
|
|
270
|
+
readonly TARGET_STATUS: "TARGET_STATUS";
|
|
271
|
+
readonly TARGET_STATUS_REASON: "TARGET_STATUS_REASON";
|
|
272
|
+
};
|
|
273
|
+
/**
|
|
274
|
+
* @public
|
|
275
|
+
*/
|
|
276
|
+
export type CisScanResultsAggregatedByTargetResourceSortBy = (typeof CisScanResultsAggregatedByTargetResourceSortBy)[keyof typeof CisScanResultsAggregatedByTargetResourceSortBy];
|
|
277
|
+
/**
|
|
278
|
+
* @public
|
|
279
|
+
* @enum
|
|
280
|
+
*/
|
|
281
|
+
export declare const CisScanStatusComparison: {
|
|
282
|
+
readonly EQUALS: "EQUALS";
|
|
283
|
+
};
|
|
284
|
+
/**
|
|
285
|
+
* @public
|
|
286
|
+
*/
|
|
287
|
+
export type CisScanStatusComparison = (typeof CisScanStatusComparison)[keyof typeof CisScanStatusComparison];
|
|
288
|
+
/**
|
|
289
|
+
* @public
|
|
290
|
+
* @enum
|
|
291
|
+
*/
|
|
292
|
+
export declare const CisSortOrder: {
|
|
293
|
+
readonly ASC: "ASC";
|
|
294
|
+
readonly DESC: "DESC";
|
|
295
|
+
};
|
|
296
|
+
/**
|
|
297
|
+
* @public
|
|
298
|
+
*/
|
|
299
|
+
export type CisSortOrder = (typeof CisSortOrder)[keyof typeof CisSortOrder];
|
|
300
|
+
/**
|
|
301
|
+
* @public
|
|
302
|
+
* @enum
|
|
303
|
+
*/
|
|
304
|
+
export declare const RuleSetCategory: {
|
|
305
|
+
readonly IAC: "IAC";
|
|
306
|
+
readonly SAST: "SAST";
|
|
307
|
+
readonly SCA: "SCA";
|
|
308
|
+
};
|
|
309
|
+
/**
|
|
310
|
+
* @public
|
|
311
|
+
*/
|
|
312
|
+
export type RuleSetCategory = (typeof RuleSetCategory)[keyof typeof RuleSetCategory];
|
|
313
|
+
/**
|
|
314
|
+
* @public
|
|
315
|
+
* @enum
|
|
316
|
+
*/
|
|
317
|
+
export declare const ContinuousIntegrationScanEvent: {
|
|
318
|
+
readonly PULL_REQUEST: "PULL_REQUEST";
|
|
319
|
+
readonly PUSH: "PUSH";
|
|
320
|
+
};
|
|
321
|
+
/**
|
|
322
|
+
* @public
|
|
323
|
+
*/
|
|
324
|
+
export type ContinuousIntegrationScanEvent = (typeof ContinuousIntegrationScanEvent)[keyof typeof ContinuousIntegrationScanEvent];
|
|
325
|
+
/**
|
|
326
|
+
* @public
|
|
327
|
+
* @enum
|
|
328
|
+
*/
|
|
329
|
+
export declare const CodeScanStatus: {
|
|
330
|
+
readonly FAILED: "FAILED";
|
|
331
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
332
|
+
readonly SKIPPED: "SKIPPED";
|
|
333
|
+
readonly SUCCESSFUL: "SUCCESSFUL";
|
|
334
|
+
};
|
|
335
|
+
/**
|
|
336
|
+
* @public
|
|
337
|
+
*/
|
|
338
|
+
export type CodeScanStatus = (typeof CodeScanStatus)[keyof typeof CodeScanStatus];
|
|
339
|
+
/**
|
|
340
|
+
* @public
|
|
341
|
+
* @enum
|
|
342
|
+
*/
|
|
343
|
+
export declare const IntegrationStatus: {
|
|
344
|
+
readonly ACTIVE: "ACTIVE";
|
|
345
|
+
readonly DISABLING: "DISABLING";
|
|
346
|
+
readonly INACTIVE: "INACTIVE";
|
|
347
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
348
|
+
readonly PENDING: "PENDING";
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* @public
|
|
352
|
+
*/
|
|
353
|
+
export type IntegrationStatus = (typeof IntegrationStatus)[keyof typeof IntegrationStatus];
|
|
354
|
+
/**
|
|
355
|
+
* @public
|
|
356
|
+
* @enum
|
|
357
|
+
*/
|
|
358
|
+
export declare const IntegrationType: {
|
|
359
|
+
readonly GITHUB: "GITHUB";
|
|
360
|
+
readonly GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED";
|
|
361
|
+
};
|
|
362
|
+
/**
|
|
363
|
+
* @public
|
|
364
|
+
*/
|
|
365
|
+
export type IntegrationType = (typeof IntegrationType)[keyof typeof IntegrationType];
|
|
366
|
+
/**
|
|
367
|
+
* @public
|
|
368
|
+
* @enum
|
|
369
|
+
*/
|
|
370
|
+
export declare const PeriodicScanFrequency: {
|
|
371
|
+
readonly MONTHLY: "MONTHLY";
|
|
372
|
+
readonly NEVER: "NEVER";
|
|
373
|
+
readonly WEEKLY: "WEEKLY";
|
|
374
|
+
};
|
|
375
|
+
/**
|
|
376
|
+
* @public
|
|
377
|
+
*/
|
|
378
|
+
export type PeriodicScanFrequency = (typeof PeriodicScanFrequency)[keyof typeof PeriodicScanFrequency];
|
|
379
|
+
/**
|
|
380
|
+
* @public
|
|
381
|
+
* @enum
|
|
382
|
+
*/
|
|
383
|
+
export declare const ProjectSelectionScope: {
|
|
384
|
+
readonly ALL: "ALL";
|
|
385
|
+
};
|
|
386
|
+
/**
|
|
387
|
+
* @public
|
|
388
|
+
*/
|
|
389
|
+
export type ProjectSelectionScope = (typeof ProjectSelectionScope)[keyof typeof ProjectSelectionScope];
|
|
390
|
+
/**
|
|
391
|
+
* @public
|
|
392
|
+
* @enum
|
|
393
|
+
*/
|
|
394
|
+
export declare const ConfigurationLevel: {
|
|
395
|
+
readonly ACCOUNT: "ACCOUNT";
|
|
396
|
+
readonly ORGANIZATION: "ORGANIZATION";
|
|
397
|
+
};
|
|
398
|
+
/**
|
|
399
|
+
* @public
|
|
400
|
+
*/
|
|
401
|
+
export type ConfigurationLevel = (typeof ConfigurationLevel)[keyof typeof ConfigurationLevel];
|
|
402
|
+
/**
|
|
403
|
+
* @public
|
|
404
|
+
* @enum
|
|
405
|
+
*/
|
|
406
|
+
export declare const ListCisScansDetailLevel: {
|
|
407
|
+
readonly MEMBER: "MEMBER";
|
|
408
|
+
readonly ORGANIZATION: "ORGANIZATION";
|
|
409
|
+
};
|
|
410
|
+
/**
|
|
411
|
+
* @public
|
|
412
|
+
*/
|
|
413
|
+
export type ListCisScansDetailLevel = (typeof ListCisScansDetailLevel)[keyof typeof ListCisScansDetailLevel];
|
|
414
|
+
/**
|
|
415
|
+
* @public
|
|
416
|
+
* @enum
|
|
417
|
+
*/
|
|
418
|
+
export declare const ListCisScansSortBy: {
|
|
419
|
+
readonly FAILED_CHECKS: "FAILED_CHECKS";
|
|
420
|
+
readonly SCAN_START_DATE: "SCAN_START_DATE";
|
|
421
|
+
readonly SCHEDULED_BY: "SCHEDULED_BY";
|
|
422
|
+
readonly STATUS: "STATUS";
|
|
423
|
+
};
|
|
424
|
+
/**
|
|
425
|
+
* @public
|
|
426
|
+
*/
|
|
427
|
+
export type ListCisScansSortBy = (typeof ListCisScansSortBy)[keyof typeof ListCisScansSortBy];
|
|
428
|
+
/**
|
|
429
|
+
* @public
|
|
430
|
+
* @enum
|
|
431
|
+
*/
|
|
432
|
+
export declare const StopCisSessionStatus: {
|
|
433
|
+
readonly FAILED: "FAILED";
|
|
434
|
+
readonly INTERRUPTED: "INTERRUPTED";
|
|
435
|
+
readonly SUCCESS: "SUCCESS";
|
|
436
|
+
readonly UNSUPPORTED_OS: "UNSUPPORTED_OS";
|
|
437
|
+
};
|
|
438
|
+
/**
|
|
439
|
+
* @public
|
|
440
|
+
*/
|
|
441
|
+
export type StopCisSessionStatus = (typeof StopCisSessionStatus)[keyof typeof StopCisSessionStatus];
|