get-code-issue
--environment-id <value>
--issue-id <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
[--cli-error-format <value>]
--environment-id (string) [required]
The environment that owns the issue.
Constraints:
- min:
1- max:
64- pattern:
[a-z0-9]+
--issue-id (string) [required]
The unique identifier of the issue to retrieve.
Constraints:
- min:
1- max:
64- pattern:
[a-z0-9]+
--cli-input-json | --cli-input-yaml (string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.
--generate-cli-skeleton (string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--cli-binary-format (string)
The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.
--no-cli-pager (boolean)
Disable cli pager for output.
--cli-auto-prompt (boolean)
Automatically prompt for CLI input parameters.
--no-cli-auto-prompt (boolean)
Disable automatically prompt for CLI input parameters.
--cli-error-format (string)
The formatting style for error output. By default, errors are displayed in enhanced format.
issueId -> (string)
The unique identifier of the issue.
Constraints:
- min:
1- max:
64- pattern:
[a-z0-9]+
issueArn -> (string)
The ARN of the issue.
Constraints:
- min:
1- max:
1011- pattern:
arn:[a-z0-9-]+:continuum:[a-z0-9-]+:[0-9]{12}:environments/[a-z0-9]+/code-issues/[a-z0-9]+
name -> (string)
The name of the issue.
Constraints:
- min:
1- max:
255
synopsis -> (string)
A free-form synopsis of the issue.
Constraints:
- min:
1- max:
4096
severity -> (string)
Current severity: the FindingSeverity seed at create, overwritten by the authoritative severity that prioritization assigns after validation.
Possible values:
LOWMEDIUMHIGHCRITICAL
confidence -> (integer)
The likelihood that this issue is a true positive, expressed as a percentage (0-100).
Constraints:
- min:
0- max:
100
severityReasoning -> (string)
The justification for the current severity. Always leads with a customer-facing basis clause synthesized from how the severity was determined (e.g. “Severity from finding.”, “Severity from Continuum system.”); when prioritization has run, its own reasoning follows. Issues created before the basis clause was introduced return their original reasoning without it.
Constraints:
- min:
1- max:
4096
summary -> (string)
The remediation completion summary, when the green stage has run.
Constraints:
- min:
1- max:
2048
findingIds -> (list)
The findings that motivated this issue. Bare identifiers only – a caller authorized for GetCodeIssue is not necessarily authorized to read finding detail; call GetCodeFinding for that. Every referenced finding is included regardless of origin (both CustomerUploaded and ContinuumScanner).
Constraints:
- min:
1- max:
50(string)
The unique identifier for a Finding resource.
Constraints:
- min:
1- max:
64- pattern:
[a-z0-9]+
status -> (string)
The current lifecycle status of the issue.
Possible values:
CREATEDIN_PROGRESSCOMPLETEDFAILED
phase -> (string)
The part of the workflow the issue is in. Present when status is IN_PROGRESS, and when status is FAILED and the failing phase is known.
Possible values:
VALIDATIONPRIORITIZATIONREMEDIATION
statusReason -> (string)
Why the issue failed. Present only when status is FAILED.
Possible values:
INTERNAL_ERRORREMEDIATION_FAILED
statusMessage -> (string)
Customer-facing explanation of statusReason. Present only when status is FAILED.
Constraints:
- min:
1- max:
1024
statusUpdatedAt -> (timestamp)
The timestamp when the status or phase last changed.
createdAt -> (timestamp)
The timestamp when the issue was created.
updatedAt -> (timestamp)
The timestamp when any field of the issue last changed. Advances on every mutation (including score-only updates that do not transition status), so it is greater than or equal to statusUpdatedAt.
evidenceAvailability -> (string)
Whether the issue has any attached evidence (formerly ‘artifacts’: tool output, remediation proposals, patches). NONE = no evidence; AVAILABLE = at least one evidence item exists. Computed at read time.
Possible values:
NONEAVAILABLE
patchDelivery -> (structure)
Customer delivery of the issue’s patches, summarized from its PATCH artifacts at read time. Absent when no patch has a destination delivery.
status -> (string) [required]
The overall result, in priority order: FAILED when any patch’s destination delivery failed or exhausted its retries; otherwise PENDING while any is still in progress; otherwise SUCCEEDED when at least one was delivered; otherwise SKIPPED.
Possible values:
PENDINGSUCCEEDEDFAILEDSKIPPEDpatchCount -> (integer) [required]
Number of the issue’s patches that have a destination delivery.
Constraints:
- min:
0succeededCount -> (integer) [required]
Number of those patches delivered to their destination.
Constraints:
- min:
0failedCount -> (integer) [required]
Number of those patches whose delivery failed or exhausted its retries.
Constraints:
- min:
0failureReasons -> (list)
Distinct reasons of the failed deliveries, in ascending order. Present only when failedCount is greater than zero.
(string)
Cause of a PATCH delivery’s current state; used only by DeliveryState.reason. These are outcomes of one delivery lifecycle, not shared operation error enums. The two existing skip-code wire values are retained for compatibility.
Possible values:
ARTIFACT_READ_FAILEDARTIFACT_SOURCE_MISMATCHARTIFACT_SOURCE_MISSINGBUILD_NOT_FOUNDBUILD_READ_FAILEDBUILD_RESULT_SCOPE_MISMATCHDELIVERY_NOT_CONFIGUREDDELIVERY_SOURCE_KIND_CHANGEDDUPLICATE_LOGICAL_REPOSITORYDUPLICATE_OR_INVALID_REPOSITORYENVIRONMENT_DELETEDENVIRONMENT_NOT_ACTIVEENVIRONMENT_NOT_FOUNDENVIRONMENT_READ_FAILEDS3_ACCESS_DENIEDS3_SOURCE_PREFIX_OVERLAPSOURCE_INTEGRATION_UNRESOLVEDSOURCE_INTEGRATION_READ_FAILEDSOURCE_INTEGRATION_INVALIDSOURCE_INTEGRATION_CHANGEDEXPORT_CREDENTIALS_MISSINGEXPORT_CREDENTIAL_EXPIRY_INVALIDEXPORT_DESTINATION_INVALIDEXPORT_EXISTING_OBJECT_MISMATCHEXPORT_PUT_FAILEDEXPORT_RECONCILIATION_READ_FAILEDEXPORT_ROLE_ASSUMPTION_FAILEDGITHUB_ACCESS_DENIEDGITHUB_BASE_NOT_FOUNDGITHUB_BRANCH_CONFLICTGITHUB_NOT_FOUNDGITHUB_RATE_LIMITEDGITHUB_REPOSITORY_CHANGEDGITHUB_REPOSITORY_NOT_FOUNDGITHUB_REQUEST_FAILEDGITHUB_REQUEST_REJECTEDGITHUB_RESPONSE_INVALIDGREEN_ATTEMPT_NOT_SUCCESSFULGREEN_COMPLETION_NOT_OBSERVEDPATCH_NOT_SELECTEDINCOMPLETE_SOURCE_REFERENCEINVALID_ARCHIVE_DIGESTINVALID_ARTIFACT_SOURCEINVALID_COMPLETED_MANIFESTINVALID_EXPORT_RECEIPTINVALID_GITHUB_PROVENANCEINVALID_S3_DESTINATIONINVALID_SERVICE_RECEIPTINVALID_SOURCE_INVENTORYINVALID_SOURCE_MANIFESTINVALID_SOURCE_REFERENCEISSUE_INTEGRITY_FAILUREISSUE_NOT_FOUNDMANIFEST_INVENTORY_MISMATCHMANIFEST_PROVENANCE_CHANGEDMANIFEST_REPOSITORY_SET_MISMATCHMANIFEST_SCOPE_OR_VERSION_MISMATCHMISSING_BUILD_RESULTMISSING_COMPLETED_MANIFESTMISSING_RESULT_DIGESTMISSING_SOURCE_MANIFESTMISSING_SOURCE_TARGETPATCH_NOT_APPLICABLEPATCH_STORAGE_IDENTITY_MISSINGPATCH_UNSUPPORTEDPUBLICATION_OUTCOME_UNKNOWN_AFTER_RETRY_LIMITPUBLISHER_DEADLINE_EXCEEDEDRESULT_COMPLETED_MANIFEST_MISMATCHRESULT_SOURCE_BINDING_MISMATCHSERVICE_COPY_DIGEST_MISMATCHSERVICE_OBJECT_READ_FAILEDSERVICE_OBJECT_TOO_LARGESERVICE_RECEIPT_OUTSIDE_ISSUESOURCE_OBJECT_DIGEST_MISMATCHSOURCE_REFERENCE_OUTSIDE_BUILDSOURCE_TARGET_BUILD_MISMATCHUNKNOWN_REPOSITORYUNKNOWN_SOURCE_PROVIDERUNSUPPORTED_ENVIRONMENT_SCHEMAgithub_destination_not_enabledpatch_creation_policy_disabled