@aws-sdk/client-continuum 0.0.0-stage → 3.1156.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/LICENSE +201 -0
- package/README.md +412 -2
- package/dist-cjs/index.js +2581 -0
- package/dist-es/Continuum.js +95 -0
- package/dist-es/ContinuumClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AssociateCollectorCommand.js +4 -0
- package/dist-es/commands/CreateCodeFindingCommand.js +4 -0
- package/dist-es/commands/CreateCodeScanCommand.js +4 -0
- package/dist-es/commands/CreateCollectorCommand.js +4 -0
- package/dist-es/commands/CreateEnvironmentCommand.js +4 -0
- package/dist-es/commands/CreateIntegrationCommand.js +4 -0
- package/dist-es/commands/DeleteCollectorCommand.js +4 -0
- package/dist-es/commands/DeleteEnvironmentCommand.js +4 -0
- package/dist-es/commands/DeleteIntegrationCommand.js +4 -0
- package/dist-es/commands/DisassociateCollectorCommand.js +4 -0
- package/dist-es/commands/GetCodeFindingCommand.js +4 -0
- package/dist-es/commands/GetCodeIssueArtifactCommand.js +4 -0
- package/dist-es/commands/GetCodeIssueCommand.js +4 -0
- package/dist-es/commands/GetCodeScanCommand.js +4 -0
- package/dist-es/commands/GetCollectorCommand.js +4 -0
- package/dist-es/commands/GetCollectorDataAccessAuthorizationCommand.js +4 -0
- package/dist-es/commands/GetEnvironmentCommand.js +4 -0
- package/dist-es/commands/GetIntegrationCommand.js +4 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +4 -0
- package/dist-es/commands/ListAssociatedCollectorsCommand.js +4 -0
- package/dist-es/commands/ListAssociatedEnvironmentsCommand.js +4 -0
- package/dist-es/commands/ListCodeFindingsCommand.js +4 -0
- package/dist-es/commands/ListCodeIssueArtifactsCommand.js +4 -0
- package/dist-es/commands/ListCodeIssuesCommand.js +4 -0
- package/dist-es/commands/ListCodeScansCommand.js +4 -0
- package/dist-es/commands/ListCollectorsCommand.js +4 -0
- package/dist-es/commands/ListEnvironmentsCommand.js +4 -0
- package/dist-es/commands/ListIntegrationsCommand.js +4 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +4 -0
- package/dist-es/commands/StartIntegrationAuthorizationCommand.js +4 -0
- package/dist-es/commands/UpdateCollectorCommand.js +4 -0
- package/dist-es/commands/UpdateEnvironmentCommand.js +4 -0
- package/dist-es/commands/UpdateIntegrationCommand.js +4 -0
- package/dist-es/commands/index.js +33 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/bdd.js +29 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +11 -0
- package/dist-es/models/ContinuumServiceException.js +9 -0
- package/dist-es/models/enums.js +334 -0
- package/dist-es/models/errors.js +102 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAssociatedCollectorsPaginator.js +4 -0
- package/dist-es/pagination/ListAssociatedEnvironmentsPaginator.js +4 -0
- package/dist-es/pagination/ListCodeFindingsPaginator.js +4 -0
- package/dist-es/pagination/ListCodeIssueArtifactsPaginator.js +4 -0
- package/dist-es/pagination/ListCodeIssuesPaginator.js +4 -0
- package/dist-es/pagination/ListCodeScansPaginator.js +4 -0
- package/dist-es/pagination/ListEnvironmentsPaginator.js +4 -0
- package/dist-es/pagination/ListIntegrationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +9 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +1399 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForCodeScanSucceeded.js +40 -0
- package/dist-types/Continuum.d.ts +315 -0
- package/dist-types/ContinuumClient.d.ts +221 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AssociateCollectorCommand.d.ts +96 -0
- package/dist-types/commands/CreateCodeFindingCommand.d.ts +94 -0
- package/dist-types/commands/CreateCodeScanCommand.d.ts +115 -0
- package/dist-types/commands/CreateCollectorCommand.d.ts +97 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +123 -0
- package/dist-types/commands/CreateIntegrationCommand.d.ts +130 -0
- package/dist-types/commands/DeleteCollectorCommand.d.ts +86 -0
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +86 -0
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +92 -0
- package/dist-types/commands/DisassociateCollectorCommand.d.ts +84 -0
- package/dist-types/commands/GetCodeFindingCommand.d.ts +228 -0
- package/dist-types/commands/GetCodeIssueArtifactCommand.d.ts +285 -0
- package/dist-types/commands/GetCodeIssueCommand.d.ts +113 -0
- package/dist-types/commands/GetCodeScanCommand.d.ts +94 -0
- package/dist-types/commands/GetCollectorCommand.d.ts +92 -0
- package/dist-types/commands/GetCollectorDataAccessAuthorizationCommand.d.ts +93 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +133 -0
- package/dist-types/commands/GetIntegrationCommand.d.ts +106 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +87 -0
- package/dist-types/commands/ListAssociatedCollectorsCommand.d.ts +93 -0
- package/dist-types/commands/ListAssociatedEnvironmentsCommand.d.ts +96 -0
- package/dist-types/commands/ListCodeFindingsCommand.d.ts +112 -0
- package/dist-types/commands/ListCodeIssueArtifactsCommand.d.ts +101 -0
- package/dist-types/commands/ListCodeIssuesCommand.d.ts +103 -0
- package/dist-types/commands/ListCodeScansCommand.d.ts +98 -0
- package/dist-types/commands/ListCollectorsCommand.d.ts +88 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +92 -0
- package/dist-types/commands/ListIntegrationsCommand.d.ts +109 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +92 -0
- package/dist-types/commands/StartIntegrationAuthorizationCommand.d.ts +89 -0
- package/dist-types/commands/UpdateCollectorCommand.d.ts +103 -0
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +165 -0
- package/dist-types/commands/UpdateIntegrationCommand.d.ts +125 -0
- package/dist-types/commands/index.d.ts +33 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +20 -0
- package/dist-types/models/ContinuumServiceException.d.ts +15 -0
- package/dist-types/models/enums.d.ts +1003 -0
- package/dist-types/models/errors.d.ts +108 -0
- package/dist-types/models/models_0.d.ts +4202 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAssociatedCollectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAssociatedEnvironmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCodeFindingsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCodeIssueArtifactsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCodeIssuesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCodeScansPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIntegrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +57 -0
- package/dist-types/runtimeConfig.d.ts +57 -0
- package/dist-types/runtimeConfig.native.d.ts +56 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +187 -0
- package/dist-types/ts3.4/Continuum.d.ts +642 -0
- package/dist-types/ts3.4/ContinuumClient.d.ts +296 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
- package/dist-types/ts3.4/commands/AssociateCollectorCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateCodeFindingCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateCodeScanCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateCollectorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateIntegrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteCollectorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DisassociateCollectorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetCodeFindingCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetCodeIssueArtifactCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetCodeIssueCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetCodeScanCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetCollectorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetCollectorDataAccessAuthorizationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListAssociatedCollectorsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAssociatedEnvironmentsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCodeFindingsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListCodeIssueArtifactsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListCodeIssuesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListCodeScansCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListCollectorsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartIntegrationAuthorizationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateCollectorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +14 -0
- package/dist-types/ts3.4/models/ContinuumServiceException.d.ts +10 -0
- package/dist-types/ts3.4/models/enums.d.ts +387 -0
- package/dist-types/ts3.4/models/errors.d.ts +52 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1056 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListAssociatedCollectorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAssociatedEnvironmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCodeFindingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCodeIssueArtifactsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCodeIssuesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCodeScansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIntegrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +187 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForCodeScanSucceeded.d.ts +12 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForCodeScanSucceeded.d.ts +15 -0
- package/package.json +67 -4
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetCodeFindingInput, GetCodeFindingOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetCodeFindingCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetCodeFindingCommandInput extends GetCodeFindingInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetCodeFindingCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetCodeFindingCommandOutput extends GetCodeFindingOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetCodeFindingCommand_base: {
|
|
22
|
+
new (input: GetCodeFindingCommandInput): import("@smithy/core/client").CommandImpl<GetCodeFindingCommandInput, GetCodeFindingCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetCodeFindingCommandInput): import("@smithy/core/client").CommandImpl<GetCodeFindingCommandInput, GetCodeFindingCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves the current state and details of a finding.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, GetCodeFindingCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, GetCodeFindingCommand } = require("@aws-sdk/client-continuum"); // CommonJS import
|
|
33
|
+
* // import type { ContinuumClientConfig } from "@aws-sdk/client-continuum";
|
|
34
|
+
* const config = {}; // type is ContinuumClientConfig
|
|
35
|
+
* const client = new ContinuumClient(config);
|
|
36
|
+
* const input = { // GetCodeFindingInput
|
|
37
|
+
* environmentId: "STRING_VALUE", // required
|
|
38
|
+
* findingId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetCodeFindingCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetCodeFindingOutput
|
|
43
|
+
* // type: "CONTINUUM_CODE_VULN" || "CUSTOMER_CODE_VULN", // required
|
|
44
|
+
* // title: "STRING_VALUE", // required
|
|
45
|
+
* // severity: "UNKNOWN" || "INFORMATIONAL" || "LOW" || "MEDIUM" || "HIGH" || "CRITICAL" || "FATAL" || "OTHER", // required
|
|
46
|
+
* // summary: "STRING_VALUE",
|
|
47
|
+
* // detailedDescription: "STRING_VALUE",
|
|
48
|
+
* // category: "STRING_VALUE",
|
|
49
|
+
* // subCategory: "STRING_VALUE",
|
|
50
|
+
* // cweIds: [ // CweIdList
|
|
51
|
+
* // "STRING_VALUE",
|
|
52
|
+
* // ],
|
|
53
|
+
* // owaspCategory: "STRING_VALUE",
|
|
54
|
+
* // mitigation: "STRING_VALUE",
|
|
55
|
+
* // filePath: "STRING_VALUE",
|
|
56
|
+
* // lineNumber: Number("int"),
|
|
57
|
+
* // cveId: "STRING_VALUE",
|
|
58
|
+
* // cvssBaseScore: Number("double"),
|
|
59
|
+
* // affectedPackages: [ // AffectedPackageList
|
|
60
|
+
* // { // AffectedPackage
|
|
61
|
+
* // name: "STRING_VALUE", // required
|
|
62
|
+
* // version: "STRING_VALUE",
|
|
63
|
+
* // fixedInVersion: "STRING_VALUE",
|
|
64
|
+
* // packageManager: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // vulnerableCode: "STRING_VALUE",
|
|
68
|
+
* // relevantInputs: [ // FindingStringList
|
|
69
|
+
* // "STRING_VALUE",
|
|
70
|
+
* // ],
|
|
71
|
+
* // stepsToReproduce: [
|
|
72
|
+
* // "STRING_VALUE",
|
|
73
|
+
* // ],
|
|
74
|
+
* // validation: { // FindingValidation
|
|
75
|
+
* // verdict: "TRUE_POSITIVE" || "FALSE_POSITIVE" || "BENIGN_TRUE_POSITIVE" || "NEEDS_REVIEW", // required
|
|
76
|
+
* // blockingReason: "UNREACHABLE" || "PROTECTED" || "MISCLASSIFIED" || "EXCLUDED" || "NOT_FEASIBLE" || "RISK_MITIGATED" || "NONE",
|
|
77
|
+
* // confidence: Number("double"),
|
|
78
|
+
* // rationale: "STRING_VALUE",
|
|
79
|
+
* // severityAdjustment: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "UNCHANGED",
|
|
80
|
+
* // mitigatingControls: [
|
|
81
|
+
* // "STRING_VALUE",
|
|
82
|
+
* // ],
|
|
83
|
+
* // preconditions: [
|
|
84
|
+
* // "STRING_VALUE",
|
|
85
|
+
* // ],
|
|
86
|
+
* // evidence: [ // FindingEvidenceList
|
|
87
|
+
* // { // FindingEvidence
|
|
88
|
+
* // file: "STRING_VALUE",
|
|
89
|
+
* // line: Number("int"),
|
|
90
|
+
* // snippet: "STRING_VALUE",
|
|
91
|
+
* // },
|
|
92
|
+
* // ],
|
|
93
|
+
* // },
|
|
94
|
+
* // endLine: Number("int"),
|
|
95
|
+
* // mitreTechniques: [
|
|
96
|
+
* // "STRING_VALUE",
|
|
97
|
+
* // ],
|
|
98
|
+
* // remediationReferences: "<FindingStringList>",
|
|
99
|
+
* // ocsfClass: "VULNERABILITY_FINDING" || "APPLICATION_SECURITY_POSTURE_FINDING",
|
|
100
|
+
* // ocsfSchemaVersion: "STRING_VALUE",
|
|
101
|
+
* // productName: "STRING_VALUE",
|
|
102
|
+
* // productVendorName: "STRING_VALUE",
|
|
103
|
+
* // productVersion: "STRING_VALUE",
|
|
104
|
+
* // sourceStatus: "STRING_VALUE",
|
|
105
|
+
* // sourceStatusId: Number("int"),
|
|
106
|
+
* // firstSeenAt: new Date("TIMESTAMP"),
|
|
107
|
+
* // findingTypes: "<FindingStringList>",
|
|
108
|
+
* // vulnerabilities: [ // FindingVulnerabilityList
|
|
109
|
+
* // { // FindingVulnerability
|
|
110
|
+
* // title: "STRING_VALUE",
|
|
111
|
+
* // description: "STRING_VALUE",
|
|
112
|
+
* // cweId: "STRING_VALUE",
|
|
113
|
+
* // cweCaption: "STRING_VALUE",
|
|
114
|
+
* // additionalCweIds: [
|
|
115
|
+
* // "STRING_VALUE",
|
|
116
|
+
* // ],
|
|
117
|
+
* // cveId: "STRING_VALUE",
|
|
118
|
+
* // cvssBaseScore: Number("double"),
|
|
119
|
+
* // fixCoverage: "STRING_VALUE",
|
|
120
|
+
* // fixCoverageId: Number("int"),
|
|
121
|
+
* // locations: [ // FindingLocationList
|
|
122
|
+
* // { // FindingLocation
|
|
123
|
+
* // filePath: "STRING_VALUE",
|
|
124
|
+
* // startLine: Number("int"),
|
|
125
|
+
* // endLine: Number("int"),
|
|
126
|
+
* // },
|
|
127
|
+
* // ],
|
|
128
|
+
* // remediation: "STRING_VALUE",
|
|
129
|
+
* // remediationReferences: "<FindingStringList>",
|
|
130
|
+
* // code: "STRING_VALUE",
|
|
131
|
+
* // details: "STRING_VALUE",
|
|
132
|
+
* // affectedPackages: [
|
|
133
|
+
* // {
|
|
134
|
+
* // name: "STRING_VALUE", // required
|
|
135
|
+
* // version: "STRING_VALUE",
|
|
136
|
+
* // fixedInVersion: "STRING_VALUE",
|
|
137
|
+
* // packageManager: "STRING_VALUE",
|
|
138
|
+
* // },
|
|
139
|
+
* // ],
|
|
140
|
+
* // },
|
|
141
|
+
* // ],
|
|
142
|
+
* // resources: [ // FindingResourceList
|
|
143
|
+
* // { // FindingResource
|
|
144
|
+
* // uid: "STRING_VALUE",
|
|
145
|
+
* // name: "STRING_VALUE",
|
|
146
|
+
* // type: "STRING_VALUE",
|
|
147
|
+
* // region: "STRING_VALUE",
|
|
148
|
+
* // },
|
|
149
|
+
* // ],
|
|
150
|
+
* // posture: { // FindingPosture
|
|
151
|
+
* // application: "STRING_VALUE",
|
|
152
|
+
* // applicationUid: "STRING_VALUE",
|
|
153
|
+
* // applicationVersion: "STRING_VALUE",
|
|
154
|
+
* // control: "STRING_VALUE",
|
|
155
|
+
* // description: "STRING_VALUE",
|
|
156
|
+
* // standards: "<FindingStringList>",
|
|
157
|
+
* // requirements: "<FindingStringList>",
|
|
158
|
+
* // checks: [ // FindingComplianceCheckList
|
|
159
|
+
* // { // FindingComplianceCheck
|
|
160
|
+
* // uid: "STRING_VALUE",
|
|
161
|
+
* // name: "STRING_VALUE",
|
|
162
|
+
* // description: "STRING_VALUE",
|
|
163
|
+
* // },
|
|
164
|
+
* // ],
|
|
165
|
+
* // status: "STRING_VALUE",
|
|
166
|
+
* // statusId: Number("int"),
|
|
167
|
+
* // remediation: "STRING_VALUE",
|
|
168
|
+
* // remediationReferences: "<FindingStringList>",
|
|
169
|
+
* // },
|
|
170
|
+
* // findingId: "STRING_VALUE", // required
|
|
171
|
+
* // findingArn: "STRING_VALUE", // required
|
|
172
|
+
* // environmentId: "STRING_VALUE", // required
|
|
173
|
+
* // source: "STRING_VALUE", // required
|
|
174
|
+
* // sourceFindingId: "STRING_VALUE", // required
|
|
175
|
+
* // reportedAt: new Date("TIMESTAMP"), // required
|
|
176
|
+
* // status: "SUBMITTED" || "VALIDATING" || "CONFIRMED" || "DISCARDED", // required
|
|
177
|
+
* // statusUpdatedAt: new Date("TIMESTAMP"), // required
|
|
178
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
179
|
+
* // scanRunId: "STRING_VALUE",
|
|
180
|
+
* // statusMessage: "STRING_VALUE",
|
|
181
|
+
* // discardReason: "SCANNER_VALIDATED_FALSE_POSITIVE" || "SCANNER_NEEDS_REVIEW" || "FALSE_POSITIVE_VALIDATED_AGAINST_CONTEXT" || "DUPLICATE_OF_OPEN_ISSUE" || "DUPLICATE_OF_CLOSED_ISSUE" || "COMPENSATING_CONTROL_PRESENT" || "OUT_OF_SCOPE" || "INSUFFICIENT_EVIDENCE" || "PROCESSING_FAILED" || "SOURCE_REPO_NOT_FOUND",
|
|
182
|
+
* // discardReasoning: "STRING_VALUE",
|
|
183
|
+
* // duplicateOfIssueId: "STRING_VALUE",
|
|
184
|
+
* // createdIssueId: "STRING_VALUE",
|
|
185
|
+
* // completedAt: new Date("TIMESTAMP"),
|
|
186
|
+
* // };
|
|
187
|
+
*
|
|
188
|
+
* ```
|
|
189
|
+
*
|
|
190
|
+
* @param GetCodeFindingCommandInput - {@link GetCodeFindingCommandInput}
|
|
191
|
+
* @returns {@link GetCodeFindingCommandOutput}
|
|
192
|
+
* @see {@link GetCodeFindingCommandInput} for command's `input` shape.
|
|
193
|
+
* @see {@link GetCodeFindingCommandOutput} for command's `response` shape.
|
|
194
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
195
|
+
*
|
|
196
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
197
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
198
|
+
*
|
|
199
|
+
* @throws {@link InternalServerException} (server fault)
|
|
200
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
201
|
+
*
|
|
202
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
203
|
+
* The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
|
|
204
|
+
*
|
|
205
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
206
|
+
* The request was denied due to request throttling.
|
|
207
|
+
*
|
|
208
|
+
* @throws {@link ValidationException} (client fault)
|
|
209
|
+
*
|
|
210
|
+
* @throws {@link ContinuumServiceException}
|
|
211
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
212
|
+
*
|
|
213
|
+
*
|
|
214
|
+
* @public
|
|
215
|
+
*/
|
|
216
|
+
export declare class GetCodeFindingCommand extends GetCodeFindingCommand_base {
|
|
217
|
+
/** @internal type navigation helper, not in runtime. */
|
|
218
|
+
protected static __types: {
|
|
219
|
+
api: {
|
|
220
|
+
input: GetCodeFindingInput;
|
|
221
|
+
output: GetCodeFindingOutput;
|
|
222
|
+
};
|
|
223
|
+
sdk: {
|
|
224
|
+
input: GetCodeFindingCommandInput;
|
|
225
|
+
output: GetCodeFindingCommandOutput;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
}
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetCodeIssueArtifactInput, GetCodeIssueArtifactOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetCodeIssueArtifactCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetCodeIssueArtifactCommandInput extends GetCodeIssueArtifactInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetCodeIssueArtifactCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetCodeIssueArtifactCommandOutput extends GetCodeIssueArtifactOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetCodeIssueArtifactCommand_base: {
|
|
22
|
+
new (input: GetCodeIssueArtifactCommandInput): import("@smithy/core/client").CommandImpl<GetCodeIssueArtifactCommandInput, GetCodeIssueArtifactCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetCodeIssueArtifactCommandInput): import("@smithy/core/client").CommandImpl<GetCodeIssueArtifactCommandInput, GetCodeIssueArtifactCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves one immutable artifact attached to an issue, including its content.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, GetCodeIssueArtifactCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, GetCodeIssueArtifactCommand } = require("@aws-sdk/client-continuum"); // CommonJS import
|
|
33
|
+
* // import type { ContinuumClientConfig } from "@aws-sdk/client-continuum";
|
|
34
|
+
* const config = {}; // type is ContinuumClientConfig
|
|
35
|
+
* const client = new ContinuumClient(config);
|
|
36
|
+
* const input = { // GetCodeIssueArtifactInput
|
|
37
|
+
* environmentId: "STRING_VALUE", // required
|
|
38
|
+
* issueId: "STRING_VALUE", // required
|
|
39
|
+
* artifactId: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetCodeIssueArtifactCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetCodeIssueArtifactOutput
|
|
44
|
+
* // artifactId: "STRING_VALUE", // required
|
|
45
|
+
* // artifactType: "EVIDENCE" || "AGENT_COMMUNICATION" || "VALIDATION_EVIDENCE" || "REMEDIATION_PROPOSAL" || "DECISION" || "PATCH", // required
|
|
46
|
+
* // mediaType: "STRING_VALUE", // required
|
|
47
|
+
* // body: { // IssueArtifactBody Union: only one key present
|
|
48
|
+
* // validationEvidence: { // ValidationEvidenceBody
|
|
49
|
+
* // exploitable: "EXPLOITABLE" || "NOT_EXPLOITABLE" || "UNCERTAIN", // required
|
|
50
|
+
* // terminalStatus: "COMPLETED" || "FAILED" || "NO_SOURCE_AVAILABLE" || "PARTIAL",
|
|
51
|
+
* // flowVerdicts: [ // FlowVerdicts
|
|
52
|
+
* // { // FlowVerdict
|
|
53
|
+
* // flowId: "STRING_VALUE", // required
|
|
54
|
+
* // verdict: "CONFIRMED" || "DENIED" || "INCONCLUSIVE", // required
|
|
55
|
+
* // confidence: Number("double"),
|
|
56
|
+
* // evidence: [ // ArtifactCitations
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // attackFlowsConfirmed: [ // AttackFlowIds
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // exploitArtifact: { // ValidationExploitArtifact
|
|
65
|
+
* // payload: "STRING_VALUE", // required
|
|
66
|
+
* // targetUrl: "STRING_VALUE", // required
|
|
67
|
+
* // httpMethod: "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "DELETE" || "OPTIONS", // required
|
|
68
|
+
* // headers: { // ArtifactHeaders
|
|
69
|
+
* // "<keys>": "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // responseStatus: Number("int"),
|
|
72
|
+
* // responseSnippet: "STRING_VALUE",
|
|
73
|
+
* // effect: "DATA_LEAKED" || "ERROR_REVEALED" || "BEHAVIOR_CHANGED" || "NO_EFFECT", // required
|
|
74
|
+
* // },
|
|
75
|
+
* // executedProof: { // ValidationExecutedProof
|
|
76
|
+
* // code: { // ValidationProofCode
|
|
77
|
+
* // proofCode: [ // ValidationProofMaterials // required
|
|
78
|
+
* // { // ValidationProofMaterial
|
|
79
|
+
* // content: "STRING_VALUE", // required
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // },
|
|
83
|
+
* // output: { // ValidationProofOutput
|
|
84
|
+
* // consoleOutput: "STRING_VALUE", // required
|
|
85
|
+
* // },
|
|
86
|
+
* // observedEffect: "DATA_LEAKED" || "ERROR_REVEALED" || "BEHAVIOR_CHANGED" || "NO_EFFECT",
|
|
87
|
+
* // },
|
|
88
|
+
* // sourceAnalysis: { // ValidationSourceAnalysis
|
|
89
|
+
* // summary: "STRING_VALUE", // required
|
|
90
|
+
* // inferredEffect: "DATA_LEAKED" || "ERROR_REVEALED" || "BEHAVIOR_CHANGED" || "NO_EFFECT",
|
|
91
|
+
* // },
|
|
92
|
+
* // perFindingResults: [ // PerFindingResults
|
|
93
|
+
* // { // PerFindingResult
|
|
94
|
+
* // findingId: "STRING_VALUE", // required
|
|
95
|
+
* // exploitable: "EXPLOITABLE" || "NOT_EXPLOITABLE" || "UNCERTAIN", // required
|
|
96
|
+
* // confidence: Number("double"),
|
|
97
|
+
* // flowVerdicts: [
|
|
98
|
+
* // {
|
|
99
|
+
* // flowId: "STRING_VALUE", // required
|
|
100
|
+
* // verdict: "CONFIRMED" || "DENIED" || "INCONCLUSIVE", // required
|
|
101
|
+
* // confidence: Number("double"),
|
|
102
|
+
* // evidence: [
|
|
103
|
+
* // "STRING_VALUE",
|
|
104
|
+
* // ],
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
107
|
+
* // reasoningChain: [ // ReasoningSteps
|
|
108
|
+
* // { // ReasoningStep
|
|
109
|
+
* // step: Number("int"), // required
|
|
110
|
+
* // claim: "STRING_VALUE", // required
|
|
111
|
+
* // source: "STRING_VALUE", // required
|
|
112
|
+
* // confidence: Number("double"),
|
|
113
|
+
* // },
|
|
114
|
+
* // ],
|
|
115
|
+
* // exploitArtifact: {
|
|
116
|
+
* // payload: "STRING_VALUE", // required
|
|
117
|
+
* // targetUrl: "STRING_VALUE", // required
|
|
118
|
+
* // httpMethod: "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "DELETE" || "OPTIONS", // required
|
|
119
|
+
* // headers: {
|
|
120
|
+
* // "<keys>": "STRING_VALUE",
|
|
121
|
+
* // },
|
|
122
|
+
* // responseStatus: Number("int"),
|
|
123
|
+
* // responseSnippet: "STRING_VALUE",
|
|
124
|
+
* // effect: "DATA_LEAKED" || "ERROR_REVEALED" || "BEHAVIOR_CHANGED" || "NO_EFFECT", // required
|
|
125
|
+
* // },
|
|
126
|
+
* // },
|
|
127
|
+
* // ],
|
|
128
|
+
* // },
|
|
129
|
+
* // prevalidationSignals: { // PrevalidationSignalsBody
|
|
130
|
+
* // producedBy: "STRING_VALUE",
|
|
131
|
+
* // signals: [ // PrevalidationSignals
|
|
132
|
+
* // { // PrevalidationSignal
|
|
133
|
+
* // subjectRef: "STRING_VALUE",
|
|
134
|
+
* // dimension: "EXPLOITABILITY" || "BLAST_RADIUS" || "NETWORK_EXPOSURE" || "PRECONDITION" || "CODE_CONTEXT" || "LIKELIHOOD_ASSESSMENT" || "IMPACT_ASSESSMENT",
|
|
135
|
+
* // signalStrength: "NONE" || "WEAK" || "MODERATE" || "STRONG",
|
|
136
|
+
* // conclusion: "STRING_VALUE",
|
|
137
|
+
* // producerId: "STRING_VALUE",
|
|
138
|
+
* // producerVersion: "STRING_VALUE",
|
|
139
|
+
* // confidence: Number("double"),
|
|
140
|
+
* // confidenceReasoning: { // SignalConfidenceReasoning
|
|
141
|
+
* // summary: "STRING_VALUE", // required
|
|
142
|
+
* // factors: "<ArtifactCitations>",
|
|
143
|
+
* // },
|
|
144
|
+
* // computed: { // SignalComputation
|
|
145
|
+
* // likelihoodBand: "VERY_LOW" || "LOW" || "MODERATE" || "HIGH",
|
|
146
|
+
* // impactBand: "VERY_LOW" || "LOW" || "MODERATE" || "HIGH",
|
|
147
|
+
* // barriers: Number("int"),
|
|
148
|
+
* // },
|
|
149
|
+
* // preconditions: { // SignalPreconditions
|
|
150
|
+
* // reachableFromAttacker: { // SignalPrecondition
|
|
151
|
+
* // value: true || false,
|
|
152
|
+
* // basis: "CODE" || "GRAPH" || "FINDING" || "INFERRED" || "NO_EVIDENCE_DEFAULT",
|
|
153
|
+
* // reason: "STRING_VALUE",
|
|
154
|
+
* // missingInfo: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
156
|
+
* // configurationNeeded: {
|
|
157
|
+
* // value: true || false,
|
|
158
|
+
* // basis: "CODE" || "GRAPH" || "FINDING" || "INFERRED" || "NO_EVIDENCE_DEFAULT",
|
|
159
|
+
* // reason: "STRING_VALUE",
|
|
160
|
+
* // missingInfo: "STRING_VALUE",
|
|
161
|
+
* // },
|
|
162
|
+
* // accessLevel: { // SignalAccessPrecondition
|
|
163
|
+
* // value: "NONE" || "ANY_AUTHENTICATED" || "PRIVILEGED",
|
|
164
|
+
* // basis: "CODE" || "GRAPH" || "FINDING" || "INFERRED" || "NO_EVIDENCE_DEFAULT",
|
|
165
|
+
* // reason: "STRING_VALUE",
|
|
166
|
+
* // missingInfo: "STRING_VALUE",
|
|
167
|
+
* // },
|
|
168
|
+
* // userInteractionRequired: {
|
|
169
|
+
* // value: true || false,
|
|
170
|
+
* // basis: "CODE" || "GRAPH" || "FINDING" || "INFERRED" || "NO_EVIDENCE_DEFAULT",
|
|
171
|
+
* // reason: "STRING_VALUE",
|
|
172
|
+
* // missingInfo: "STRING_VALUE",
|
|
173
|
+
* // },
|
|
174
|
+
* // },
|
|
175
|
+
* // impactDimensions: { // SignalImpactDimensions
|
|
176
|
+
* // attackerGains: { // SignalAttackerGainsDimension
|
|
177
|
+
* // value: "EXECUTE" || "MODIFY_PRIVILEGED" || "MODIFY_DATA" || "MODIFY_COSMETIC" || "READ" || "NEITHER",
|
|
178
|
+
* // basis: "CODE" || "GRAPH" || "FINDING" || "INFERRED" || "NO_EVIDENCE_DEFAULT",
|
|
179
|
+
* // reason: "STRING_VALUE",
|
|
180
|
+
* // missingInfo: "STRING_VALUE",
|
|
181
|
+
* // },
|
|
182
|
+
* // blastRadius: { // SignalBlastRadiusDimension
|
|
183
|
+
* // value: "CROSS_TENANT" || "OTHER_USERS_IN_TENANT" || "OWN_SCOPE",
|
|
184
|
+
* // basis: "CODE" || "GRAPH" || "FINDING" || "INFERRED" || "NO_EVIDENCE_DEFAULT",
|
|
185
|
+
* // reason: "STRING_VALUE",
|
|
186
|
+
* // missingInfo: "STRING_VALUE",
|
|
187
|
+
* // },
|
|
188
|
+
* // targetValue: { // SignalTargetValueDimension
|
|
189
|
+
* // value: "HIGH" || "MEDIUM" || "LOW",
|
|
190
|
+
* // basis: "CODE" || "GRAPH" || "FINDING" || "INFERRED" || "NO_EVIDENCE_DEFAULT",
|
|
191
|
+
* // reason: "STRING_VALUE",
|
|
192
|
+
* // missingInfo: "STRING_VALUE",
|
|
193
|
+
* // },
|
|
194
|
+
* // },
|
|
195
|
+
* // exploitability: { // SignalExploitability
|
|
196
|
+
* // verdict: "EXPLOITABLE" || "NOT_EXPLOITABLE" || "UNCERTAIN",
|
|
197
|
+
* // reachedCrownJewels: true || false,
|
|
198
|
+
* // highestLayerReached: Number("int"),
|
|
199
|
+
* // confidenceTier: "SOURCE_READ" || "STATIC_PROVEN" || "BUILD_PROVEN" || "RUNTIME_PROVEN",
|
|
200
|
+
* // scriptable: true || false,
|
|
201
|
+
* // sourceValidationArtifactId: "STRING_VALUE",
|
|
202
|
+
* // },
|
|
203
|
+
* // },
|
|
204
|
+
* // ],
|
|
205
|
+
* // },
|
|
206
|
+
* // remediationProposal: { // RemediationProposalBody
|
|
207
|
+
* // patch: "STRING_VALUE", // required
|
|
208
|
+
* // format: "GIT_MAILBOX_PATCH" || "GIT_BINARY_DIFF" || "GIT_DIFF",
|
|
209
|
+
* // filename: "STRING_VALUE",
|
|
210
|
+
* // patchSha256: "STRING_VALUE",
|
|
211
|
+
* // },
|
|
212
|
+
* // patch: { // PatchBody
|
|
213
|
+
* // patch: "STRING_VALUE", // required
|
|
214
|
+
* // format: "GIT_MAILBOX_PATCH" || "GIT_BINARY_DIFF" || "GIT_DIFF",
|
|
215
|
+
* // repositoryName: "STRING_VALUE",
|
|
216
|
+
* // patchSha256: "STRING_VALUE", // required
|
|
217
|
+
* // sizeBytes: Number("long"), // required
|
|
218
|
+
* // delivery: { // PatchDelivery
|
|
219
|
+
* // status: "PENDING" || "SUCCEEDED" || "FAILED" || "SKIPPED" || "ABANDONED", // required
|
|
220
|
+
* // target: { // DestinationTarget Union: only one key present
|
|
221
|
+
* // s3: { // S3Target
|
|
222
|
+
* // bucket: "STRING_VALUE", // required
|
|
223
|
+
* // key: "STRING_VALUE", // required
|
|
224
|
+
* // version: "STRING_VALUE",
|
|
225
|
+
* // },
|
|
226
|
+
* // github: { // GitHubTarget
|
|
227
|
+
* // owner: "STRING_VALUE", // required
|
|
228
|
+
* // repository: "STRING_VALUE", // required
|
|
229
|
+
* // pullRequestNumber: Number("long"),
|
|
230
|
+
* // headSha: "STRING_VALUE",
|
|
231
|
+
* // },
|
|
232
|
+
* // },
|
|
233
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
234
|
+
* // },
|
|
235
|
+
* // },
|
|
236
|
+
* // raw: "STRING_VALUE",
|
|
237
|
+
* // },
|
|
238
|
+
* // metadata: "DOCUMENT_VALUE",
|
|
239
|
+
* // producer: { // IssueArtifactProducerSummary
|
|
240
|
+
* // agent: "STRING_VALUE", // required
|
|
241
|
+
* // },
|
|
242
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
243
|
+
* // };
|
|
244
|
+
*
|
|
245
|
+
* ```
|
|
246
|
+
*
|
|
247
|
+
* @param GetCodeIssueArtifactCommandInput - {@link GetCodeIssueArtifactCommandInput}
|
|
248
|
+
* @returns {@link GetCodeIssueArtifactCommandOutput}
|
|
249
|
+
* @see {@link GetCodeIssueArtifactCommandInput} for command's `input` shape.
|
|
250
|
+
* @see {@link GetCodeIssueArtifactCommandOutput} for command's `response` shape.
|
|
251
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
252
|
+
*
|
|
253
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
254
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
255
|
+
*
|
|
256
|
+
* @throws {@link InternalServerException} (server fault)
|
|
257
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
258
|
+
*
|
|
259
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
260
|
+
* The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
|
|
261
|
+
*
|
|
262
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
263
|
+
* The request was denied due to request throttling.
|
|
264
|
+
*
|
|
265
|
+
* @throws {@link ValidationException} (client fault)
|
|
266
|
+
*
|
|
267
|
+
* @throws {@link ContinuumServiceException}
|
|
268
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
269
|
+
*
|
|
270
|
+
*
|
|
271
|
+
* @public
|
|
272
|
+
*/
|
|
273
|
+
export declare class GetCodeIssueArtifactCommand extends GetCodeIssueArtifactCommand_base {
|
|
274
|
+
/** @internal type navigation helper, not in runtime. */
|
|
275
|
+
protected static __types: {
|
|
276
|
+
api: {
|
|
277
|
+
input: GetCodeIssueArtifactInput;
|
|
278
|
+
output: GetCodeIssueArtifactOutput;
|
|
279
|
+
};
|
|
280
|
+
sdk: {
|
|
281
|
+
input: GetCodeIssueArtifactCommandInput;
|
|
282
|
+
output: GetCodeIssueArtifactCommandOutput;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetCodeIssueInput, GetCodeIssueOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetCodeIssueCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetCodeIssueCommandInput extends GetCodeIssueInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetCodeIssueCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetCodeIssueCommandOutput extends GetCodeIssueOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetCodeIssueCommand_base: {
|
|
22
|
+
new (input: GetCodeIssueCommandInput): import("@smithy/core/client").CommandImpl<GetCodeIssueCommandInput, GetCodeIssueCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetCodeIssueCommandInput): import("@smithy/core/client").CommandImpl<GetCodeIssueCommandInput, GetCodeIssueCommandOutput, import("..").ContinuumClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves the current state and details of an issue.
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ContinuumClient, GetCodeIssueCommand } from "@aws-sdk/client-continuum"; // ES Modules import
|
|
32
|
+
* // const { ContinuumClient, GetCodeIssueCommand } = require("@aws-sdk/client-continuum"); // CommonJS import
|
|
33
|
+
* // import type { ContinuumClientConfig } from "@aws-sdk/client-continuum";
|
|
34
|
+
* const config = {}; // type is ContinuumClientConfig
|
|
35
|
+
* const client = new ContinuumClient(config);
|
|
36
|
+
* const input = { // GetCodeIssueInput
|
|
37
|
+
* environmentId: "STRING_VALUE", // required
|
|
38
|
+
* issueId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetCodeIssueCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetCodeIssueOutput
|
|
43
|
+
* // issueId: "STRING_VALUE", // required
|
|
44
|
+
* // issueArn: "STRING_VALUE", // required
|
|
45
|
+
* // name: "STRING_VALUE", // required
|
|
46
|
+
* // synopsis: "STRING_VALUE", // required
|
|
47
|
+
* // severity: "LOW" || "MEDIUM" || "HIGH" || "CRITICAL",
|
|
48
|
+
* // confidence: Number("int"),
|
|
49
|
+
* // severityReasoning: "STRING_VALUE",
|
|
50
|
+
* // summary: "STRING_VALUE",
|
|
51
|
+
* // findingIds: [ // IssueFindingIds // required
|
|
52
|
+
* // "STRING_VALUE",
|
|
53
|
+
* // ],
|
|
54
|
+
* // status: "CREATED" || "IN_PROGRESS" || "COMPLETED" || "FAILED", // required
|
|
55
|
+
* // phase: "VALIDATION" || "PRIORITIZATION" || "REMEDIATION",
|
|
56
|
+
* // statusReason: "INTERNAL_ERROR" || "REMEDIATION_FAILED",
|
|
57
|
+
* // statusMessage: "STRING_VALUE",
|
|
58
|
+
* // statusUpdatedAt: new Date("TIMESTAMP"), // required
|
|
59
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
60
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
61
|
+
* // evidenceAvailability: "NONE" || "AVAILABLE",
|
|
62
|
+
* // patchDelivery: { // IssuePatchDelivery
|
|
63
|
+
* // status: "PENDING" || "SUCCEEDED" || "FAILED" || "SKIPPED", // required
|
|
64
|
+
* // patchCount: Number("int"), // required
|
|
65
|
+
* // succeededCount: Number("int"), // required
|
|
66
|
+
* // failedCount: Number("int"), // required
|
|
67
|
+
* // failureReasons: [ // IssuePatchDeliveryFailureReasons
|
|
68
|
+
* // "ARTIFACT_READ_FAILED" || "ARTIFACT_SOURCE_MISMATCH" || "ARTIFACT_SOURCE_MISSING" || "BUILD_NOT_FOUND" || "BUILD_READ_FAILED" || "BUILD_RESULT_SCOPE_MISMATCH" || "DELIVERY_NOT_CONFIGURED" || "DELIVERY_SOURCE_KIND_CHANGED" || "DUPLICATE_LOGICAL_REPOSITORY" || "DUPLICATE_OR_INVALID_REPOSITORY" || "ENVIRONMENT_DELETED" || "ENVIRONMENT_NOT_ACTIVE" || "ENVIRONMENT_NOT_FOUND" || "ENVIRONMENT_READ_FAILED" || "S3_ACCESS_DENIED" || "S3_SOURCE_PREFIX_OVERLAP" || "SOURCE_INTEGRATION_UNRESOLVED" || "SOURCE_INTEGRATION_READ_FAILED" || "SOURCE_INTEGRATION_INVALID" || "SOURCE_INTEGRATION_CHANGED" || "EXPORT_CREDENTIALS_MISSING" || "EXPORT_CREDENTIAL_EXPIRY_INVALID" || "EXPORT_DESTINATION_INVALID" || "EXPORT_EXISTING_OBJECT_MISMATCH" || "EXPORT_PUT_FAILED" || "EXPORT_RECONCILIATION_READ_FAILED" || "EXPORT_ROLE_ASSUMPTION_FAILED" || "GITHUB_ACCESS_DENIED" || "GITHUB_BASE_NOT_FOUND" || "GITHUB_BRANCH_CONFLICT" || "GITHUB_NOT_FOUND" || "GITHUB_RATE_LIMITED" || "GITHUB_REPOSITORY_CHANGED" || "GITHUB_REPOSITORY_NOT_FOUND" || "GITHUB_REQUEST_FAILED" || "GITHUB_REQUEST_REJECTED" || "GITHUB_RESPONSE_INVALID" || "GREEN_ATTEMPT_NOT_SUCCESSFUL" || "GREEN_COMPLETION_NOT_OBSERVED" || "PATCH_NOT_SELECTED" || "INCOMPLETE_SOURCE_REFERENCE" || "INVALID_ARCHIVE_DIGEST" || "INVALID_ARTIFACT_SOURCE" || "INVALID_COMPLETED_MANIFEST" || "INVALID_EXPORT_RECEIPT" || "INVALID_GITHUB_PROVENANCE" || "INVALID_S3_DESTINATION" || "INVALID_SERVICE_RECEIPT" || "INVALID_SOURCE_INVENTORY" || "INVALID_SOURCE_MANIFEST" || "INVALID_SOURCE_REFERENCE" || "ISSUE_INTEGRITY_FAILURE" || "ISSUE_NOT_FOUND" || "MANIFEST_INVENTORY_MISMATCH" || "MANIFEST_PROVENANCE_CHANGED" || "MANIFEST_REPOSITORY_SET_MISMATCH" || "MANIFEST_SCOPE_OR_VERSION_MISMATCH" || "MISSING_BUILD_RESULT" || "MISSING_COMPLETED_MANIFEST" || "MISSING_RESULT_DIGEST" || "MISSING_SOURCE_MANIFEST" || "MISSING_SOURCE_TARGET" || "PATCH_NOT_APPLICABLE" || "PATCH_STORAGE_IDENTITY_MISSING" || "PATCH_UNSUPPORTED" || "PUBLICATION_OUTCOME_UNKNOWN_AFTER_RETRY_LIMIT" || "PUBLISHER_DEADLINE_EXCEEDED" || "RESULT_COMPLETED_MANIFEST_MISMATCH" || "RESULT_SOURCE_BINDING_MISMATCH" || "SERVICE_COPY_DIGEST_MISMATCH" || "SERVICE_OBJECT_READ_FAILED" || "SERVICE_OBJECT_TOO_LARGE" || "SERVICE_RECEIPT_OUTSIDE_ISSUE" || "SOURCE_OBJECT_DIGEST_MISMATCH" || "SOURCE_REFERENCE_OUTSIDE_BUILD" || "SOURCE_TARGET_BUILD_MISMATCH" || "UNKNOWN_REPOSITORY" || "UNKNOWN_SOURCE_PROVIDER" || "UNSUPPORTED_ENVIRONMENT_SCHEMA" || "github_destination_not_enabled" || "patch_creation_policy_disabled",
|
|
69
|
+
* // ],
|
|
70
|
+
* // },
|
|
71
|
+
* // };
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @param GetCodeIssueCommandInput - {@link GetCodeIssueCommandInput}
|
|
76
|
+
* @returns {@link GetCodeIssueCommandOutput}
|
|
77
|
+
* @see {@link GetCodeIssueCommandInput} for command's `input` shape.
|
|
78
|
+
* @see {@link GetCodeIssueCommandOutput} for command's `response` shape.
|
|
79
|
+
* @see {@link ContinuumClientResolvedConfig | config} for ContinuumClient's `config` shape.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
82
|
+
* The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link InternalServerException} (server fault)
|
|
85
|
+
* The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
88
|
+
* The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
91
|
+
* The request was denied due to request throttling.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ValidationException} (client fault)
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ContinuumServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from Continuum service.</p>
|
|
97
|
+
*
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class GetCodeIssueCommand extends GetCodeIssueCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: GetCodeIssueInput;
|
|
106
|
+
output: GetCodeIssueOutput;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: GetCodeIssueCommandInput;
|
|
110
|
+
output: GetCodeIssueCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|