SDK for PHP V3

Client: Aws\Continuum\ContinuumClient
Service ID: continuum
Version: 2022-07-26

This page describes the parameters and results for the operations of the AWS Continuum (2022-07-26), and shows how to use the Aws\Continuum\ContinuumClient object to call the described operations. This documentation is specific to the 2022-07-26 API version of the service.

Service Description

AWS Continuum finds, validates, prioritizes, and remediates code vulnerabilities across the source repositories and AWS resources in your environments.

Operation Summary

Each of the following operations can be created from a client using $client->getCommand('CommandName'), where "CommandName" is the name of one of the following operations. Note: a command is a value that encapsulates an operation and the parameters used to create an HTTP request.

You can also create and send a command immediately using the magic methods available on a client object: $client->commandName(/* parameters */). You can send the command asynchronously (returning a promise) by appending the word "Async" to the operation name: $client->commandNameAsync(/* parameters */).

AssociateCollector ( array $params = [] )
Associates one Collector with this Environment and configures the customer role Continuum uses to authorize access to associated Collector data.
CreateCodeFinding ( array $params = [] )
Ingests a customer-supplied security finding into an environment.
CreateCodeScan ( array $params = [] )
Creates an explicit scan request for one environment.
CreateCollector ( array $params = [] )
Creates the Collector for the caller's account.
CreateEnvironment ( array $params = [] )
Creates an environment and starts its validation and any requested provisioning.
CreateIntegration ( array $params = [] )
Creates a Continuum Integration.
CreatePackageDecision ( array $params = [] )
Evaluates one package against the service-managed malicious-package baseline and the calling account's policies, and records an immutable decision.
CreateSupplyChainPolicy ( array $params = [] )
Creates a Supply Chain policy in the calling account and Region.
CreateSupplyChainPolicyException ( array $params = [] )
Creates a policy exception that suppresses specific rules of one policy, customer-managed or service-managed, for packages that match a package identity, until the exception expires.
DeleteCollector ( array $params = [] )
Deletes the Collector for the caller's account.
DeleteEnvironment ( array $params = [] )
Deletes an environment and its associated resources.
DeleteIntegration ( array $params = [] )
Deletes a Continuum integration owned by the forwarded customer account.
DeleteSupplyChainPolicy ( array $params = [] )
Deletes a policy and every policy exception that references it.
DeleteSupplyChainPolicyException ( array $params = [] )
Deletes a policy exception.
DisassociateCollector ( array $params = [] )
Removes one Collector association from this Environment, preserving its other associations.
GetCodeFinding ( array $params = [] )
Retrieves the current state and details of a finding.
GetCodeIssue ( array $params = [] )
Retrieves the current state and details of an issue.
GetCodeIssueArtifact ( array $params = [] )
Retrieves one immutable artifact attached to an issue, including its content.
GetCodeScan ( array $params = [] )
Retrieves one customer-visible environment scan.
GetCollector ( array $params = [] )
Retrieves the current state of the Collector for the caller's account.
GetCollectorDataAccessAuthorization ( array $params = [] )
Authorizes an Environment's access to a Collector's data.
GetEnvironment ( array $params = [] )
Retrieves the current state and configuration of an environment.
GetIntegration ( array $params = [] )
Reads a Continuum integration owned by the forwarded customer account.
GetPackageDecision ( array $params = [] )
Returns one package decision owned by the calling account.
GetResourcePolicy ( array $params = [] )
Retrieves the resource policy attached to a Continuum resource.
GetSupplyChainManagedPolicy ( array $params = [] )
Returns one read-only policy created and managed by an AWS service, such as the malicious-package baseline.
GetSupplyChainPolicy ( array $params = [] )
Returns one policy owned by the calling account.
GetSupplyChainPolicyException ( array $params = [] )
Returns one policy exception owned by the calling account, with its status computed from expiresAt.
GetVulnerability ( array $params = [] )
Returns metadata for one vulnerability ID, such as an ID from MandatoryBaselineEvidence.
ListAssociatedCollectors ( array $params = [] )
Lists the Collectors currently associated with one Environment in ascending collectorId order.
ListAssociatedEnvironments ( array $params = [] )
Lists the Environments currently associated with one Collector in lexicographically ascending environmentArn order.
ListCodeFindings ( array $params = [] )
Lists the findings in an environment in descending findingId order.
ListCodeIssueArtifacts ( array $params = [] )
Lists the artifacts attached to an issue in descending artifactId order.
ListCodeIssues ( array $params = [] )
Lists the issues in an environment in descending issueId order.
ListCodeScans ( array $params = [] )
Lists customer-visible scans for one environment in descending scanRunId order.
ListCollectors ( array $params = [] )
Lists the Collectors owned by the authenticated caller's account, including a Collector whose deletion is in progress.
ListDecisionEvidence ( array $params = [] )
Returns the immutable evidence recorded for one decision: which baseline, rules, and policy exceptions applied to the package.
ListEnvironments ( array $params = [] )
Lists all environments in your account in descending environmentId order.
ListIntegrations ( array $params = [] )
Lists Continuum integrations owned by the forwarded customer account.
ListPackageDecisions ( array $params = [] )
Lists the package decisions made for the calling account, newest first by completedAt.
ListSupplyChainPolicies ( array $params = [] )
Lists customer-managed and service-managed policies visible to the calling account in the current Region.
ListSupplyChainPolicyExceptions ( array $params = [] )
Lists policy exceptions owned by the calling account in the current Region.
ListTagsForResource ( array $params = [] )
Returns the tags on a Continuum resource.
PutResourcePolicy ( array $params = [] )
Creates or replaces the resource policy attached to a Continuum resource.
StartIntegrationAuthorization ( array $params = [] )
Starts an OAuth authorization for a new Continuum integration.
TagResource ( array $params = [] )
Adds tags to a Continuum resource, or changes the values of tags that it already has.
UntagResource ( array $params = [] )
Removes tags from a Continuum resource.
UpdateCollector ( array $params = [] )
Updates the customer-controlled mutable properties of a Collector.
UpdateEnvironment ( array $params = [] )
Updates the customer-controlled mutable properties of an environment.
UpdateIntegration ( array $params = [] )
Updates a Continuum integration.
UpdateSupplyChainPolicy ( array $params = [] )
Updates an existing policy.
UpdateSupplyChainPolicyException ( array $params = [] )
Replaces the mutable fields of an active policy exception: the rules it suppresses, the package it applies to, the justification, and the expiry time.

Paginators

Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:

ListAssociatedCollectors
ListAssociatedEnvironments
ListCodeFindings
ListCodeIssueArtifacts
ListCodeIssues
ListCodeScans
ListDecisionEvidence
ListEnvironments
ListIntegrations
ListPackageDecisions
ListSupplyChainPolicies
ListSupplyChainPolicyExceptions

Waiters

Waiters allow you to poll a resource until it enters into a desired state. A waiter has a name used to describe what it does, and is associated with an API operation. When creating a waiter, you can provide the API operation parameters associated with the corresponding operation. Waiters can be accessed using the getWaiter($waiterName, $operationParameters) method of a client object. This client supports the following waiters:

Waiter name API Operation Delay Max Attempts
CodeScanSucceeded GetCodeScan 60 480

Operations

AssociateCollector

$result = $client->associateCollector([/* ... */]);
$promise = $client->associateCollectorAsync([/* ... */]);

Associates one Collector with this Environment and configures the customer role Continuum uses to authorize access to associated Collector data. The caller must have permission on the Environment and permission to pass the role. Continuum assumes the supplied role and calls GetCollectorDataAccessAuthorization on the requested Collector; only a successful authorization response permits the association. The caller does not need Collector data-access permission. The Environment retains its other Collector associations. Calling again with an existing association is safe and does not create a duplicate.

Parameter Syntax

$result = $client->associateCollector([
    'clientToken' => '<string>',
    'collectorArn' => '<string>', // REQUIRED
    'collectorDataAccessRoleArn' => '<string>', // REQUIRED
    'environmentId' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: string

Caller-provided token that makes retried association requests idempotent. The first successful request binds the token to the complete Collector ARN, supplied role, and result for at least 24 hours. During that retry window, reusing it with a different request fails with ConflictException. A matching replay still requires the supplied role to have current Collector access. Once authorized, a matching replay returns the stored result without changing association state. Revocation can deny a replay; it does not remove the stored association or its original result.

collectorArn
Required: Yes
Type: string

The ARN of the Collector to associate with this Environment.

collectorDataAccessRoleArn
Required: Yes
Type: string

IAM role in the Environment account that Continuum assumes before authorizing access to associated Collector inventory. Every association, including a same-account association, requires this role. The supplied ARN replaces the Environment's previously stored role. The customer is responsible for granting the role access to every Collector that should contribute data.

environmentId
Required: Yes
Type: string

The unique identifier of the Environment making the association.

Result Syntax

[
    'associatedCollector' => [
        'collectorArn' => '<string>',
        'collectorId' => '<string>',
    ],
    'environmentArn' => '<string>',
    'environmentId' => '<string>',
]

Result Details

Members
associatedCollector
Required: Yes
Type: AssociatedCollector structure

The Collector identifier and ARN validated by this operation.

environmentArn
Required: Yes
Type: string

The ARN of the Environment making the association.

environmentId
Required: Yes
Type: string

The unique identifier of the Environment making the association.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

CreateCodeFinding

$result = $client->createCodeFinding([/* ... */]);
$promise = $client->createCodeFindingAsync([/* ... */]);

Ingests a customer-supplied security finding into an environment. Continuum validates the document synchronously against the required overlay fields for the declared format; invalid documents are rejected with a ValidationException. The maximum accepted document size is 256 KB. The environment must have a source configured, and the finding must identify a code location so Continuum can tie it to a repository in the environment's build. Continuum assigns a findingId and stores the verbatim document. When no successful build yet contains the finding's repository, the finding stays SUBMITTED until the next successful build; if that build does not contain it either, the finding is DISCARDED with discardReason SOURCE_REPO_NOT_FOUND.

Parameter Syntax

$result = $client->createCodeFinding([
    'clientToken' => '<string>',
    'environmentId' => '<string>', // REQUIRED
    'ocsfDocument' => [ // REQUIRED
    ],
]);

Parameter Details

Members
clientToken
Type: string

Caller-provided idempotency token. A retry with the same token and an identical finding document replays the original result; the same token with different content is rejected.

environmentId
Required: Yes
Type: string

The environment to ingest the finding into.

ocsfDocument
Required: Yes
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

The OCSF finding document to ingest, verbatim. Must declare a class_uid Continuum supports (2002 Vulnerability Finding, or 2007 Application Security Posture Finding) and validate against the vendored OCSF JSON Schema for that class, including the Continuum overlay requirements that finding_info.uid be present and that vulnerabilities[0].affected_code[0].file identify the code location. With several repositories in the environment, the file path must begin with the repository name. Maximum size 256 KB. Stored verbatim and normalized into the typed Finding members returned by GetCodeFinding. GetCodeFinding does not return the document itself.

Result Syntax

[
    'createdAt' => <DateTime>,
    'findingArn' => '<string>',
    'findingId' => '<string>',
    'status' => 'SUBMITTED|VALIDATING|CONFIRMED|DISCARDED|NOT_PURSUED',
    'title' => '<string>',
]

Result Details

Members
createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the finding was ingested.

findingArn
Required: Yes
Type: string

The ARN of the ingested finding.

findingId
Required: Yes
Type: string

The unique identifier assigned to the finding.

status
Required: Yes
Type: string

The finding's current lifecycle status -- SUBMITTED for a newly ingested finding, or the finding's present status when an idempotent retry replays an already-processed finding.

title
Required: Yes
Type: string

The title extracted from the submitted document. Always populated at ingestion.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

CreateCodeScan

$result = $client->createCodeScan([/* ... */]);
$promise = $client->createCodeScanAsync([/* ... */]);

Creates an explicit scan request for one environment. CP creates durable work before any queue delivery occurs.

Retrying a request that succeeded, with the same clientToken on the same environment, returns the original scan instead of starting another one. Token handling is not yet atomic: requests with the same token that run at the same time, or a retry after a request that failed partway through, can leave an additional scan, which may end in the FAILED state with a message that it was superseded. Deleting the environment makes its tokens unusable; a later request with one of them returns ResourceNotFoundException.

Each environment can have a limited number of scans in progress at the same time. Once that limit is enforced, a request that would exceed it returns ServiceQuotaExceededException; wait for a scan to finish (ListCodeScans shows each scan's status), then retry.

Parameter Syntax

$result = $client->createCodeScan([
    'clientToken' => '<string>',
    'environmentId' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: string

An optional token identifying one scan request for this environment. SDKs generate a token when omitted. If a request reaches the service without a token, the service generates one for that request, so each request without a token starts a new scan. To retry a request after a lost response, supply the same token on the same environment; once a request with that token has succeeded, a retry returns the original scan. Concurrent requests with the same token, or a retry after a request that failed partway through, can leave an additional scan, which may end FAILED as superseded. A token is bound to its scan for as long as the service retains the scan's build record, with no shorter expiry. Deleting the environment makes the binding inaccessible: a later request with the token returns ResourceNotFoundException.

environmentId
Required: Yes
Type: string

Environment to scan.

Result Syntax

[
    'scan' => [
        'completedAt' => <DateTime>,
        'createdAt' => <DateTime>,
        'failureMessage' => '<string>',
        'failureStage' => 'SUBMITTED|WAITING_FOR_BUILD|BUILDING|WAITING_FOR_SCAN|SCANNING',
        'origin' => 'MANUAL|SCHEDULED',
        'scanRunId' => '<string>',
        'status' => 'SUBMITTED|WAITING_FOR_BUILD|BUILDING|WAITING_FOR_SCAN|SCANNING|SUCCEEDED|FAILED',
    ],
]

Result Details

Members
scan
Required: Yes
Type: CodeScanSummary structure

The scan run this request created, or the scan run a previous request with the same clientToken already accepted.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

ServiceQuotaExceededException:

The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.

CreateCollector

$result = $client->createCollector([/* ... */]);
$promise = $client->createCollectorAsync([/* ... */]);

Creates the Collector for the caller's account. Provisions an AWS Config service-linked recorder using the caller's federated access session and begins recording infrastructure changes.

Parameter Syntax

$result = $client->createCollector([
    'clientToken' => '<string>',
    'kubernetesClusterRole' => [
        'externalId' => '<string>',
        'roleArn' => '<string>', // REQUIRED
    ],
    'type' => 'AWS_COLLECTOR',
]);

Parameter Details

Members
clientToken
Type: string

Caller-provided token that makes retried create requests return the original Collector rather than creating a duplicate.

kubernetesClusterRole

IAM role configuration used to collect Kubernetes cluster metadata. The authenticated caller must be allowed to pass its exact roleArn to Continuum.

type
Type: string

Source to collect. Defaults to AWS_COLLECTOR when omitted.

Result Syntax

[
    'collectorArn' => '<string>',
    'collectorId' => '<string>',
    'createdAt' => <DateTime>,
    'status' => 'ACTIVE|PENDING_DELETION',
    'type' => 'AWS_COLLECTOR',
]

Result Details

Members
collectorArn
Required: Yes
Type: string

The ARN of the created Collector.

collectorId
Required: Yes
Type: string

The unique identifier assigned to the Collector.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the Collector was created.

status
Required: Yes
Type: string

The current lifecycle status.

type
Required: Yes
Type: string

The source collected by this Collector.

Errors

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

ServiceQuotaExceededException:

The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.

CreateEnvironment

$result = $client->createEnvironment([/* ... */]);
$promise = $client->createEnvironmentAsync([/* ... */]);

Creates an environment and starts its validation and any requested provisioning. Storage provisioning and dependency checks may continue after the initial 201 response; use GetEnvironment to observe completion.

Parameter Syntax

$result = $client->createEnvironment([
    'configuration' => [
        'codeConfiguration' => [
            'environmentConfiguration' => [
                'focusMode' => 'COMPREHENSIVE|FOCUSED',
                'issueBudget' => [
                    'maxIssuesPerScan' => <integer>, // REQUIRED
                ],
                'network' => [
                    'allowedDomains' => ['<string>', ...],
                ],
                'patchCreationPolicy' => 'ENABLED|DISABLED',
                'scanFrequency' => '<string>',
            ],
            'sourceConfiguration' => [
                'repositorySources' => [
                    [
                        'defaultBranch' => '<string>',
                        'integrationId' => '<string>', // REQUIRED
                        'repository' => '<string>', // REQUIRED
                    ],
                    // ...
                ],
                's3Sources' => [
                    [
                        'codePrefix' => '<string>',
                        'contextPrefix' => '<string>',
                        'integrationId' => '<string>', // REQUIRED
                    ],
                    // ...
                ],
            ],
        ],
    ],
    'name' => '<string>', // REQUIRED
]);

Parameter Details

Members
configuration

Type-specific configuration. Omission creates a code environment with the default operating policy and no sources.

name
Required: Yes
Type: string

The customer-visible name of the environment.

Result Syntax

[
    'createdAt' => <DateTime>,
    'environmentArn' => '<string>',
    'environmentId' => '<string>',
    'status' => 'ACTIVE',
]

Result Details

Members
createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the environment was created.

environmentArn
Required: Yes
Type: string

The ARN of the created environment.

environmentId
Required: Yes
Type: string

The unique identifier assigned to the environment.

status
Required: Yes
Type: string

The initial status of the environment. Always ACTIVE on successful creation.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

ServiceQuotaExceededException:

The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.

CreateIntegration

$result = $client->createIntegration([/* ... */]);
$promise = $client->createIntegrationAsync([/* ... */]);

Creates a Continuum Integration. The ContinuumControlPlane adapter Lambda forwards the API Gateway event (customer identity + FAS) to HoFES, which executes this operation.

Parameter Syntax

$result = $client->createIntegration([
    'clientToken' => '<string>',
    'kmsKeyId' => '<string>',
    'name' => '<string>', // REQUIRED
    'providerConfiguration' => [ // REQUIRED
        'github' => [
            'authorization' => [ // REQUIRED
                'authorizationCode' => '<string>', // REQUIRED
                'redirectUrl' => '<string>',
                'state' => '<string>', // REQUIRED
            ],
            'organizationName' => '<string>',
        ],
        'gitlab' => [
            'accessToken' => '<string>', // REQUIRED
            'instanceUrl' => '<string>', // REQUIRED
            'targetPath' => '<string>', // REQUIRED
            'targetType' => 'GROUP|PROJECT', // REQUIRED
        ],
        's3' => [
            'bucket' => '<string>', // REQUIRED
            'externalId' => '<string>', // REQUIRED
            'roleArn' => '<string>', // REQUIRED
        ],
    ],
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
clientToken
Type: string

Optional idempotency token identifying one create attempt within the caller's account, Region, and operation. The service treats requests with the same token and identical input as replays of the first attempt.

kmsKeyId
Type: string

Optional customer managed KMS key ID. If present, Continuum provisions a Miyu CMK domain on this key and binds the integration's secrets to it.

name
Required: Yes
Type: string

Caller-provided name for the new integration. Unique per account.

providerConfiguration
Required: Yes
Type: ProviderConfiguration structure

Provider-specific configuration. Exactly one union member is set.

tags
Type: Associative array of custom strings keys (TagKey) to strings

Tags to add to the integration when it's created.

Result Syntax

[
    'createdAt' => <DateTime>,
    'integrationArn' => '<string>',
    'integrationId' => '<string>',
    'kmsKeyId' => '<string>',
    'tags' => ['<string>', ...],
]

Result Details

Members
createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Time at which the integration was created.

integrationArn
Required: Yes
Type: string

ARN of the created integration.

integrationId
Required: Yes
Type: string

Unique identifier of the created integration.

kmsKeyId
Type: string

Identifier of the customer managed KMS key, in key ARN form, resolved from the request's kmsKeyId. As in KMS responses, the key ID is returned as the key ARN. Present only when the request supplied kmsKeyId.

tags
Type: Associative array of custom strings keys (TagKey) to strings

The tags on the integration.

Errors

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

ServiceQuotaExceededException:

The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.

CreatePackageDecision

$result = $client->createPackageDecision([/* ... */]);
$promise = $client->createPackageDecisionAsync([/* ... */]);

Evaluates one package against the service-managed malicious-package baseline and the calling account's policies, and records an immutable decision. Call it before installing a package to learn whether to allow or deny it.

Parameter Syntax

$result = $client->createPackageDecision([
    'clientToken' => '<string>',
    'purl' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: string

Idempotency token. Generated SDKs fill it automatically. Within one hour, the same token with the same parameters returns the original decision, and the same token with different parameters returns ValidationException. Requests without a token are rejected with ValidationException.

purl
Required: Yes
Type: string

The package URL (purl) of the package version to evaluate, such as pkg:npm/lodash@4.17.21.

Result Syntax

[
    'canonicalPurl' => '<string>',
    'decisionId' => '<string>',
    'enforcementAction' => 'ALLOW|DENY',
    'enforcementMode' => 'NONE|AUDIT|ENFORCE',
    'evaluatedAction' => 'ALLOW|DENY',
    'reason' => 'NO_DENY_MATCH|MALICIOUS_PACKAGE|POLICY_RULE_MATCHED',
]

Result Details

Members
canonicalPurl
Required: Yes
Type: string

The package URL (purl) that was evaluated, as accepted by the service.

decisionId
Required: Yes
Type: string

The ID of the decision. Use it with GetPackageDecision and ListDecisionEvidence.

enforcementAction
Required: Yes
Type: string

The action to take. It differs from evaluatedAction only when enforcementMode is AUDIT: evaluatedAction is then DENY and enforcementAction is ALLOW.

enforcementMode
Required: Yes
Type: string

The strongest enforcement mode among matches that a policy exception didn't suppress: ENFORCE for the malicious-package baseline or an enforced rule, AUDIT for an audit-mode rule. NONE when there is no such match, including when policy exceptions suppressed every match.

evaluatedAction
Required: Yes
Type: string

The result of policy evaluation: DENY when the malicious-package baseline or a deny rule matched and no policy exception suppressed it, otherwise ALLOW.

reason
Required: Yes
Type: string

Why the decision was made.

Errors

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

CreateSupplyChainPolicy

$result = $client->createSupplyChainPolicy([/* ... */]);
$promise = $client->createSupplyChainPolicyAsync([/* ... */]);

Creates a Supply Chain policy in the calling account and Region. A policy holds up to five deny rules, which CreatePackageDecision evaluates for every package.

Parameter Syntax

$result = $client->createSupplyChainPolicy([
    'clientToken' => '<string>',
    'policy' => [ // REQUIRED
        'description' => '<string>',
        'name' => '<string>', // REQUIRED
        'rules' => [ // REQUIRED
            [
                'denyWhen' => [ // REQUIRED
                    'allOf' => [ // REQUIRED
                        [
                            'operator' => 'MATCHES|AT_LEAST|EQUALS|NOT_EQUALS|IN|PRESENT', // REQUIRED
                            'signal' => 'PACKAGE_IDENTITY|INSPECTOR_SEVERITY|KEV|MALICIOUS', // REQUIRED
                            'value' => [
                                'packageIdentity' => [
                                    'ecosystem' => '<string>', // REQUIRED
                                    'name' => '<string>', // REQUIRED
                                    'version' => '<string>',
                                    'versionRange' => '<string>',
                                ],
                                'severity' => 'LOW|MEDIUM|HIGH|CRITICAL|UNTRIAGED',
                                'stringSet' => ['<string>', ...],
                                'stringValue' => '<string>',
                            ],
                        ],
                        // ...
                    ],
                ],
                'enforcementMode' => 'AUDIT|ENFORCE', // REQUIRED
                'ruleId' => '<string>', // REQUIRED
            ],
            // ...
        ],
    ],
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
clientToken
Type: string

Idempotency token. Generated SDKs fill it automatically. Within one hour, the same token with the same policy returns the policy it created. The same token with a different policy, or after that policy was deleted, returns ConflictException. Tags are not compared, and a repeated create leaves the policy's tags unchanged.

policy
Required: Yes
Type: SupplyChainPolicy structure

The policy to create: its name, description, and rules.

tags
Type: Associative array of custom strings keys (TagKey) to strings

Tags to add to the policy when it's created.

Result Syntax

[
    'arn' => '<string>',
    'createdAt' => <DateTime>,
    'id' => '<string>',
    'policy' => [
        'description' => '<string>',
        'name' => '<string>',
        'rules' => [
            [
                'denyWhen' => [
                    'allOf' => [
                        [
                            'operator' => 'MATCHES|AT_LEAST|EQUALS|NOT_EQUALS|IN|PRESENT',
                            'signal' => 'PACKAGE_IDENTITY|INSPECTOR_SEVERITY|KEV|MALICIOUS',
                            'value' => [
                                'packageIdentity' => [
                                    'ecosystem' => '<string>',
                                    'name' => '<string>',
                                    'version' => '<string>',
                                    'versionRange' => '<string>',
                                ],
                                'severity' => 'LOW|MEDIUM|HIGH|CRITICAL|UNTRIAGED',
                                'stringSet' => ['<string>', ...],
                                'stringValue' => '<string>',
                            ],
                        ],
                        // ...
                    ],
                ],
                'enforcementMode' => 'AUDIT|ENFORCE',
                'ruleId' => '<string>',
            ],
            // ...
        ],
    ],
    'tags' => ['<string>', ...],
    'updatedAt' => <DateTime>,
]

Result Details

Members
arn
Required: Yes
Type: string

The ARN of the policy.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the policy was created.

id
Required: Yes
Type: string

Opaque identifier generated by the service.

policy
Required: Yes
Type: SupplyChainPolicy structure

The policy as stored.

tags
Type: Associative array of custom strings keys (TagKey) to strings

The tags on the policy.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the policy was last updated. Equal to createdAt for a new policy.

Errors

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

CreateSupplyChainPolicyException

$result = $client->createSupplyChainPolicyException([/* ... */]);
$promise = $client->createSupplyChainPolicyExceptionAsync([/* ... */]);

Creates a policy exception that suppresses specific rules of one policy, customer-managed or service-managed, for packages that match a package identity, until the exception expires. An exception never produces an allow decision on its own.

Parameter Syntax

$result = $client->createSupplyChainPolicyException([
    'clientToken' => '<string>',
    'exception' => [ // REQUIRED
        'expiresAt' => <integer || string || DateTime>, // REQUIRED
        'justification' => '<string>', // REQUIRED
        'name' => '<string>', // REQUIRED
        'package' => [ // REQUIRED
            'ecosystem' => '<string>', // REQUIRED
            'name' => '<string>', // REQUIRED
            'version' => '<string>',
            'versionRange' => '<string>',
        ],
        'policyArn' => '<string>', // REQUIRED
        'ruleIds' => ['<string>', ...], // REQUIRED
    ],
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
clientToken
Type: string

Idempotency token. Generated SDKs fill it automatically. Within one hour, the same token with the same exception returns the exception it created. The same token with a different exception, or after that exception was deleted, returns ConflictException. Tags are not compared, and a repeated create leaves the exception's tags unchanged.

exception
Required: Yes
Type: SupplyChainPolicyException structure

The exception to create: the policy and rules it suppresses, the package it applies to, a justification, and an expiry time.

tags
Type: Associative array of custom strings keys (TagKey) to strings

Tags to add to the policy exception when it's created.

Result Syntax

[
    'arn' => '<string>',
    'createdAt' => <DateTime>,
    'exception' => [
        'expiresAt' => <DateTime>,
        'justification' => '<string>',
        'name' => '<string>',
        'package' => [
            'ecosystem' => '<string>',
            'name' => '<string>',
            'version' => '<string>',
            'versionRange' => '<string>',
        ],
        'policyArn' => '<string>',
        'ruleIds' => ['<string>', ...],
    ],
    'id' => '<string>',
    'status' => 'ACTIVE|EXPIRED',
    'tags' => ['<string>', ...],
    'updatedAt' => <DateTime>,
]

Result Details

Members
arn
Required: Yes
Type: string

The ARN of the policy exception.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the policy exception was created.

exception
Required: Yes
Type: SupplyChainPolicyException structure

The policy exception as stored.

id
Required: Yes
Type: string

Opaque identifier generated by the service.

status
Required: Yes
Type: string

Computed from expiresAt at read time.

tags
Type: Associative array of custom strings keys (TagKey) to strings

The tags on the policy exception.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the policy exception was last updated. Equal to createdAt for a new exception.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

DeleteCollector

$result = $client->deleteCollector([/* ... */]);
$promise = $client->deleteCollectorAsync([/* ... */]);

Deletes the Collector for the caller's account. The Collector first enters PENDING_DELETION, then the service removes its schedule, AWS Config service-linked recorder, versioned S3 bucket, KMS key, and persisted record.

Parameter Syntax

$result = $client->deleteCollector([
    'collectorId' => '<string>', // REQUIRED
]);

Parameter Details

Members
collectorId
Required: Yes
Type: string

The unique identifier of the Collector to delete.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

DeleteEnvironment

$result = $client->deleteEnvironment([/* ... */]);
$promise = $client->deleteEnvironmentAsync([/* ... */]);

Deletes an environment and its associated resources.

Parameter Syntax

$result = $client->deleteEnvironment([
    'environmentId' => '<string>', // REQUIRED
]);

Parameter Details

Members
environmentId
Required: Yes
Type: string

The unique identifier of the environment to delete.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

DeleteIntegration

$result = $client->deleteIntegration([/* ... */]);
$promise = $client->deleteIntegrationAsync([/* ... */]);

Deletes a Continuum integration owned by the forwarded customer account.

Parameter Syntax

$result = $client->deleteIntegration([
    'integrationId' => '<string>', // REQUIRED
]);

Parameter Details

Members
integrationId
Required: Yes
Type: string

The unique identifier of the integration to delete.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

DeleteSupplyChainPolicy

$result = $client->deleteSupplyChainPolicy([/* ... */]);
$promise = $client->deleteSupplyChainPolicyAsync([/* ... */]);

Deletes a policy and every policy exception that references it.

Parameter Syntax

$result = $client->deleteSupplyChainPolicy([
    'id' => '<string>', // REQUIRED
]);

Parameter Details

Members
id
Required: Yes
Type: string

The ID of the policy to delete.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

DeleteSupplyChainPolicyException

$result = $client->deleteSupplyChainPolicyException([/* ... */]);
$promise = $client->deleteSupplyChainPolicyExceptionAsync([/* ... */]);

Deletes a policy exception. Subsequent decisions no longer consider this exception.

Parameter Syntax

$result = $client->deleteSupplyChainPolicyException([
    'id' => '<string>', // REQUIRED
]);

Parameter Details

Members
id
Required: Yes
Type: string

The ID of the policy exception to delete.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

DisassociateCollector

$result = $client->disassociateCollector([/* ... */]);
$promise = $client->disassociateCollectorAsync([/* ... */]);

Removes one Collector association from this Environment, preserving its other associations. The stored Collector data-access role is cleared when no Collector associations remain. The Environment owner must have permission to disassociate. A current Collector access grant is not required, and the Collector does not need to remain active or present, so stale or revoked associations can be cleaned up.

Parameter Syntax

$result = $client->disassociateCollector([
    'collectorArn' => '<string>', // REQUIRED
    'environmentId' => '<string>', // REQUIRED
]);

Parameter Details

Members
collectorArn
Required: Yes
Type: string

The ARN of the Collector to disassociate from this Environment.

environmentId
Required: Yes
Type: string

The unique identifier of the Environment whose associations are updated.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

GetCodeFinding

$result = $client->getCodeFinding([/* ... */]);
$promise = $client->getCodeFindingAsync([/* ... */]);

Retrieves the current state and details of a finding.

Parameter Syntax

$result = $client->getCodeFinding([
    'environmentId' => '<string>', // REQUIRED
    'findingId' => '<string>', // REQUIRED
]);

Parameter Details

Members
environmentId
Required: Yes
Type: string

The environment that owns the finding.

findingId
Required: Yes
Type: string

The unique identifier of the finding to retrieve.

Result Syntax

[
    'affectedPackages' => [
        [
            'fixedInVersion' => '<string>',
            'name' => '<string>',
            'packageManager' => '<string>',
            'version' => '<string>',
        ],
        // ...
    ],
    'category' => '<string>',
    'completedAt' => <DateTime>,
    'createdAt' => <DateTime>,
    'createdIssueId' => '<string>',
    'cveId' => '<string>',
    'cvssBaseScore' => <float>,
    'cweIds' => ['<string>', ...],
    'detailedDescription' => '<string>',
    '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',
    'discardReasoning' => '<string>',
    'duplicateOfIssueId' => '<string>',
    'endLine' => <integer>,
    'environmentId' => '<string>',
    'filePath' => '<string>',
    'findingArn' => '<string>',
    'findingId' => '<string>',
    'findingTypes' => ['<string>', ...],
    'firstSeenAt' => <DateTime>,
    'lineNumber' => <integer>,
    'mitigation' => '<string>',
    'mitreTechniques' => ['<string>', ...],
    'notPursuedReason' => 'FOCUS_MODE|ISSUE_BUDGET',
    'ocsfClass' => 'VULNERABILITY_FINDING|APPLICATION_SECURITY_POSTURE_FINDING',
    'ocsfSchemaVersion' => '<string>',
    'owaspCategory' => '<string>',
    'posture' => [
        'application' => '<string>',
        'applicationUid' => '<string>',
        'applicationVersion' => '<string>',
        'checks' => [
            [
                'description' => '<string>',
                'name' => '<string>',
                'uid' => '<string>',
            ],
            // ...
        ],
        'control' => '<string>',
        'description' => '<string>',
        'remediation' => '<string>',
        'remediationReferences' => ['<string>', ...],
        'requirements' => ['<string>', ...],
        'standards' => ['<string>', ...],
        'status' => '<string>',
        'statusId' => <integer>,
    ],
    'productName' => '<string>',
    'productVendorName' => '<string>',
    'productVersion' => '<string>',
    'relevantInputs' => ['<string>', ...],
    'remediationReferences' => ['<string>', ...],
    'reportedAt' => <DateTime>,
    'resources' => [
        [
            'name' => '<string>',
            'region' => '<string>',
            'type' => '<string>',
            'uid' => '<string>',
        ],
        // ...
    ],
    'scanRunId' => '<string>',
    'severity' => 'UNKNOWN|INFORMATIONAL|LOW|MEDIUM|HIGH|CRITICAL|FATAL|OTHER',
    'source' => '<string>',
    'sourceFindingId' => '<string>',
    'sourceStatus' => '<string>',
    'sourceStatusId' => <integer>,
    'status' => 'SUBMITTED|VALIDATING|CONFIRMED|DISCARDED|NOT_PURSUED',
    'statusMessage' => '<string>',
    'statusUpdatedAt' => <DateTime>,
    'stepsToReproduce' => ['<string>', ...],
    'subCategory' => '<string>',
    'summary' => '<string>',
    'title' => '<string>',
    'type' => 'CONTINUUM_CODE_VULN|CUSTOMER_CODE_VULN',
    'validation' => [
        'blockingReason' => 'UNREACHABLE|PROTECTED|MISCLASSIFIED|EXCLUDED|NOT_FEASIBLE|RISK_MITIGATED|NONE',
        'confidence' => <float>,
        'evidence' => [
            [
                'file' => '<string>',
                'line' => <integer>,
                'snippet' => '<string>',
            ],
            // ...
        ],
        'mitigatingControls' => ['<string>', ...],
        'preconditions' => ['<string>', ...],
        'rationale' => '<string>',
        'severityAdjustment' => 'CRITICAL|HIGH|MEDIUM|LOW|INFORMATIONAL|UNCHANGED',
        'verdict' => 'TRUE_POSITIVE|FALSE_POSITIVE|BENIGN_TRUE_POSITIVE|NEEDS_REVIEW',
    ],
    'vulnerabilities' => [
        [
            'additionalCweIds' => ['<string>', ...],
            'affectedPackages' => [
                [
                    'fixedInVersion' => '<string>',
                    'name' => '<string>',
                    'packageManager' => '<string>',
                    'version' => '<string>',
                ],
                // ...
            ],
            'code' => '<string>',
            'cveId' => '<string>',
            'cvssBaseScore' => <float>,
            'cweCaption' => '<string>',
            'cweId' => '<string>',
            'description' => '<string>',
            'details' => '<string>',
            'fixCoverage' => '<string>',
            'fixCoverageId' => <integer>,
            'locations' => [
                [
                    'endLine' => <integer>,
                    'filePath' => '<string>',
                    'startLine' => <integer>,
                ],
                // ...
            ],
            'remediation' => '<string>',
            'remediationReferences' => ['<string>', ...],
            'title' => '<string>',
        ],
        // ...
    ],
    'vulnerableCode' => '<string>',
]

Result Details

Members
affectedPackages
Type: Array of AffectedPackage structures

Packages implicated by the finding.

category
Type: string

The producer's vulnerability category. Not a stable filter key across finding types -- see FindingCategory.

completedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When processing finished, whether by creating an issue or discarding. Absent while the finding is still in flight.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the finding was ingested.

createdIssueId
Type: string

The issue Continuum created from this finding.

cveId
Type: string

The CVE this finding reports, for software-composition findings. Both code types can carry one: a customer document supplies it under vulnerabilities[].cve, and Continuum's scanner reports CVEs for dependency-manifest findings.

cvssBaseScore
Type: double

The CVSS base score accompanying cveId, when the producer supplies one, from 0.0 to 10.0. Not computed by Continuum. The range is enforced server-side, not by a @range trait -- the smithy-rs server SDK does not support range constraints on double shapes (smithy-rs#2007).

cweIds
Type: Array of strings

CWE identifiers classifying the finding.

detailedDescription
Type: string

The full analysis.

discardReason
Type: string

Why the finding was not escalated. Present only when status is DISCARDED.

discardReasoning
Type: string

Customer-facing explanation accompanying discardReason.

duplicateOfIssueId
Type: string

The existing issue this finding duplicates. Present only for the DUPLICATE_OF_* discard reasons.

endLine
Type: int

The last line of the affected range, from the document's affected_code[].end_line.

environmentId
Required: Yes
Type: string

The environment that owns the finding.

filePath
Type: string

The file the finding is about.

findingArn
Required: Yes
Type: string

The ARN of the finding.

findingId
Required: Yes
Type: string

The unique identifier of the finding.

findingTypes
Type: Array of strings

The producer's own classification of the finding (finding_info.types).

firstSeenAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the producer first observed the finding (finding_info.first_seen_time). The producer's own clock, not Continuum's.

lineNumber
Type: int

The 1-indexed line the finding is about. Bounds are enforced server-side rather than by a constraint trait: a numeric constraint generates a distinct newtype per enclosing structure, so the same concept would not share a type across the create input and the read output.

mitigation
Type: string

How to fix the finding.

mitreTechniques
Type: Array of strings

MITRE ATT&CK technique identifiers, from the document's finding_info.attacks[].technique.uid.

notPursuedReason
Type: string

May be present when status is NOT_PURSUED: why Continuum did not pursue it. Only findings submitted with CreateCodeFinding are returned when not pursued, so in practice FOCUS_MODE.

ocsfClass
Type: string

The OCSF class the document declared. Determines whether posture is populated.

ocsfSchemaVersion
Type: string

The OCSF schema version the producer wrote against (metadata.version).

owaspCategory
Type: string

The OWASP Top 10 category, when the producer supplies one.

posture
Type: FindingPosture structure

The compliance posture, for an Application Security Posture Finding. Absent for a vulnerability finding.

productName
Type: string

The producing product and vendor (metadata.product).

productVendorName
Type: string

A vulnerability-taxonomy label: the producer's category, sub-category, or OWASP category. Deliberately unconstrained beyond length -- producers do not share a taxonomy, so this is NOT a stable filter key across finding types. Use cweIds when a stable classification is needed.

productVersion
Type: string

A vulnerability-taxonomy label: the producer's category, sub-category, or OWASP category. Deliberately unconstrained beyond length -- producers do not share a taxonomy, so this is NOT a stable filter key across finding types. Use cweIds when a stable classification is needed.

relevantInputs
Type: Array of strings

User-controlled inputs that reach the vulnerability.

remediationReferences
Type: Array of strings

Remediation references, from the document's vulnerabilities[].remediation.references.

reportedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the producer reported the finding -- its own clock, which is not Continuum's ingestion time. createdAt is when Continuum accepted it; these are genuinely different instants and a reader usually wants this one.

For CreateCodeFinding, this is the submitted OCSF document's own top-level time. For findings Continuum's scanner produces, it is the finding's own creation time.

Continuum does not validate it for plausibility: a producer's value is echoed as given, so a timestamp here asserts the unit and format, not that the instant is genuine.

resources
Type: Array of FindingResource structures

Resources the document named (resources[]).

scanRunId
Type: string

The scan that produced the finding, when it came from one. For a finding Continuum's scanner produced, this is the Continuum scan run (see GetCodeScan). For a finding submitted with CreateCodeFinding, it is the OCSF document's metadata.correlation_uid, when that value is a valid ScanRunId. Absent when the finding did not come from a scan.

severity
Required: Yes
Type: string

The finding's severity.

source
Required: Yes
Type: string

The system that produced the finding.

sourceFindingId
Required: Yes
Type: string

The producer's own identifier for the finding.

sourceStatus
Type: string

The producer's own status for the finding, and the enum value behind it. Distinct from status, which is Continuum's lifecycle state -- a producer may call a finding "New" while Continuum has it SUBMITTED.

sourceStatusId
Type: int

The producer's numeric enum value for sourceStatus.

status
Required: Yes
Type: string

The current lifecycle status of the finding.

statusMessage
Type: string

Human-readable context about the current status.

statusUpdatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the status last transitioned.

stepsToReproduce
Type: Array of strings

Steps to reproduce or exploit the finding.

subCategory
Type: string

A more specific classification within category.

summary
Type: string

A one-paragraph description.

title
Required: Yes
Type: string

The producer's title for the finding.

type
Required: Yes
Type: string

What kind of finding this is. Determines which of the type-specific members below are populated.

validation
Type: FindingValidation structure

The validator's assessment. Absent when no validation ran.

vulnerabilities
Type: Array of FindingVulnerability structures

Every vulnerability the document reported. A document may report several; the flat cveId/cvssBaseScore/filePath/lineNumber members above carry the first one's identity so a caller that only needs "what and where" does not have to walk this list.

vulnerableCode
Type: string

The vulnerable code fragment.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

GetCodeIssue

$result = $client->getCodeIssue([/* ... */]);
$promise = $client->getCodeIssueAsync([/* ... */]);

Retrieves the current state and details of an issue.

Parameter Syntax

$result = $client->getCodeIssue([
    'environmentId' => '<string>', // REQUIRED
    'issueId' => '<string>', // REQUIRED
]);

Parameter Details

Members
environmentId
Required: Yes
Type: string

The environment that owns the issue.

issueId
Required: Yes
Type: string

The unique identifier of the issue to retrieve.

Result Syntax

[
    'confidence' => <integer>,
    'createdAt' => <DateTime>,
    'evidenceAvailability' => 'NONE|AVAILABLE',
    'findingIds' => ['<string>', ...],
    'issueArn' => '<string>',
    'issueId' => '<string>',
    'name' => '<string>',
    'patchDelivery' => [
        'failedCount' => <integer>,
        'failureReasons' => ['<string>', ...],
        'patchCount' => <integer>,
        'skippedReasons' => ['<string>', ...],
        'status' => 'PENDING|SUCCEEDED|FAILED|SKIPPED',
        'succeededCount' => <integer>,
    ],
    'phase' => 'VALIDATION|PRIORITIZATION|REMEDIATION',
    'severity' => 'LOW|MEDIUM|HIGH|CRITICAL',
    'severityReasoning' => '<string>',
    'status' => 'CREATED|IN_PROGRESS|COMPLETED|FAILED',
    'statusMessage' => '<string>',
    'statusReason' => 'INTERNAL_ERROR|REMEDIATION_FAILED',
    'statusUpdatedAt' => <DateTime>,
    'summary' => '<string>',
    'synopsis' => '<string>',
    'updatedAt' => <DateTime>,
]

Result Details

Members
confidence
Type: int

The likelihood that this issue is a true positive, expressed as a percentage (0-100).

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the issue was created.

evidenceAvailability
Type: 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.

findingIds
Required: Yes
Type: Array of strings

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).

issueArn
Required: Yes
Type: string

The ARN of the issue.

issueId
Required: Yes
Type: string

The unique identifier of the issue.

name
Required: Yes
Type: string

The name of the issue.

patchDelivery
Type: IssuePatchDelivery structure

Customer delivery of the issue's patches, summarized from its PATCH artifacts at read time. Absent when no patch has a destination delivery.

phase
Type: 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.

severity
Type: string

Current severity: the FindingSeverity seed at create, overwritten by the authoritative severity that prioritization assigns after validation.

severityReasoning
Type: 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.

status
Required: Yes
Type: string

The current lifecycle status of the issue.

statusMessage
Type: string

Customer-facing explanation of statusReason. Present only when status is FAILED.

statusReason
Type: string

Why the issue failed. Present only when status is FAILED.

statusUpdatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the status or phase last changed.

summary
Type: string

The remediation completion summary, when the green stage has run.

synopsis
Required: Yes
Type: string

A free-form synopsis of the issue.

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

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.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

GetCodeIssueArtifact

$result = $client->getCodeIssueArtifact([/* ... */]);
$promise = $client->getCodeIssueArtifactAsync([/* ... */]);

Retrieves one immutable artifact attached to an issue, including its content.

Parameter Syntax

$result = $client->getCodeIssueArtifact([
    'artifactId' => '<string>', // REQUIRED
    'environmentId' => '<string>', // REQUIRED
    'issueId' => '<string>', // REQUIRED
]);

Parameter Details

Members
artifactId
Required: Yes
Type: string

The unique identifier of the artifact to retrieve.

environmentId
Required: Yes
Type: string

The environment that owns the issue.

issueId
Required: Yes
Type: string

The issue the artifact is attached to.

Result Syntax

[
    'artifactId' => '<string>',
    'artifactType' => 'EVIDENCE|AGENT_COMMUNICATION|VALIDATION_EVIDENCE|REMEDIATION_PROPOSAL|DECISION|PATCH',
    'body' => [
        'patch' => [
            'delivery' => [
                'changeRequest' => [
                    'checkedAt' => <DateTime>,
                    'closedAt' => <DateTime>,
                    'mergedAt' => <DateTime>,
                    'state' => 'OPEN|MERGED|CLOSED',
                ],
                'status' => 'PENDING|SUCCEEDED|FAILED|SKIPPED|ABANDONED',
                'target' => [
                    'github' => [
                        'headSha' => '<string>',
                        'owner' => '<string>',
                        'pullRequestNumber' => <integer>,
                        'repository' => '<string>',
                    ],
                    'gitlab' => [
                        'headSha' => '<string>',
                        'mergeRequestNumber' => <integer>,
                        'mergeRequestUri' => '<string>',
                        'projectPath' => '<string>',
                    ],
                    's3' => [
                        'bucket' => '<string>',
                        'key' => '<string>',
                        'version' => '<string>',
                    ],
                ],
                'updatedAt' => <DateTime>,
            ],
            'format' => 'GIT_MAILBOX_PATCH|GIT_BINARY_DIFF|GIT_DIFF',
            'patch' => '<string>',
            'patchSha256' => '<string>',
            'repositoryName' => '<string>',
            'sizeBytes' => <integer>,
        ],
        'prevalidationSignals' => [
            'producedBy' => '<string>',
            'signals' => [
                [
                    'computed' => [
                        'barriers' => <integer>,
                        'impactBand' => 'VERY_LOW|LOW|MODERATE|HIGH',
                        'likelihoodBand' => 'VERY_LOW|LOW|MODERATE|HIGH',
                    ],
                    'conclusion' => '<string>',
                    'confidence' => <float>,
                    'confidenceReasoning' => [
                        'factors' => ['<string>', ...],
                        'summary' => '<string>',
                    ],
                    'dimension' => 'EXPLOITABILITY|BLAST_RADIUS|NETWORK_EXPOSURE|PRECONDITION|CODE_CONTEXT|LIKELIHOOD_ASSESSMENT|IMPACT_ASSESSMENT',
                    'exploitability' => [
                        'confidenceTier' => 'SOURCE_READ|STATIC_PROVEN|BUILD_PROVEN|RUNTIME_PROVEN',
                        'highestLayerReached' => <integer>,
                        'reachedCrownJewels' => true || false,
                        'scriptable' => true || false,
                        'sourceValidationArtifactId' => '<string>',
                        'verdict' => 'EXPLOITABLE|NOT_EXPLOITABLE|UNCERTAIN',
                    ],
                    'impactDimensions' => [
                        'attackerGains' => [
                            'basis' => 'CODE|GRAPH|FINDING|INFERRED|NO_EVIDENCE_DEFAULT',
                            'missingInfo' => '<string>',
                            'reason' => '<string>',
                            'value' => 'EXECUTE|MODIFY_PRIVILEGED|MODIFY_DATA|MODIFY_COSMETIC|READ|NEITHER',
                        ],
                        'blastRadius' => [
                            'basis' => 'CODE|GRAPH|FINDING|INFERRED|NO_EVIDENCE_DEFAULT',
                            'missingInfo' => '<string>',
                            'reason' => '<string>',
                            'value' => 'CROSS_TENANT|OTHER_USERS_IN_TENANT|OWN_SCOPE',
                        ],
                        'targetValue' => [
                            'basis' => 'CODE|GRAPH|FINDING|INFERRED|NO_EVIDENCE_DEFAULT',
                            'missingInfo' => '<string>',
                            'reason' => '<string>',
                            'value' => 'HIGH|MEDIUM|LOW',
                        ],
                    ],
                    'preconditions' => [
                        'accessLevel' => [
                            'basis' => 'CODE|GRAPH|FINDING|INFERRED|NO_EVIDENCE_DEFAULT',
                            'missingInfo' => '<string>',
                            'reason' => '<string>',
                            'value' => 'NONE|ANY_AUTHENTICATED|PRIVILEGED',
                        ],
                        'configurationNeeded' => [
                            'basis' => 'CODE|GRAPH|FINDING|INFERRED|NO_EVIDENCE_DEFAULT',
                            'missingInfo' => '<string>',
                            'reason' => '<string>',
                            'value' => true || false,
                        ],
                        'reachableFromAttacker' => [
                            'basis' => 'CODE|GRAPH|FINDING|INFERRED|NO_EVIDENCE_DEFAULT',
                            'missingInfo' => '<string>',
                            'reason' => '<string>',
                            'value' => true || false,
                        ],
                        'userInteractionRequired' => [
                            'basis' => 'CODE|GRAPH|FINDING|INFERRED|NO_EVIDENCE_DEFAULT',
                            'missingInfo' => '<string>',
                            'reason' => '<string>',
                            'value' => true || false,
                        ],
                    ],
                    'producerId' => '<string>',
                    'producerVersion' => '<string>',
                    'signalStrength' => 'NONE|WEAK|MODERATE|STRONG',
                    'subjectRef' => '<string>',
                ],
                // ...
            ],
        ],
        'raw' => '<string>',
        'remediationProposal' => [
            'filename' => '<string>',
            'format' => 'GIT_MAILBOX_PATCH|GIT_BINARY_DIFF|GIT_DIFF',
            'patch' => '<string>',
            'patchSha256' => '<string>',
        ],
        'validationEvidence' => [
            'attackFlowsConfirmed' => ['<string>', ...],
            'executedProof' => [
                'code' => [
                    'command' => '<string>',
                    'proofCode' => [
                        [
                            'content' => '<string>',
                            'path' => '<string>',
                        ],
                        // ...
                    ],
                    'workingDirectory' => '<string>',
                ],
                'observedEffect' => 'DATA_LEAKED|ERROR_REVEALED|BEHAVIOR_CHANGED|NO_EFFECT',
                'output' => [
                    'consoleOutput' => '<string>',
                ],
                'resultMaterials' => [
                    [
                        'after' => '<string>',
                        'before' => '<string>',
                        'change' => 'CREATED|MODIFIED|DELETED|UNCHANGED',
                        'path' => '<string>',
                    ],
                    // ...
                ],
                'setting' => [
                    'conditions' => ['<string>', ...],
                    'substitutions' => ['<string>', ...],
                    'testBoundary' => '<string>',
                ],
            ],
            'exploitArtifact' => [
                'effect' => 'DATA_LEAKED|ERROR_REVEALED|BEHAVIOR_CHANGED|NO_EFFECT',
                'headers' => ['<string>', ...],
                'httpMethod' => 'GET|HEAD|POST|PUT|PATCH|DELETE|OPTIONS',
                'payload' => '<string>',
                'responseSnippet' => '<string>',
                'responseStatus' => <integer>,
                'targetUrl' => '<string>',
            ],
            'exploitable' => 'EXPLOITABLE|NOT_EXPLOITABLE|UNCERTAIN',
            'flowVerdicts' => [
                [
                    'confidence' => <float>,
                    'evidence' => ['<string>', ...],
                    'flowId' => '<string>',
                    'verdict' => 'CONFIRMED|DENIED|INCONCLUSIVE',
                ],
                // ...
            ],
            'perFindingResults' => [
                [
                    'confidence' => <float>,
                    'exploitArtifact' => [
                        'effect' => 'DATA_LEAKED|ERROR_REVEALED|BEHAVIOR_CHANGED|NO_EFFECT',
                        'headers' => ['<string>', ...],
                        'httpMethod' => 'GET|HEAD|POST|PUT|PATCH|DELETE|OPTIONS',
                        'payload' => '<string>',
                        'responseSnippet' => '<string>',
                        'responseStatus' => <integer>,
                        'targetUrl' => '<string>',
                    ],
                    'exploitable' => 'EXPLOITABLE|NOT_EXPLOITABLE|UNCERTAIN',
                    'findingId' => '<string>',
                    'flowVerdicts' => [
                        [
                            'confidence' => <float>,
                            'evidence' => ['<string>', ...],
                            'flowId' => '<string>',
                            'verdict' => 'CONFIRMED|DENIED|INCONCLUSIVE',
                        ],
                        // ...
                    ],
                    'reasoningChain' => [
                        [
                            'claim' => '<string>',
                            'confidence' => <float>,
                            'source' => '<string>',
                            'step' => <integer>,
                        ],
                        // ...
                    ],
                ],
                // ...
            ],
            'sourceAnalysis' => [
                'diagram' => '<string>',
                'inferredEffect' => 'DATA_LEAKED|ERROR_REVEALED|BEHAVIOR_CHANGED|NO_EFFECT',
                'references' => [
                    [
                        'endLine' => <integer>,
                        'excerpt' => '<string>',
                        'nodeId' => '<string>',
                        'path' => '<string>',
                        'startLine' => <integer>,
                    ],
                    // ...
                ],
                'summary' => '<string>',
            ],
            'terminalStatus' => 'COMPLETED|FAILED|NO_SOURCE_AVAILABLE|PARTIAL',
        ],
    ],
    'createdAt' => <DateTime>,
    'mediaType' => '<string>',
    'metadata' => [
    ],
    'producer' => [
        'agent' => '<string>',
    ],
]

Result Details

Members
artifactId
Required: Yes
Type: string

The unique identifier of the artifact.

artifactType
Required: Yes
Type: string

Semantic category of the artifact.

body
Required: Yes
Type: IssueArtifactBody structure

The artifact body, projected against the shape defined for its artifactType. A type with a defined shape is returned as that structure, and anything else through IssueArtifactBody.raw.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the artifact was created.

mediaType
Required: Yes
Type: string

MIME type the producer declared for its content.

metadata
Type: document (null|bool|string|numeric) or an (array|associative array) whose members are all valid documents

Producer-defined structured metadata, when the producer supplied any.

Returned only for an artifactType whose content has no defined shape, so that the artifact stays inspectable. For an artifactType with a defined shape, body carries the content and this member is omitted.

producer
Required: Yes
Type: IssueArtifactProducerSummary structure

The agent that produced the artifact.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

GetCodeScan

$result = $client->getCodeScan([/* ... */]);
$promise = $client->getCodeScanAsync([/* ... */]);

Retrieves one customer-visible environment scan.

Parameter Syntax

$result = $client->getCodeScan([
    'environmentId' => '<string>', // REQUIRED
    'scanRunId' => '<string>', // REQUIRED
]);

Parameter Details

Members
environmentId
Required: Yes
Type: string

Environment that owns the scan.

scanRunId
Required: Yes
Type: string

Scan to retrieve.

Result Syntax

[
    'scan' => [
        'completedAt' => <DateTime>,
        'createdAt' => <DateTime>,
        'failureMessage' => '<string>',
        'failureStage' => 'SUBMITTED|WAITING_FOR_BUILD|BUILDING|WAITING_FOR_SCAN|SCANNING',
        'origin' => 'MANUAL|SCHEDULED',
        'scanRunId' => '<string>',
        'status' => 'SUBMITTED|WAITING_FOR_BUILD|BUILDING|WAITING_FOR_SCAN|SCANNING|SUCCEEDED|FAILED',
    ],
]

Result Details

Members
scan
Required: Yes
Type: CodeScanData structure

Complete customer-visible scan data.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

GetCollector

$result = $client->getCollector([/* ... */]);
$promise = $client->getCollectorAsync([/* ... */]);

Retrieves the current state of the Collector for the caller's account.

Parameter Syntax

$result = $client->getCollector([
    'collectorId' => '<string>', // REQUIRED
]);

Parameter Details

Members
collectorId
Required: Yes
Type: string

The unique identifier of the Collector to retrieve.

Result Syntax

[
    'collectorArn' => '<string>',
    'collectorId' => '<string>',
    'configRecorderArn' => '<string>',
    'createdAt' => <DateTime>,
    'kubernetesClusterRoleArn' => '<string>',
    'status' => 'ACTIVE|PENDING_DELETION',
    'type' => 'AWS_COLLECTOR',
    'updatedAt' => <DateTime>,
]

Result Details

Members
collectorArn
Required: Yes
Type: string

The ARN of the Collector.

collectorId
Required: Yes
Type: string

The unique identifier of the Collector.

configRecorderArn
Type: string

The ARN of the provisioned AWS Config Recorder.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the Collector was created.

kubernetesClusterRoleArn
Type: string

IAM role used to collect Kubernetes cluster metadata.

status
Required: Yes
Type: string

The current lifecycle status.

type
Required: Yes
Type: string

The source collected by this Collector.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time of the last successful UpdateCollector call, returned at whole-second precision in the same date-time format as createdAt.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

GetCollectorDataAccessAuthorization

$result = $client->getCollectorDataAccessAuthorization([/* ... */]);
$promise = $client->getCollectorDataAccessAuthorizationAsync([/* ... */]);

Authorizes an Environment's access to a Collector's data. Continuum calls this operation with the Environment's Collector data-access role before it reads the Collector's inventory, so grant continuum:GetCollectorDataAccessAuthorization to that role and, for a Collector in another account, in the Collector's resource policy. The operation evaluates the action against the exact Collector ARN and the Collector's current resource policy using IAM and the caller's authenticated request context, with environmentArn as the continuum:EnvironmentArn condition key. A successful request returns HTTP 200 with no response members. If access is not granted, the operation returns AccessDeniedException without disclosing Collector existence, ownership, or the policy layer that denied access. The service does not reinterpret the policy using only an account ID.

Parameter Syntax

$result = $client->getCollectorDataAccessAuthorization([
    'accountId' => '<string>', // REQUIRED
    'collectorId' => '<string>', // REQUIRED
    'environmentArn' => '<string>',
]);

Parameter Details

Members
accountId
Required: Yes
Type: string

The AWS account that owns the Collector.

collectorId
Required: Yes
Type: string

The unique identifier of the Collector.

environmentArn
Type: string

The full ARN of the Environment requesting the Collector's data. The Environment must be in the caller's account. Continuum supplies this value as the continuum:EnvironmentArn condition key.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

GetEnvironment

$result = $client->getEnvironment([/* ... */]);
$promise = $client->getEnvironmentAsync([/* ... */]);

Retrieves the current state and configuration of an environment.

Parameter Syntax

$result = $client->getEnvironment([
    'environmentId' => '<string>', // REQUIRED
]);

Parameter Details

Members
environmentId
Required: Yes
Type: string

The unique identifier of the environment to retrieve.

Result Syntax

[
    'configuration' => [
        'codeConfiguration' => [
            'collectorDetails' => [
                'collectorDataAccessRoleArn' => '<string>',
            ],
            'environmentConfiguration' => [
                'focusMode' => 'COMPREHENSIVE|FOCUSED',
                'issueBudget' => [
                    'maxIssuesPerScan' => <integer>,
                ],
                'network' => [
                    'allowedDomains' => ['<string>', ...],
                ],
                'patchCreationPolicy' => 'ENABLED|DISABLED',
                'scanFrequency' => '<string>',
            ],
            'latestScan' => [
                'completedAt' => <DateTime>,
                'createdAt' => <DateTime>,
                'failureMessage' => '<string>',
                'failureStage' => 'SUBMITTED|WAITING_FOR_BUILD|BUILDING|WAITING_FOR_SCAN|SCANNING',
                'origin' => 'MANUAL|SCHEDULED',
                'scanRunId' => '<string>',
                'status' => 'SUBMITTED|WAITING_FOR_BUILD|BUILDING|WAITING_FOR_SCAN|SCANNING|SUCCEEDED|FAILED',
            ],
            'sourceConfiguration' => [
                'repositorySources' => [
                    [
                        'defaultBranch' => '<string>',
                        'integrationId' => '<string>',
                        'repository' => '<string>',
                    ],
                    // ...
                ],
                's3Sources' => [
                    [
                        'codePrefix' => '<string>',
                        'contextPrefix' => '<string>',
                        'integrationId' => '<string>',
                    ],
                    // ...
                ],
            ],
        ],
    ],
    'createdAt' => <DateTime>,
    'environmentArn' => '<string>',
    'environmentId' => '<string>',
    'name' => '<string>',
    'status' => 'ACTIVE',
    'statusMessage' => '<string>',
    'statusUpdatedAt' => <DateTime>,
    'updatedAt' => <DateTime>,
]

Result Details

Members
configuration
Required: Yes
Type: EnvironmentConfigurationDetails structure

Type-specific configuration and state, including code sources, operating policy, Collector details, and the latest scan.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the environment was created.

environmentArn
Required: Yes
Type: string

The ARN of the environment.

environmentId
Required: Yes
Type: string

The unique identifier of the environment.

name
Required: Yes
Type: string

The customer-visible name of the environment.

status
Required: Yes
Type: string

The current operational status of the environment.

statusMessage
Type: string

Human-readable details about the current status. Present when the status requires additional context (e.g., failure reason).

statusUpdatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the status last transitioned.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the environment's properties were last updated.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

GetIntegration

$result = $client->getIntegration([/* ... */]);
$promise = $client->getIntegrationAsync([/* ... */]);

Reads a Continuum integration owned by the forwarded customer account.

Parameter Syntax

$result = $client->getIntegration([
    'integrationId' => '<string>', // REQUIRED
]);

Parameter Details

Members
integrationId
Required: Yes
Type: string

The unique identifier of the integration to retrieve.

Result Syntax

[
    'createdAt' => <DateTime>,
    'integrationArn' => '<string>',
    'integrationId' => '<string>',
    'integrationType' => 'GITHUB|GITLAB|S3',
    'kmsKeyId' => '<string>',
    'name' => '<string>',
    'providerDetails' => [
        'github' => [
            'organizationName' => '<string>',
        ],
        'gitlab' => [
            'expiresAt' => <DateTime>,
            'instanceUrl' => '<string>',
            'targetPath' => '<string>',
            'targetType' => 'GROUP|PROJECT',
            'tokenRotation' => 'AUTOMATIC|NONE',
        ],
        's3' => [
            'bucket' => '<string>',
            'roleArn' => '<string>',
        ],
    ],
    'tags' => ['<string>', ...],
    'updatedAt' => <DateTime>,
]

Result Details

Members
createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the integration was created.

integrationArn
Required: Yes
Type: string

The ARN of the integration.

integrationId
Required: Yes
Type: string

The unique identifier of the integration.

integrationType
Required: Yes
Type: string

The immutable provider type for the integration.

kmsKeyId
Type: string

Customer managed KMS key ID, if the integration was created with one.

name
Required: Yes
Type: string

The name of the integration.

providerDetails
Required: Yes
Type: ProviderDetails structure

Provider-specific details for the integration.

tags
Type: Associative array of custom strings keys (TagKey) to strings

The tags on the integration.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the integration was last updated.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

GetPackageDecision

$result = $client->getPackageDecision([/* ... */]);
$promise = $client->getPackageDecisionAsync([/* ... */]);

Returns one package decision owned by the calling account. Never re-evaluates. Use ListDecisionEvidence to read the evidence recorded for the decision.

Parameter Syntax

$result = $client->getPackageDecision([
    'decisionId' => '<string>', // REQUIRED
]);

Parameter Details

Members
decisionId
Required: Yes
Type: string

The ID of the decision, as returned by CreatePackageDecision.

Result Syntax

[
    'canonicalPurl' => '<string>',
    'completedAt' => <DateTime>,
    'decisionId' => '<string>',
    'enforcementAction' => 'ALLOW|DENY',
    'enforcementMode' => 'NONE|AUDIT|ENFORCE',
    'evaluatedAction' => 'ALLOW|DENY',
    'evaluatedAt' => <DateTime>,
    'reason' => 'NO_DENY_MATCH|MALICIOUS_PACKAGE|POLICY_RULE_MATCHED',
]

Result Details

Members
canonicalPurl
Required: Yes
Type: string

The package URL (purl) that was evaluated, as accepted by the service.

completedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the decision was recorded.

decisionId
Required: Yes
Type: string

The ID of the decision.

enforcementAction
Required: Yes
Type: string

The action the caller was told to take. It differs from evaluatedAction only when enforcementMode is AUDIT.

enforcementMode
Required: Yes
Type: string

The strongest enforcement mode among matches that a policy exception didn't suppress: ENFORCE for the malicious-package baseline or an enforced rule, AUDIT for an audit-mode rule. NONE when there is no such match, including when policy exceptions suppressed every match.

evaluatedAction
Required: Yes
Type: string

The result of policy evaluation: DENY when the malicious-package baseline or a deny rule matched and no policy exception suppressed it, otherwise ALLOW.

evaluatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the package was evaluated. Policy exceptions are applied based on this time.

reason
Required: Yes
Type: string

Why the decision was made.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

GetResourcePolicy

$result = $client->getResourcePolicy([/* ... */]);
$promise = $client->getResourcePolicyAsync([/* ... */]);

Retrieves the resource policy attached to a Continuum resource.

Parameter Syntax

$result = $client->getResourcePolicy([
    'arn' => '<string>', // REQUIRED
]);

Parameter Details

Members
arn
Required: Yes
Type: string

The ARN of a resource in the caller's account.

Result Syntax

[
    'arn' => '<string>',
    'policy' => '<string>',
    'revisionId' => '<string>',
]

Result Details

Members
arn
Required: Yes
Type: string

The ARN of a Continuum resource that supports a resource policy. Collectors are the only supported resource type; other well-formed Continuum ARNs are rejected with ValidationException.

policy
Required: Yes
Type: string

A resource policy in displayable JSON form.

revisionId
Required: Yes
Type: string

Opaque optimistic-concurrency token for a resource policy.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

GetSupplyChainManagedPolicy

$result = $client->getSupplyChainManagedPolicy([/* ... */]);
$promise = $client->getSupplyChainManagedPolicyAsync([/* ... */]);

Returns one read-only policy created and managed by an AWS service, such as the malicious-package baseline. You can read a service-managed policy and create policy exceptions for it, but you can't change or delete it.

Parameter Syntax

$result = $client->getSupplyChainManagedPolicy([
    'id' => '<string>', // REQUIRED
]);

Parameter Details

Members
id
Required: Yes
Type: string

The ID of the service-managed policy. ListSupplyChainPolicies returns the IDs.

Result Syntax

[
    'arn' => '<string>',
    'id' => '<string>',
    'managedBy' => '<string>',
    'policy' => [
        'description' => '<string>',
        'name' => '<string>',
        'rules' => [
            [
                'denyWhen' => [
                    'allOf' => [
                        [
                            'operator' => 'MATCHES|AT_LEAST|EQUALS|NOT_EQUALS|IN|PRESENT',
                            'signal' => 'PACKAGE_IDENTITY|INSPECTOR_SEVERITY|KEV|MALICIOUS',
                            'value' => [
                                'packageIdentity' => [
                                    'ecosystem' => '<string>',
                                    'name' => '<string>',
                                    'version' => '<string>',
                                    'versionRange' => '<string>',
                                ],
                                'severity' => 'LOW|MEDIUM|HIGH|CRITICAL|UNTRIAGED',
                                'stringSet' => ['<string>', ...],
                                'stringValue' => '<string>',
                            ],
                        ],
                        // ...
                    ],
                ],
                'enforcementMode' => 'AUDIT|ENFORCE',
                'ruleId' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
arn
Required: Yes
Type: string

The ARN of the service-managed policy.

id
Required: Yes
Type: string

The ID of the service-managed policy.

managedBy
Required: Yes
Type: string

The AWS service that manages the policy, as a service principal.

policy
Required: Yes
Type: SupplyChainPolicy structure

The name, description, and rules of the policy.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

GetSupplyChainPolicy

$result = $client->getSupplyChainPolicy([/* ... */]);
$promise = $client->getSupplyChainPolicyAsync([/* ... */]);

Returns one policy owned by the calling account. The path identifier is the opaque ID returned by CreateSupplyChainPolicy.

Parameter Syntax

$result = $client->getSupplyChainPolicy([
    'id' => '<string>', // REQUIRED
]);

Parameter Details

Members
id
Required: Yes
Type: string

The ID of the policy.

Result Syntax

[
    'arn' => '<string>',
    'createdAt' => <DateTime>,
    'id' => '<string>',
    'policy' => [
        'description' => '<string>',
        'name' => '<string>',
        'rules' => [
            [
                'denyWhen' => [
                    'allOf' => [
                        [
                            'operator' => 'MATCHES|AT_LEAST|EQUALS|NOT_EQUALS|IN|PRESENT',
                            'signal' => 'PACKAGE_IDENTITY|INSPECTOR_SEVERITY|KEV|MALICIOUS',
                            'value' => [
                                'packageIdentity' => [
                                    'ecosystem' => '<string>',
                                    'name' => '<string>',
                                    'version' => '<string>',
                                    'versionRange' => '<string>',
                                ],
                                'severity' => 'LOW|MEDIUM|HIGH|CRITICAL|UNTRIAGED',
                                'stringSet' => ['<string>', ...],
                                'stringValue' => '<string>',
                            ],
                        ],
                        // ...
                    ],
                ],
                'enforcementMode' => 'AUDIT|ENFORCE',
                'ruleId' => '<string>',
            ],
            // ...
        ],
    ],
    'tags' => ['<string>', ...],
    'updatedAt' => <DateTime>,
]

Result Details

Members
arn
Required: Yes
Type: string

The ARN of the policy.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the policy was created.

id
Required: Yes
Type: string

The ID of the policy.

policy
Required: Yes
Type: SupplyChainPolicy structure

The name, description, and rules of the policy.

tags
Type: Associative array of custom strings keys (TagKey) to strings

The tags on the policy.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the policy was last updated.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

GetSupplyChainPolicyException

$result = $client->getSupplyChainPolicyException([/* ... */]);
$promise = $client->getSupplyChainPolicyExceptionAsync([/* ... */]);

Returns one policy exception owned by the calling account, with its status computed from expiresAt. The path identifier is the opaque ID returned by CreateSupplyChainPolicyException.

Parameter Syntax

$result = $client->getSupplyChainPolicyException([
    'id' => '<string>', // REQUIRED
]);

Parameter Details

Members
id
Required: Yes
Type: string

The ID of the policy exception.

Result Syntax

[
    'arn' => '<string>',
    'createdAt' => <DateTime>,
    'exception' => [
        'expiresAt' => <DateTime>,
        'justification' => '<string>',
        'name' => '<string>',
        'package' => [
            'ecosystem' => '<string>',
            'name' => '<string>',
            'version' => '<string>',
            'versionRange' => '<string>',
        ],
        'policyArn' => '<string>',
        'ruleIds' => ['<string>', ...],
    ],
    'id' => '<string>',
    'status' => 'ACTIVE|EXPIRED',
    'tags' => ['<string>', ...],
    'updatedAt' => <DateTime>,
]

Result Details

Members
arn
Required: Yes
Type: string

The ARN of the policy exception.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the policy exception was created.

exception
Required: Yes
Type: SupplyChainPolicyException structure

The definition of the policy exception.

id
Required: Yes
Type: string

The ID of the policy exception.

status
Required: Yes
Type: string

Computed from expiresAt at read time.

tags
Type: Associative array of custom strings keys (TagKey) to strings

The tags on the policy exception.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the policy exception was last updated.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

GetVulnerability

$result = $client->getVulnerability([/* ... */]);
$promise = $client->getVulnerabilityAsync([/* ... */]);

Returns metadata for one vulnerability ID, such as an ID from MandatoryBaselineEvidence.vulnerabilityIds.

Parameter Syntax

$result = $client->getVulnerability([
    'vulnerabilityId' => '<string>', // REQUIRED
]);

Parameter Details

Members
vulnerabilityId
Required: Yes
Type: string

The vulnerability ID, such as CVE-2024-1234 or an ID from MandatoryBaselineEvidence.vulnerabilityIds.

Result Syntax

[
    'advisoryUrls' => ['<string>', ...],
    'analysisState' => 'RESOLVED|RESOLVED_WITH_PEDIGREE|EXPLOITABLE|IN_TRIAGE|FALSE_POSITIVE|NOT_AFFECTED',
    'cwes' => [<integer>, ...],
    'description' => '<string>',
    'id' => '<string>',
    'malicious' => true || false,
    'severity' => 'CRITICAL|HIGH|MEDIUM|LOW|INFO|NONE|UNKNOWN',
]

Result Details

Members
advisoryUrls
Type: Array of strings

URLs of advisories that describe the vulnerability.

analysisState
Type: string

Amazon Inspector's analysis state.

cwes
Type: Array of ints

The CWE numbers of the weaknesses behind the vulnerability.

description
Type: string

A description of the vulnerability.

id
Required: Yes
Type: string

The vulnerability ID.

malicious
Type: boolean

Whether Amazon Inspector classifies this vulnerability as malicious.

severity
Type: string

Amazon Inspector's severity rating.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ListAssociatedCollectors

$result = $client->listAssociatedCollectors([/* ... */]);
$promise = $client->listAssociatedCollectorsAsync([/* ... */]);

Lists the Collectors currently associated with one Environment in ascending collectorId order. Each entry carries the Collector ARN, so a listed association can be passed straight to DisassociateCollector, including when the Collector belongs to another account. An association recorded before Continuum persisted the ARN is omitted from the response, because without the ARN it cannot be acted on.

Parameter Syntax

$result = $client->listAssociatedCollectors([
    'environmentId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
environmentId
Required: Yes
Type: string

The unique identifier of the Environment whose associations to list.

maxResults
Type: int

Maximum number of associated Collectors to return.

nextToken
Type: string

Pagination token returned by a prior request.

Result Syntax

[
    'associatedCollectors' => [
        [
            'collectorArn' => '<string>',
            'collectorId' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
associatedCollectors
Required: Yes
Type: Array of AssociatedCollector structures

The Collectors associated with this Environment, ordered by collectorId ascending. Empty when the Environment has no associations, and also when every association on the page predates Continuum persisting the ARN — the page is still advanced by nextToken in that case.

nextToken
Type: string

Pagination token for the next page, if present.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ListAssociatedEnvironments

$result = $client->listAssociatedEnvironments([/* ... */]);
$promise = $client->listAssociatedEnvironmentsAsync([/* ... */]);

Lists the Environments currently associated with one Collector in lexicographically ascending environmentArn order. The ARN identifies each Environment across accounts within the Collector's Region.

Parameter Syntax

$result = $client->listAssociatedEnvironments([
    'collectorId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
collectorId
Required: Yes
Type: string

The unique identifier of the Collector whose associations to list.

maxResults
Type: int

Maximum number of Environment associations to return.

nextToken
Type: string

Pagination token returned by a prior request.

Result Syntax

[
    'associatedEnvironments' => [
        [
            'createdAt' => <DateTime>,
            'environmentArn' => '<string>',
            'environmentId' => '<string>',
            'name' => '<string>',
            'status' => 'ACTIVE',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
associatedEnvironments
Required: Yes
Type: Array of AssociatedEnvironment structures

Summaries of the Environments associated with this Collector, ordered by environmentArn lexicographically ascending. Each summary has the same fields as a ListEnvironments item but uses an independent model shape. Empty when the Collector has no associations.

nextToken
Type: string

Pagination token for the next page, if present.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ListCodeFindings

$result = $client->listCodeFindings([/* ... */]);
$promise = $client->listCodeFindingsAsync([/* ... */]);

Lists the findings in an environment in descending findingId order.

Parameter Syntax

$result = $client->listCodeFindings([
    'environmentId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
environmentId
Required: Yes
Type: string

The environment whose findings to list.

maxResults
Type: int

The maximum number of results to return in a single call.

nextToken
Type: string

A pagination token returned by a previous call. Set to null for the first request; use the returned token for subsequent calls.

Result Syntax

[
    'items' => [
        [
            'category' => '<string>',
            'completedAt' => <DateTime>,
            'createdAt' => <DateTime>,
            'createdIssueId' => '<string>',
            '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',
            'discardReasoning' => '<string>',
            'duplicateOfIssueId' => '<string>',
            'environmentId' => '<string>',
            'filePath' => '<string>',
            'findingArn' => '<string>',
            'findingId' => '<string>',
            'notPursuedReason' => 'FOCUS_MODE|ISSUE_BUDGET',
            'reportedAt' => <DateTime>,
            'scanRunId' => '<string>',
            'severity' => 'UNKNOWN|INFORMATIONAL|LOW|MEDIUM|HIGH|CRITICAL|FATAL|OTHER',
            'source' => '<string>',
            'sourceFindingId' => '<string>',
            'status' => 'SUBMITTED|VALIDATING|CONFIRMED|DISCARDED|NOT_PURSUED',
            'statusMessage' => '<string>',
            'statusUpdatedAt' => <DateTime>,
            'title' => '<string>',
            'type' => 'CONTINUUM_CODE_VULN|CUSTOMER_CODE_VULN',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
items
Required: Yes
Type: Array of FindingSummary structures

The findings in the environment, ordered by findingId descending.

nextToken
Type: string

A pagination token to retrieve the next page of results. Absent when there are no more results.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ListCodeIssueArtifacts

$result = $client->listCodeIssueArtifacts([/* ... */]);
$promise = $client->listCodeIssueArtifactsAsync([/* ... */]);

Lists the artifacts attached to an issue in descending artifactId order. Content is returned by GetCodeIssueArtifact.

Parameter Syntax

$result = $client->listCodeIssueArtifacts([
    'artifactType' => 'EVIDENCE|AGENT_COMMUNICATION|VALIDATION_EVIDENCE|REMEDIATION_PROPOSAL|DECISION|PATCH',
    'environmentId' => '<string>', // REQUIRED
    'issueId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
artifactType
Type: string

Optional filter for a semantic artifact category. Omit to list all artifacts attached to the issue.

environmentId
Required: Yes
Type: string

The environment that owns the issue.

issueId
Required: Yes
Type: string

The issue whose artifacts to list.

maxResults
Type: int

The maximum number of results to return in a single call.

nextToken
Type: string

A pagination token returned by a previous call. Set to null for the first request; use the returned token for subsequent calls.

Result Syntax

[
    'items' => [
        [
            'artifactId' => '<string>',
            'artifactType' => 'EVIDENCE|AGENT_COMMUNICATION|VALIDATION_EVIDENCE|REMEDIATION_PROPOSAL|DECISION|PATCH',
            'contentSizeBytes' => <integer>,
            'createdAt' => <DateTime>,
            'mediaType' => '<string>',
            'producer' => [
                'agent' => '<string>',
            ],
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
items
Required: Yes
Type: Array of IssueArtifactItem structures

The artifacts attached to the issue, ordered by artifactId descending.

nextToken
Type: string

A pagination token to retrieve the next page of results. Absent when there are no more results.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ListCodeIssues

$result = $client->listCodeIssues([/* ... */]);
$promise = $client->listCodeIssuesAsync([/* ... */]);

Lists the issues in an environment in descending issueId order.

Parameter Syntax

$result = $client->listCodeIssues([
    'environmentId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
environmentId
Required: Yes
Type: string

The environment whose issues to list.

maxResults
Type: int

The maximum number of results to return in a single call.

nextToken
Type: string

A pagination token returned by a previous call. Set to null for the first request; use the returned token for subsequent calls.

Result Syntax

[
    'items' => [
        [
            'confidence' => <integer>,
            'createdAt' => <DateTime>,
            'issueArn' => '<string>',
            'issueId' => '<string>',
            'name' => '<string>',
            'phase' => 'VALIDATION|PRIORITIZATION|REMEDIATION',
            'severity' => 'LOW|MEDIUM|HIGH|CRITICAL',
            'status' => 'CREATED|IN_PROGRESS|COMPLETED|FAILED',
            'statusMessage' => '<string>',
            'statusReason' => 'INTERNAL_ERROR|REMEDIATION_FAILED',
            'statusUpdatedAt' => <DateTime>,
            'updatedAt' => <DateTime>,
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
items
Required: Yes
Type: Array of IssueSummary structures

The issues in the environment, ordered by issueId descending.

nextToken
Type: string

A pagination token to retrieve the next page of results. Absent when there are no more results.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ListCodeScans

$result = $client->listCodeScans([/* ... */]);
$promise = $client->listCodeScansAsync([/* ... */]);

Lists customer-visible scans for one environment in descending scanRunId order.

Parameter Syntax

$result = $client->listCodeScans([
    'environmentId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
environmentId
Required: Yes
Type: string

Environment whose scans to list.

maxResults
Type: int

Maximum number of scans to return.

nextToken
Type: string

Pagination token returned by a prior request.

Result Syntax

[
    'nextToken' => '<string>',
    'scans' => [
        [
            'completedAt' => <DateTime>,
            'createdAt' => <DateTime>,
            'failureMessage' => '<string>',
            'failureStage' => 'SUBMITTED|WAITING_FOR_BUILD|BUILDING|WAITING_FOR_SCAN|SCANNING',
            'origin' => 'MANUAL|SCHEDULED',
            'scanRunId' => '<string>',
            'status' => 'SUBMITTED|WAITING_FOR_BUILD|BUILDING|WAITING_FOR_SCAN|SCANNING|SUCCEEDED|FAILED',
        ],
        // ...
    ],
]

Result Details

Members
nextToken
Type: string

Pagination token for the next page, if present.

scans
Required: Yes
Type: Array of CodeScanSummary structures

Customer-visible scans ordered by scanRunId descending.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ListCollectors

$result = $client->listCollectors([/* ... */]);
$promise = $client->listCollectorsAsync([/* ... */]);

Lists the Collectors owned by the authenticated caller's account, including a Collector whose deletion is in progress. A Collector that is still being created is omitted. The account-scoped Collector quota currently permits at most one result, so no result ordering applies.

Parameter Syntax

$result = $client->listCollectors([
]);

Parameter Details

Members

Result Syntax

[
    'items' => [
        [
            'collectorArn' => '<string>',
            'collectorId' => '<string>',
            'createdAt' => <DateTime>,
            'status' => 'ACTIVE|PENDING_DELETION',
            'type' => 'AWS_COLLECTOR',
        ],
        // ...
    ],
]

Result Details

Members
items
Required: Yes
Type: Array of CollectorSummary structures

The Collectors owned by the authenticated caller's account. At most one result is currently returned, so no result ordering applies.

Errors

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ListDecisionEvidence

$result = $client->listDecisionEvidence([/* ... */]);
$promise = $client->listDecisionEvidenceAsync([/* ... */]);

Returns the immutable evidence recorded for one decision: which baseline, rules, and policy exceptions applied to the package. Never re-evaluates.

Parameter Syntax

$result = $client->listDecisionEvidence([
    'decisionId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
decisionId
Required: Yes
Type: string

The ID of the decision, as returned by CreatePackageDecision.

maxResults
Type: int

The maximum number of evidence items to return, from 1 to 100.

nextToken
Type: string

The token returned by a previous call, to get the next page of evidence.

Result Syntax

[
    'evidence' => [
        [
            'mandatoryBaseline' => [
                'baselineArn' => '<string>',
                'vulnerabilityIds' => ['<string>', ...],
            ],
            'policyException' => [
                'exceptionArn' => '<string>',
                'policyArn' => '<string>',
                'ruleIds' => ['<string>', ...],
            ],
            'policyRuleMatch' => [
                'enforcementMode' => 'NONE|AUDIT|ENFORCE',
                'policyArn' => '<string>',
                'ruleId' => '<string>',
            ],
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
evidence
Required: Yes
Type: Array of DecisionEvidence structures

The evidence recorded for the decision.

nextToken
Type: string

The token to pass in the next call to get the next page of evidence. Absent when there is no more evidence.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ListEnvironments

$result = $client->listEnvironments([/* ... */]);
$promise = $client->listEnvironmentsAsync([/* ... */]);

Lists all environments in your account in descending environmentId order. This complete-inventory operation intentionally has no response filters; see the input documentation for the API standards justification.

Parameter Syntax

$result = $client->listEnvironments([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of results to return in a single call.

nextToken
Type: string

A pagination token returned by a previous call. Set to null for the first request; use the returned token for subsequent calls.

Result Syntax

[
    'items' => [
        [
            'createdAt' => <DateTime>,
            'environmentArn' => '<string>',
            'environmentId' => '<string>',
            'name' => '<string>',
            'status' => 'ACTIVE',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
items
Required: Yes
Type: Array of EnvironmentListEntry structures

Common metadata for the environments in the account, ordered by environmentId descending.

nextToken
Type: string

A pagination token to retrieve the next page of results. Absent when there are no more results.

Errors

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ListIntegrations

$result = $client->listIntegrations([/* ... */]);
$promise = $client->listIntegrationsAsync([/* ... */]);

Lists Continuum integrations owned by the forwarded customer account.

Parameter Syntax

$result = $client->listIntegrations([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
maxResults
Type: int

Maximum number of integrations to return per page.

nextToken
Type: string

Pagination token returned by a previous call. Omit for the first request.

Result Syntax

[
    'items' => [
        [
            'createdAt' => <DateTime>,
            'integrationArn' => '<string>',
            'integrationId' => '<string>',
            'integrationType' => 'GITHUB|GITLAB|S3',
            'kmsKeyId' => '<string>',
            'name' => '<string>',
            'providerDetails' => [
                'github' => [
                    'organizationName' => '<string>',
                ],
                'gitlab' => [
                    'expiresAt' => <DateTime>,
                    'instanceUrl' => '<string>',
                    'targetPath' => '<string>',
                    'targetType' => 'GROUP|PROJECT',
                    'tokenRotation' => 'AUTOMATIC|NONE',
                ],
                's3' => [
                    'bucket' => '<string>',
                    'roleArn' => '<string>',
                ],
            ],
            'updatedAt' => <DateTime>,
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
items
Required: Yes
Type: Array of IntegrationSummary structures

The integrations in the account, ordered by integrationId descending.

nextToken
Type: string

Pagination token for the next page. Absent when there are no more results.

Errors

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ListPackageDecisions

$result = $client->listPackageDecisions([/* ... */]);
$promise = $client->listPackageDecisionsAsync([/* ... */]);

Lists the package decisions made for the calling account, newest first by completedAt. Decisions are retained for 45 days.

Parameter Syntax

$result = $client->listPackageDecisions([
    'completedAfter' => <integer || string || DateTime>,
    'completedBefore' => <integer || string || DateTime>,
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
completedAfter
Type: timestamp (string|DateTime or anything parsable by strtotime)

Only return decisions completed at or after this time.

completedBefore
Type: timestamp (string|DateTime or anything parsable by strtotime)

Only return decisions completed before this time.

maxResults
Type: int

The maximum number of decisions to return, from 1 to 100.

nextToken
Type: string

The token returned by a previous call, to get the next page of decisions.

Result Syntax

[
    'decisions' => [
        [
            'canonicalPurl' => '<string>',
            'completedAt' => <DateTime>,
            'decisionId' => '<string>',
            'enforcementAction' => 'ALLOW|DENY',
            'enforcementMode' => 'NONE|AUDIT|ENFORCE',
            'evaluatedAction' => 'ALLOW|DENY',
            'evaluatedAt' => <DateTime>,
            'reason' => 'NO_DENY_MATCH|MALICIOUS_PACKAGE|POLICY_RULE_MATCHED',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
decisions
Required: Yes
Type: Array of PackageDecisionSummary structures

The decisions, newest first.

nextToken
Type: string

The token to pass in the next call to get the next page of decisions. Absent when there are no more decisions.

Errors

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ListSupplyChainPolicies

$result = $client->listSupplyChainPolicies([/* ... */]);
$promise = $client->listSupplyChainPoliciesAsync([/* ... */]);

Lists customer-managed and service-managed policies visible to the calling account in the current Region.

Parameter Syntax

$result = $client->listSupplyChainPolicies([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'policyType' => 'CUSTOMER_MANAGED|SERVICE_MANAGED',
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of policies to return, from 1 to 100.

nextToken
Type: string

The token returned by a previous call, to get the next page of policies.

policyType
Type: string

Filters the response by policy ownership. When omitted, both customer-managed and service-managed policies are returned.

Result Syntax

[
    'nextToken' => '<string>',
    'policies' => [
        [
            'managedPolicy' => [
                'arn' => '<string>',
                'id' => '<string>',
                'managedBy' => '<string>',
                'name' => '<string>',
                'policyType' => 'CUSTOMER_MANAGED|SERVICE_MANAGED',
            ],
            'policy' => [
                'arn' => '<string>',
                'createdAt' => <DateTime>,
                'id' => '<string>',
                'name' => '<string>',
                'policyType' => 'CUSTOMER_MANAGED|SERVICE_MANAGED',
                'updatedAt' => <DateTime>,
            ],
        ],
        // ...
    ],
]

Result Details

Members
nextToken
Type: string

The token to pass in the next call to get the next page of policies. Absent when there are no more policies.

policies
Required: Yes
Type: Array of PolicyListEntry structures

The policies, one entry per policy.

Errors

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ListSupplyChainPolicyExceptions

$result = $client->listSupplyChainPolicyExceptions([/* ... */]);
$promise = $client->listSupplyChainPolicyExceptionsAsync([/* ... */]);

Lists policy exceptions owned by the calling account in the current Region.

Parameter Syntax

$result = $client->listSupplyChainPolicyExceptions([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of policy exceptions to return, from 1 to 100.

nextToken
Type: string

The token returned by a previous call, to get the next page of policy exceptions.

Result Syntax

[
    'exceptions' => [
        [
            'arn' => '<string>',
            'createdAt' => <DateTime>,
            'expiresAt' => <DateTime>,
            'id' => '<string>',
            'name' => '<string>',
            'policyArn' => '<string>',
            'ruleIds' => ['<string>', ...],
            'status' => 'ACTIVE|EXPIRED',
            'updatedAt' => <DateTime>,
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
exceptions
Required: Yes
Type: Array of PolicyExceptionSummary structures

The policy exceptions.

nextToken
Type: string

The token to pass in the next call to get the next page of policy exceptions. Absent when there are no more policy exceptions.

Errors

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ListTagsForResource

$result = $client->listTagsForResource([/* ... */]);
$promise = $client->listTagsForResourceAsync([/* ... */]);

Returns the tags on a Continuum resource.

Parameter Syntax

$result = $client->listTagsForResource([
    'resourceArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The ARN of the resource whose tags to return.

Result Syntax

[
    'tags' => ['<string>', ...],
]

Result Details

Members
tags
Type: Associative array of custom strings keys (TagKey) to strings

The tags on the resource, as a map of tag keys to tag values.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

PutResourcePolicy

$result = $client->putResourcePolicy([/* ... */]);
$promise = $client->putResourcePolicyAsync([/* ... */]);

Creates or replaces the resource policy attached to a Continuum resource.

Parameter Syntax

$result = $client->putResourcePolicy([
    'arn' => '<string>', // REQUIRED
    'expectedRevisionId' => '<string>',
    'policy' => '<string>',
]);

Parameter Details

Members
arn
Required: Yes
Type: string

The ARN of a resource in the caller's account.

expectedRevisionId
Type: string

Optional optimistic-concurrency token for the currently observed policy.

policy
Type: string

Omit or supply an empty Statement array to clear resource-policy grants and store the canonical empty-statement policy. Cross-account access is denied; same-account access remains subject to identity policies. Use an explicit Deny statement to deny same-account principals too.

Result Syntax

[
    'arn' => '<string>',
    'policy' => '<string>',
    'revisionId' => '<string>',
]

Result Details

Members
arn
Required: Yes
Type: string

The ARN of a Continuum resource that supports a resource policy. Collectors are the only supported resource type; other well-formed Continuum ARNs are rejected with ValidationException.

policy
Required: Yes
Type: string

A resource policy in displayable JSON form.

revisionId
Required: Yes
Type: string

Opaque optimistic-concurrency token for a resource policy.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

StartIntegrationAuthorization

$result = $client->startIntegrationAuthorization([/* ... */]);
$promise = $client->startIntegrationAuthorizationAsync([/* ... */]);

Starts an OAuth authorization for a new Continuum integration. Returns a server-stored OAuth state nonce and the PKCE code challenge for the matching code verifier HoFES retains. The caller sends the state and code challenge to the provider's authorize endpoint; CreateIntegration redeems the authorization code with the matching state.

Parameter Syntax

$result = $client->startIntegrationAuthorization([
    'name' => '<string>',
    'providerType' => 'GITHUB', // REQUIRED
]);

Parameter Details

Members
name
Type: string

Optional name the resulting integration will be created with. When set, the service pre-reserves the name against the forwarded customer account.

providerType
Required: Yes
Type: string

Provider to authorize.

Result Syntax

[
    'codeChallenge' => '<string>',
    'codeChallengeMethod' => 'S256',
    'expiresAt' => <DateTime>,
    'state' => '<string>',
]

Result Details

Members
codeChallenge
Required: Yes
Type: string

PKCE code challenge to send as the OAuth code_challenge parameter.

codeChallengeMethod
Required: Yes
Type: string

PKCE challenge method to send as the OAuth code_challenge_method parameter.

expiresAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Time after which CreateIntegration no longer accepts this authorization. Uses the same date-time wire format as every other Continuum integration timestamp.

state
Required: Yes
Type: string

Opaque value to send as the OAuth state parameter. Pass the value the provider returns in its callback to CreateIntegration as providerConfiguration.github.authorization.state.

Errors

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

TagResource

$result = $client->tagResource([/* ... */]);
$promise = $client->tagResourceAsync([/* ... */]);

Adds tags to a Continuum resource, or changes the values of tags that it already has. Tags that the request doesn't name stay as they are.

Parameter Syntax

$result = $client->tagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tags' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The ARN of the resource to tag.

tags
Required: Yes
Type: Associative array of custom strings keys (TagKey) to strings

The tags to add, as a map of tag keys to tag values.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

UntagResource

$result = $client->untagResource([/* ... */]);
$promise = $client->untagResourceAsync([/* ... */]);

Removes tags from a Continuum resource. A key that the resource doesn't have is ignored.

Parameter Syntax

$result = $client->untagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tagKeys' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The ARN of the resource to untag.

tagKeys
Required: Yes
Type: Array of strings

The keys of the tags to remove.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

UpdateCollector

$result = $client->updateCollector([/* ... */]);
$promise = $client->updateCollectorAsync([/* ... */]);

Updates the customer-controlled mutable properties of a Collector. Only the name and Kubernetes cluster IAM role can be changed.

Parameter Syntax

$result = $client->updateCollector([
    'collectorId' => '<string>', // REQUIRED
    'kubernetesClusterRole' => [
        'remove' => [
        ],
        'set' => [
            'externalId' => '<string>',
            'roleArn' => '<string>', // REQUIRED
        ],
    ],
    'name' => '<string>',
]);

Parameter Details

Members
collectorId
Required: Yes
Type: string

The unique identifier of the Collector to update.

kubernetesClusterRole
Type: KubernetesClusterRoleUpdate structure

Atomic update to the IAM role configuration used to collect Kubernetes cluster metadata. The set variant requires a complete configuration; the authenticated caller must be allowed to pass its exact roleArn to Continuum. The remove variant clears both the role and external ID.

name
Type: string

The new customer-visible name.

Result Syntax

[
    'collectorArn' => '<string>',
    'collectorId' => '<string>',
    'configRecorderArn' => '<string>',
    'createdAt' => <DateTime>,
    'kubernetesClusterRoleArn' => '<string>',
    'status' => 'ACTIVE|PENDING_DELETION',
    'type' => 'AWS_COLLECTOR',
    'updatedAt' => <DateTime>,
]

Result Details

Members
collectorArn
Required: Yes
Type: string

The ARN of the updated Collector.

collectorId
Required: Yes
Type: string

The unique identifier of the updated Collector.

configRecorderArn
Type: string

The ARN of the provisioned AWS Config Recorder.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the Collector was created.

kubernetesClusterRoleArn
Type: string

IAM role used to collect Kubernetes cluster metadata.

status
Required: Yes
Type: string

The current lifecycle status.

type
Required: Yes
Type: string

The source collected by this Collector.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time of the last successful UpdateCollector call, returned at whole-second precision in the same date-time format as createdAt.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

UpdateEnvironment

$result = $client->updateEnvironment([/* ... */]);
$promise = $client->updateEnvironmentAsync([/* ... */]);

Updates the customer-controlled mutable properties of an environment. Only the name, the environment's S3 integration source and repository selections, its scan frequency, its network policy, its patch creation policy, its focus mode, and its pentest configuration can be changed.

Parameter Syntax

$result = $client->updateEnvironment([
    'configuration' => [
        'codeConfiguration' => [
            'environmentConfiguration' => [
                'focusMode' => 'COMPREHENSIVE|FOCUSED',
                'issueBudget' => [
                    'maxIssuesPerScan' => <integer>, // REQUIRED
                ],
                'network' => [
                    'allowedDomains' => ['<string>', ...],
                ],
                'patchCreationPolicy' => 'ENABLED|DISABLED',
                'scanFrequency' => '<string>',
            ],
            'sourceConfiguration' => [
                'repositorySources' => [
                    [
                        'defaultBranch' => '<string>',
                        'integrationId' => '<string>', // REQUIRED
                        'repository' => '<string>', // REQUIRED
                    ],
                    // ...
                ],
                's3Sources' => [
                    [
                        'codePrefix' => '<string>',
                        'contextPrefix' => '<string>',
                        'integrationId' => '<string>', // REQUIRED
                    ],
                    // ...
                ],
            ],
        ],
    ],
    'environmentId' => '<string>', // REQUIRED
    'name' => '<string>',
]);

Parameter Details

Members
configuration

Type-specific configuration changes. Omission preserves the configuration.

environmentId
Required: Yes
Type: string

The unique identifier of the environment to update.

name
Type: string

The new customer-visible name.

Result Syntax

[
    'configuration' => [
        'codeConfiguration' => [
            'collectorDetails' => [
                'collectorDataAccessRoleArn' => '<string>',
            ],
            'environmentConfiguration' => [
                'focusMode' => 'COMPREHENSIVE|FOCUSED',
                'issueBudget' => [
                    'maxIssuesPerScan' => <integer>,
                ],
                'network' => [
                    'allowedDomains' => ['<string>', ...],
                ],
                'patchCreationPolicy' => 'ENABLED|DISABLED',
                'scanFrequency' => '<string>',
            ],
            'latestScan' => [
                'completedAt' => <DateTime>,
                'createdAt' => <DateTime>,
                'failureMessage' => '<string>',
                'failureStage' => 'SUBMITTED|WAITING_FOR_BUILD|BUILDING|WAITING_FOR_SCAN|SCANNING',
                'origin' => 'MANUAL|SCHEDULED',
                'scanRunId' => '<string>',
                'status' => 'SUBMITTED|WAITING_FOR_BUILD|BUILDING|WAITING_FOR_SCAN|SCANNING|SUCCEEDED|FAILED',
            ],
            'sourceConfiguration' => [
                'repositorySources' => [
                    [
                        'defaultBranch' => '<string>',
                        'integrationId' => '<string>',
                        'repository' => '<string>',
                    ],
                    // ...
                ],
                's3Sources' => [
                    [
                        'codePrefix' => '<string>',
                        'contextPrefix' => '<string>',
                        'integrationId' => '<string>',
                    ],
                    // ...
                ],
            ],
        ],
    ],
    'createdAt' => <DateTime>,
    'environmentArn' => '<string>',
    'environmentId' => '<string>',
    'name' => '<string>',
    'status' => 'ACTIVE',
    'statusMessage' => '<string>',
    'statusUpdatedAt' => <DateTime>,
]

Result Details

Members
configuration
Required: Yes
Type: EnvironmentConfigurationDetails structure

Type-specific state, including Collector details, the latest scan, and the pentest configuration. Read source and operating-policy settings through GetEnvironment.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the environment was created. Uses the existing GetEnvironment/ListEnvironments ISO-8601 wire format for this field.

environmentArn
Required: Yes
Type: string

The ARN of the updated environment.

environmentId
Required: Yes
Type: string

The unique identifier of the updated environment.

name
Required: Yes
Type: string

The current customer-visible name of the environment.

status
Required: Yes
Type: string

The current operational status of the environment.

statusMessage
Type: string

Human-readable details about the current status.

statusUpdatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the status last transitioned. Uses the existing GetEnvironment/ListEnvironments ISO-8601 wire format for this field.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

UpdateIntegration

$result = $client->updateIntegration([/* ... */]);
$promise = $client->updateIntegrationAsync([/* ... */]);

Updates a Continuum integration. Only S3 integrations can be updated today; GitHub integrations cannot be modified. The integration's name, provider type, and bucket remain fixed.

Parameter Syntax

$result = $client->updateIntegration([
    'integrationId' => '<string>', // REQUIRED
    'providerConfiguration' => [ // REQUIRED
        's3' => [
            'externalId' => '<string>',
            'roleArn' => '<string>', // REQUIRED
        ],
    ],
]);

Parameter Details

Members
integrationId
Required: Yes
Type: string

The unique identifier of the S3 integration to update.

providerConfiguration
Required: Yes
Type: UpdateProviderConfiguration structure

Provider-specific changes to apply. The union member must match the integration's provider type, and only S3 integrations can be updated.

Result Syntax

[
    'createdAt' => <DateTime>,
    'integrationArn' => '<string>',
    'integrationId' => '<string>',
    'integrationType' => 'GITHUB|GITLAB|S3',
    'name' => '<string>',
    'providerDetails' => [
        'github' => [
            'organizationName' => '<string>',
        ],
        'gitlab' => [
            'expiresAt' => <DateTime>,
            'instanceUrl' => '<string>',
            'targetPath' => '<string>',
            'targetType' => 'GROUP|PROJECT',
            'tokenRotation' => 'AUTOMATIC|NONE',
        ],
        's3' => [
            'bucket' => '<string>',
            'roleArn' => '<string>',
        ],
    ],
    'updatedAt' => <DateTime>,
]

Result Details

Members
createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the integration was created.

integrationArn
Required: Yes
Type: string

ARN of a Continuum integration, of the form arn:{partition}:continuum:{region}:{account}:integrations/{integrationId}.

integrationId
Required: Yes
Type: string

Unique identifier of a Continuum integration.

integrationType
Required: Yes
Type: string

Provider type for a Continuum integration.

name
Required: Yes
Type: string

Caller-provided name of a Continuum integration.

providerDetails
Required: Yes
Type: ProviderDetails structure

Provider-specific details for an integration. Exactly one member is present.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the integration was last updated.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

UpdateSupplyChainPolicy

$result = $client->updateSupplyChainPolicy([/* ... */]);
$promise = $client->updateSupplyChainPolicyAsync([/* ... */]);

Updates an existing policy. You can change the description, add rules, and change rules that have no active policy exception. The name can't be changed, existing rules can't be removed, and rules with an active policy exception can't be changed until the exception expires or is deleted. The policy's ID, ARN, and tags don't change.

Parameter Syntax

$result = $client->updateSupplyChainPolicy([
    'id' => '<string>', // REQUIRED
    'policy' => [ // REQUIRED
        'description' => '<string>',
        'name' => '<string>', // REQUIRED
        'rules' => [ // REQUIRED
            [
                'denyWhen' => [ // REQUIRED
                    'allOf' => [ // REQUIRED
                        [
                            'operator' => 'MATCHES|AT_LEAST|EQUALS|NOT_EQUALS|IN|PRESENT', // REQUIRED
                            'signal' => 'PACKAGE_IDENTITY|INSPECTOR_SEVERITY|KEV|MALICIOUS', // REQUIRED
                            'value' => [
                                'packageIdentity' => [
                                    'ecosystem' => '<string>', // REQUIRED
                                    'name' => '<string>', // REQUIRED
                                    'version' => '<string>',
                                    'versionRange' => '<string>',
                                ],
                                'severity' => 'LOW|MEDIUM|HIGH|CRITICAL|UNTRIAGED',
                                'stringSet' => ['<string>', ...],
                                'stringValue' => '<string>',
                            ],
                        ],
                        // ...
                    ],
                ],
                'enforcementMode' => 'AUDIT|ENFORCE', // REQUIRED
                'ruleId' => '<string>', // REQUIRED
            ],
            // ...
        ],
    ],
]);

Parameter Details

Members
id
Required: Yes
Type: string

The ID of the policy to update.

policy
Required: Yes
Type: SupplyChainPolicy structure

The updated policy. The name must match the existing name, and the rules must include every existing rule ID.

Result Syntax

[
    'arn' => '<string>',
    'createdAt' => <DateTime>,
    'id' => '<string>',
    'policy' => [
        'description' => '<string>',
        'name' => '<string>',
        'rules' => [
            [
                'denyWhen' => [
                    'allOf' => [
                        [
                            'operator' => 'MATCHES|AT_LEAST|EQUALS|NOT_EQUALS|IN|PRESENT',
                            'signal' => 'PACKAGE_IDENTITY|INSPECTOR_SEVERITY|KEV|MALICIOUS',
                            'value' => [
                                'packageIdentity' => [
                                    'ecosystem' => '<string>',
                                    'name' => '<string>',
                                    'version' => '<string>',
                                    'versionRange' => '<string>',
                                ],
                                'severity' => 'LOW|MEDIUM|HIGH|CRITICAL|UNTRIAGED',
                                'stringSet' => ['<string>', ...],
                                'stringValue' => '<string>',
                            ],
                        ],
                        // ...
                    ],
                ],
                'enforcementMode' => 'AUDIT|ENFORCE',
                'ruleId' => '<string>',
            ],
            // ...
        ],
    ],
    'updatedAt' => <DateTime>,
]

Result Details

Members
arn
Required: Yes
Type: string

The ARN of the policy.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the policy was created.

id
Required: Yes
Type: string

The ID of the policy.

policy
Required: Yes
Type: SupplyChainPolicy structure

The policy as stored after the update.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time of this update.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

UpdateSupplyChainPolicyException

$result = $client->updateSupplyChainPolicyException([/* ... */]);
$promise = $client->updateSupplyChainPolicyExceptionAsync([/* ... */]);

Replaces the mutable fields of an active policy exception: the rules it suppresses, the package it applies to, the justification, and the expiry time. The name and the referenced policy can't be changed, and an expired exception can't be updated. The exception's ID, ARN, and tags don't change.

Parameter Syntax

$result = $client->updateSupplyChainPolicyException([
    'exception' => [ // REQUIRED
        'expiresAt' => <integer || string || DateTime>, // REQUIRED
        'justification' => '<string>', // REQUIRED
        'name' => '<string>', // REQUIRED
        'package' => [ // REQUIRED
            'ecosystem' => '<string>', // REQUIRED
            'name' => '<string>', // REQUIRED
            'version' => '<string>',
            'versionRange' => '<string>',
        ],
        'policyArn' => '<string>', // REQUIRED
        'ruleIds' => ['<string>', ...], // REQUIRED
    ],
    'id' => '<string>', // REQUIRED
]);

Parameter Details

Members
exception
Required: Yes
Type: SupplyChainPolicyException structure

The updated policy exception. The name and policyArn must match the existing exception.

id
Required: Yes
Type: string

The ID of the policy exception to update.

Result Syntax

[
    'arn' => '<string>',
    'createdAt' => <DateTime>,
    'exception' => [
        'expiresAt' => <DateTime>,
        'justification' => '<string>',
        'name' => '<string>',
        'package' => [
            'ecosystem' => '<string>',
            'name' => '<string>',
            'version' => '<string>',
            'versionRange' => '<string>',
        ],
        'policyArn' => '<string>',
        'ruleIds' => ['<string>', ...],
    ],
    'id' => '<string>',
    'status' => 'ACTIVE|EXPIRED',
    'updatedAt' => <DateTime>,
]

Result Details

Members
arn
Required: Yes
Type: string

The ARN of the policy exception.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the policy exception was created.

exception
Required: Yes
Type: SupplyChainPolicyException structure

The policy exception as stored after the update.

id
Required: Yes
Type: string

The ID of the policy exception.

status
Required: Yes
Type: string

Computed from expiresAt at read time.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time of this update.

Errors

ResourceNotFoundException:

The resource you requested doesn't exist. Check the identifier and try again.

InternalServerException:

An unexpected error occurred on the server. Try the request again.

AccessDeniedException:

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

The request isn't valid. Check the request parameters and try again.

ConflictException:

The request conflicts with the current state of the resource. Check the state of the resource and try again.

Shapes

AccessDeniedException

Description

You don't have permission to perform this action. Verify that your IAM policy includes the required permissions.

Members
message
Required: Yes
Type: string

Error description.

AffectedPackage

Description

A software package implicated by a finding.

Members
fixedInVersion
Type: string

The earliest version that resolves the issue, when one is known.

name
Required: Yes
Type: string

The package name.

packageManager
Type: string

The ecosystem supplying the package.

version
Type: string

The affected version.

AssociatedCollector

Description

One Collector associated with an Environment.

Members
collectorArn
Required: Yes
Type: string

The ARN of the associated Collector. The account and Region encoded in this ARN identify cross-account and cross-Region associations.

collectorId
Required: Yes
Type: string

The unique identifier of the associated Collector.

AssociatedEnvironment

Description

A summary of one Environment associated with a Collector. This shape intentionally remains distinct from EnvironmentSummary so the two list operations can evolve independently.

Members
createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the associated Environment was created.

environmentArn
Required: Yes
Type: string

The ARN of the associated Environment. The account encoded in this ARN identifies cross-account associations; association mutations require its Region to match the Collector's Region.

environmentId
Required: Yes
Type: string

The unique identifier of the associated Environment.

name
Required: Yes
Type: string

The customer-visible name of the associated Environment.

status
Required: Yes
Type: string

The current operational status of the associated Environment.

CodeConfigurationDetails

Description

Code-specific environment properties. GetEnvironment returns the source and operating policy; UpdateEnvironment returns Collector details and the latest scan.

Members
collectorDetails
Type: CollectorDetails structure

Collector data access configuration. Omitted when no Collector data access role is configured.

environmentConfiguration
Type: EnvironmentConfiguration structure

Operating policy in the shape accepted by CreateEnvironment and UpdateEnvironment.

latestScan
Type: CodeScanSummary structure

The newest scan requested for this environment, if one exists.

sourceConfiguration

Sources in the shape accepted by CreateEnvironment and UpdateEnvironment.

CodeScanData

Description

Complete customer-visible data for one environment scan.

Kept distinct from CodeScanSummary so GetCodeScan can grow independently of ListCodeScans without changing its response contract.

Members
completedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

Time at which a terminal result was recorded.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Time at which Continuum accepted the scan request.

failureMessage
Type: string

Failure detail present for unsuccessful scans.

failureStage
Type: string

Phase this scan failed in. Present only when status is FAILED, and absent for a scan that failed before this field existed.

origin
Required: Yes
Type: string

Why the scan was created. Always present.

scanRunId
Required: Yes
Type: string

The unique scan identifier.

status
Required: Yes
Type: string

Current customer-visible status.

CodeScanSummary

Description

Customer-visible summary of one environment scan.

Members
completedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

Time at which a terminal result was recorded.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Time at which Continuum accepted the scan request.

failureMessage
Type: string

Failure detail present for unsuccessful scans.

failureStage
Type: string

Phase this scan failed in. Present only when status is FAILED, and absent for a scan that failed before this field existed.

origin
Required: Yes
Type: string

Why the scan was created. Always present.

scanRunId
Required: Yes
Type: string

The unique scan identifier.

status
Required: Yes
Type: string

Current customer-visible status.

CollectorDetails

Description

Collector data access configuration returned for an environment.

Members
collectorDataAccessRoleArn
Type: string

IAM role that Continuum assumes to authorize its access to associated Collector inventory. Required for nonempty Collector inventory resolution, in the same account or across accounts. This is independent from any S3 source role.

CollectorSummary

Description

A summary of a Collector returned in list responses.

Members
collectorArn
Required: Yes
Type: string

The ARN of the Collector.

collectorId
Required: Yes
Type: string

The unique identifier of the Collector.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the Collector was created.

status
Required: Yes
Type: string

The current lifecycle status.

type
Required: Yes
Type: string

The source collected by this Collector.

Condition

Description

A single condition: a signal, an operator, and a value. The service checks that the operator and value are valid for the signal when the policy is created or updated.

Members
operator
Required: Yes
Type: string

How the signal is compared with the value.

signal
Required: Yes
Type: string

The package attribute that the condition tests.

value
Type: ConditionValue structure

The value to compare the signal with. Omit it for the PRESENT operator, which takes no value.

ConditionValue

Description

The value of a condition. Specify exactly one member, matching the signal and operator: packageIdentity for PACKAGE_IDENTITY with MATCHES, severity for INSPECTOR_SEVERITY with AT_LEAST, EQUALS, or NOT_EQUALS, stringValue for EQUALS or NOT_EQUALS, and stringSet for IN.

Members
packageIdentity
Type: PackageIdentity structure

The package to match, for the PACKAGE_IDENTITY signal.

severity
Type: string

An Amazon Inspector severity, for the INSPECTOR_SEVERITY signal.

stringSet
Type: Array of strings

A set of up to 20 values, for the IN operator.

stringValue
Type: string

A single value, for the EQUALS and NOT_EQUALS operators.

ConflictException

Description

The request conflicts with the current state of the resource. Check the state of the resource and try again.

Members
message
Required: Yes
Type: string

Error description.

CreateCodeConfiguration

Description

Source and operating-policy settings for a new code environment.

Members
environmentConfiguration
Type: EnvironmentConfiguration structure

Environment-level operating policy.

sourceConfiguration

Source configuration for the environment.

CreateEnvironmentConfiguration

Description

Type-specific configuration for a new environment. Omission creates a code environment with the default operating policy and no sources.

Members
codeConfiguration
Type: CreateCodeConfiguration structure

Configuration for a code-scanning environment.

DecisionEvidence

Description

One item of evidence recorded for a decision. Exactly one member is set.

Members
mandatoryBaseline
Type: MandatoryBaselineEvidence structure

The service-managed malicious-package baseline matched the package.

policyException
Type: PolicyExceptionEvidence structure

A policy exception suppressed one or more matching rules.

policyRuleMatch
Type: PolicyRuleMatchEvidence structure

A rule in one of your policies matched the package.

DeliveredChangeRequest

Description

The state of a delivered pull or merge request, as Continuum last read it from GitHub or GitLab. Continuum reads it again each time a scan of the environment is queued.

Members
checkedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When Continuum last read it from the provider.

closedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When it was closed, merged or not. Absent while it is open.

mergedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When it was merged. Present only when state is MERGED and the provider reported the time.

state
Required: Yes
Type: string

Whether the pull or merge request is still open, was merged, or was closed without being merged.

DenyWhen

Description

The conditions of a rule. All of them must be true for the rule to match.

Members
allOf
Required: Yes
Type: Array of Condition structures

The conditions, from 1 to 20. All of them must be true for the rule to match.

DestinationTarget

Description

Identity only. Future providers may add union members without duplicating state.

Members
github
Type: GitHubTarget structure

The GitHub repository the patch is delivered to, including the pull request once it is opened.

gitlab
Type: GitLabTarget structure

The GitLab project the patch is delivered to, including the merge request once it is opened.

s3
Type: S3Target structure

The S3 object the patch is delivered to.

Document

Members

EnvironmentConfiguration

Description

Environment-level operating policy.

Members
focusMode
Type: string

Which findings Continuum pursues, by the severity reported when the finding is created. Defaults to COMPREHENSIVE.

issueBudget
Type: IssueBudget structure

Caps the new issues each scan may start. Absent, or maxIssuesPerScan 0, means no cap. A change takes effect at the next scan.

network

Network policy for agent execution.

patchCreationPolicy
Type: string

Whether Continuum creates a patch for a proposed remediation. Defaults to DISABLED.

scanFrequency
Type: string

Recurring scan interval: P1D (1 day), P2D (2 days), or P7D (7 days). PT0H disables recurring scans. Defaults to P1D when creating an environment.

EnvironmentConfigurationDetails

Description

Type-specific configuration and state returned by GetEnvironment and UpdateEnvironment.

Members
codeConfiguration
Type: CodeConfigurationDetails structure

Configuration and scan state for a code-scanning environment.

EnvironmentListEntry

Description

Summary of an environment returned in list responses.

Members
createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the environment was created. Preserve the existing EnvironmentSummary.createdAt date-time wire format.

environmentArn
Required: Yes
Type: string

The ARN of the environment.

environmentId
Required: Yes
Type: string

The unique identifier of the environment.

name
Required: Yes
Type: string

The customer-visible name of the environment.

status
Required: Yes
Type: string

The current operational status of the environment.

EnvironmentNetworkConfiguration

Description

Network policy for agent execution.

Members
allowedDomains
Type: Array of strings

Domains that an environment's agent execution may contact.

EnvironmentRepositorySource

Description

One repository selected from a previously-created integration.

Members
defaultBranch
Type: string

Branch used when a scan does not choose a more specific revision.

integrationId
Required: Yes
Type: string

Integration that provides the selected repository.

repository
Required: Yes
Type: string

Repository selected from that integration: owner/repository for GitHub, or the project's full (possibly nested) path for GitLab.

EnvironmentS3IntegrationSource

Description

An S3 source for one environment, backed by a previously-created S3 integration.

Members
codePrefix
Type: string

Prefix containing source code. Defaults to code/ when omitted.

contextPrefix
Type: string

Prefix containing customer-authored context. Defaults to context/ when omitted.

integrationId
Required: Yes
Type: string

Identifier of an S3 integration in the caller's account. The integration supplies the bucket, the read role, and the external ID Continuum uses to read the prefixes.

EnvironmentSourceConfiguration

Description

GA source configuration for code and customer-authored context.

Members
repositorySources
Type: Array of EnvironmentRepositorySource structures

Explicit repository selections from previously-created integrations.

s3Sources
Type: Array of EnvironmentS3IntegrationSource structures

S3 sources backed by previously-created S3 integrations.

FindingComplianceCheck

Description

One compliance check behind a posture finding.

Members
description
Type: string

Free-form prose about a finding (summary, detailed analysis, rationale, remediation guidance). Capped well below the finding document's own 256 KB limit, since several of these can appear on one finding.

name
Type: string

A vulnerability-taxonomy label: the producer's category, sub-category, or OWASP category. Deliberately unconstrained beyond length -- producers do not share a taxonomy, so this is NOT a stable filter key across finding types. Use cweIds when a stable classification is needed.

uid
Type: string

A vulnerability-taxonomy label: the producer's category, sub-category, or OWASP category. Deliberately unconstrained beyond length -- producers do not share a taxonomy, so this is NOT a stable filter key across finding types. Use cweIds when a stable classification is needed.

FindingEvidence

Description

A code citation supporting a validation verdict.

Members
file
Type: string

The file the evidence was found in.

line
Type: int

The 1-indexed line, when known.

snippet
Type: string

The cited excerpt.

FindingLocation

Description

A code location a finding points at.

Members
endLine
Type: int

1-indexed last line, when the producer reported a range.

filePath
Type: string

Repository-relative path.

startLine
Type: int

1-indexed first line of the affected range.

FindingPosture

Description

The compliance posture a finding reports, for the Application Security Posture Finding class. Absent for a vulnerability finding.

Members
application
Type: string

The application the posture was assessed against.

applicationUid
Type: string

A vulnerability-taxonomy label: the producer's category, sub-category, or OWASP category. Deliberately unconstrained beyond length -- producers do not share a taxonomy, so this is NOT a stable filter key across finding types. Use cweIds when a stable classification is needed.

applicationVersion
Type: string

A vulnerability-taxonomy label: the producer's category, sub-category, or OWASP category. Deliberately unconstrained beyond length -- producers do not share a taxonomy, so this is NOT a stable filter key across finding types. Use cweIds when a stable classification is needed.

checks
Type: Array of FindingComplianceCheck structures

The individual checks performed.

control
Type: string

The control assessed, and the producer's description of it.

description
Type: string

Free-form prose about a finding (summary, detailed analysis, rationale, remediation guidance). Capped well below the finding document's own 256 KB limit, since several of these can appear on one finding.

remediation
Type: string

Free-form prose about a finding (summary, detailed analysis, rationale, remediation guidance). Capped well below the finding document's own 256 KB limit, since several of these can appear on one finding.

remediationReferences
Type: Array of strings

A free-form list of strings carried verbatim from a producer.

requirements
Type: Array of strings

A free-form list of strings carried verbatim from a producer.

standards
Type: Array of strings

Standards and requirements the control maps to.

status
Type: string

The producer's compliance status, and the enum value behind it.

statusId
Type: int

The producer's numeric enum value for status.

FindingResource

Description

A cloud or application resource a finding concerns.

Members
name
Type: string

A vulnerability-taxonomy label: the producer's category, sub-category, or OWASP category. Deliberately unconstrained beyond length -- producers do not share a taxonomy, so this is NOT a stable filter key across finding types. Use cweIds when a stable classification is needed.

region
Type: string

A vulnerability-taxonomy label: the producer's category, sub-category, or OWASP category. Deliberately unconstrained beyond length -- producers do not share a taxonomy, so this is NOT a stable filter key across finding types. Use cweIds when a stable classification is needed.

type
Type: string

A vulnerability-taxonomy label: the producer's category, sub-category, or OWASP category. Deliberately unconstrained beyond length -- producers do not share a taxonomy, so this is NOT a stable filter key across finding types. Use cweIds when a stable classification is needed.

uid
Type: string

A resource identifier -- a cloud ARN, a context-graph node id, or whatever identifier scheme the producer uses.

FindingSummary

Description

A summary of a finding returned in list responses. Shares FindingLifecycleFields with the read operations so the list and get projections cannot drift. Carries a lean content subset -- fetch the finding for its full contents.

Members
category
Type: string

The producer's vulnerability category.

completedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

When processing finished, whether by creating an issue or discarding. Absent while the finding is still in flight.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the finding was ingested.

createdIssueId
Type: string

The issue Continuum created from this finding.

discardReason
Type: string

Why the finding was not escalated. Present only when status is DISCARDED.

discardReasoning
Type: string

Customer-facing explanation accompanying discardReason.

duplicateOfIssueId
Type: string

The existing issue this finding duplicates. Present only for the DUPLICATE_OF_* discard reasons.

environmentId
Required: Yes
Type: string

The environment that owns the finding.

filePath
Type: string

The file the finding is about, when it has a code location.

findingArn
Required: Yes
Type: string

The ARN of the finding.

findingId
Required: Yes
Type: string

The unique identifier of the finding.

notPursuedReason
Type: string

May be present when status is NOT_PURSUED: why Continuum did not pursue it. Only findings submitted with CreateCodeFinding are listed when not pursued, so in practice FOCUS_MODE.

reportedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the producer reported the finding -- its own clock, which is not Continuum's ingestion time. createdAt is when Continuum accepted it; these are genuinely different instants and a reader usually wants this one.

For CreateCodeFinding, this is the submitted OCSF document's own top-level time. For findings Continuum's scanner produces, it is the finding's own creation time.

Continuum does not validate it for plausibility: a producer's value is echoed as given, so a timestamp here asserts the unit and format, not that the instant is genuine.

scanRunId
Type: string

The scan that produced the finding, when it came from one. For a finding Continuum's scanner produced, this is the Continuum scan run (see GetCodeScan). For a finding submitted with CreateCodeFinding, it is the OCSF document's metadata.correlation_uid, when that value is a valid ScanRunId. Absent when the finding did not come from a scan.

severity
Required: Yes
Type: string

The finding's severity.

source
Required: Yes
Type: string

The system that produced the finding.

sourceFindingId
Required: Yes
Type: string

The producer's own identifier for the finding.

status
Required: Yes
Type: string

The current lifecycle status of the finding.

statusMessage
Type: string

Human-readable context about the current status.

statusUpdatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the status last transitioned.

title
Required: Yes
Type: string

The producer's title for the finding.

type
Required: Yes
Type: string

What kind of finding this is.

FindingValidation

Description

A validator's assessment of a finding. Present only when validation actually ran -- absent for finding types that are ingested untested, rather than reporting a verdict Continuum did not reach.

Members
blockingReason
Type: string

Why the validator reached that verdict.

confidence
Type: double

The validator's confidence, from 0.0 to 1.0 inclusive. Advisory: it does not drive Continuum's own routing decisions. The range is enforced server-side, not by a @range trait -- the smithy-rs server SDK does not support range constraints on double shapes (smithy-rs#2007).

evidence
Type: Array of FindingEvidence structures

Code citations supporting the verdict.

mitigatingControls
Type: Array of strings

Controls the validator found that reduce exploitability.

preconditions
Type: Array of strings

Conditions exploitation depends on, which bound the severity.

rationale
Type: string

The validator's reasoning.

severityAdjustment
Type: string

The validator's severity conclusion.

verdict
Required: Yes
Type: string

The validator's conclusion.

FindingVulnerability

Description

One vulnerability reported by a finding. A customer document may report several; each carries its own identity, locations and remediation.

Members
additionalCweIds
Type: Array of strings

Further CWEs the producer attributed to this same vulnerability.

affectedPackages
Type: Array of AffectedPackage structures

Software packages implicated by a finding.

code
Type: string

The vulnerable fragment, when the producer supplied one.

cveId
Type: string

A CVE identifier, e.g. "CVE-2020-8203".

cvssBaseScore
Type: double

The CVSS base score for cveId, when the producer supplies one, from 0.0 to 10.0.

cweCaption
Type: string

The producer's human-readable caption for cweId.

cweId
Type: string

Primary CWE for this vulnerability, e.g. "CWE-89".

description
Type: string

Free-form prose about a finding (summary, detailed analysis, rationale, remediation guidance). Capped well below the finding document's own 256 KB limit, since several of these can appear on one finding.

details
Type: string

The producer's extended analysis for this vulnerability.

fixCoverage
Type: string

The producer's description of how completely a fix is available.

fixCoverageId
Type: int

The producer's enum value behind fixCoverage.

locations
Type: Array of FindingLocation structures

Every location this vulnerability was reported at.

remediation
Type: string

Free-form prose about a finding (summary, detailed analysis, rationale, remediation guidance). Capped well below the finding document's own 256 KB limit, since several of these can appear on one finding.

remediationReferences
Type: Array of strings

A free-form list of strings carried verbatim from a producer.

title
Type: string

The title of a finding, from the producer's own title -- OCSF finding_info.title, or the scanner's finding title. Length matches the OCSF title constraint.

FlowVerdict

Description

Validation's verdict for one attack flow.

Members
confidence
Type: double

Confidence in this flow's verdict. Absent when out of range.

evidence
Type: Array of strings

Citations supporting the verdict.

flowId
Required: Yes
Type: string

Identifier of the attack flow assessed.

verdict
Required: Yes
Type: string

Outcome for this flow.

GitHubAuthorizationConfiguration

Description

Write-only OAuth credentials used to authorize a GitHub.com integration. Not stored or returned after creation.

Members
authorizationCode
Required: Yes
Type: string

OAuth authorization code returned by GitHub after the user authorizes the application.

redirectUrl
Type: string

Optional redirect URL used to obtain the authorization code. Must match one of the redirect URLs registered on the GitHub App. If omitted, the App's default redirect URL is used. Not stored or returned.

state
Required: Yes
Type: string

Opaque state echoed back by GitHub in its OAuth callback. Must match the state that StartIntegrationAuthorization returned to the same AWS account; the authorization request must have sent that call's codeChallenge. The state can be redeemed once.

GitHubConfiguration

Description

Configuration for a GitHub.com integration using the OAuth authorization code flow.

Members
authorization
Required: Yes
Type: GitHubAuthorizationConfiguration structure

OAuth authorization used to establish the integration. Required on create; not returned on read operations.

organizationName
Type: string

Optional name of the GitHub organization to associate with the integration. If omitted, the integration is associated with the authenticated user's personal account.

GitHubDetails

Description

Details for a GitHub.com integration.

Members
organizationName
Type: string

The name of the GitHub organization associated with the integration.

GitHubTarget

Description

The GitHub repository a patch is delivered to, and the pull request that carries it once opened.

Members
headSha
Type: string

The head commit SHA of the pull request. Absent until the pull request is opened.

owner
Required: Yes
Type: string

The GitHub user or organization that owns the repository.

pullRequestNumber
Type: long (int|float)

Repository-scoped pull request number assigned by GitHub.

repository
Required: Yes
Type: string

The repository name.

GitLabConfiguration

Description

Configuration for a GitLab integration using a pasted access token.

Members
accessToken
Required: Yes
Type: string

GitLab access token. Write-only; not stored or returned after creation.

instanceUrl
Required: Yes
Type: string

HTTPS base URL of the GitLab instance (gitlab.com or self-managed).

targetPath
Required: Yes
Type: string

Group or project path the integration targets.

targetType
Required: Yes
Type: string

Whether the integration targets a group or a single project.

GitLabDetails

Description

Details for a GitLab integration.

Members
expiresAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The expiry of the stored access token, for non-rotating tokens only. A rotated token's original expiry is stale, so this is omitted when tokenRotation is AUTOMATIC.

instanceUrl
Required: Yes
Type: string

The HTTPS base URL of the GitLab instance.

targetPath
Required: Yes
Type: string

The group or project path the integration targets.

targetType
Required: Yes
Type: string

Whether the integration targets a group or a single project.

tokenRotation
Required: Yes
Type: string

How the integration's access token is rotated. AUTOMATIC only when the pasted token had the self-rotate scope and rotation was opted in at installation time.

GitLabTarget

Description

The GitLab project a patch is delivered to, and the merge request that carries it once opened.

Members
headSha
Type: string

The head commit SHA of the merge request. Absent until the merge request is opened.

mergeRequestNumber
Type: long (int|float)

Project-scoped merge request number assigned by GitLab (the !N it shows; its API calls it the IID).

mergeRequestUri
Type: string

Canonical HTTPS URL returned by GitLab for the opened merge request. Absent until publication has returned a merge request.

projectPath
Required: Yes
Type: string

The project's full path (for example group/subgroup/project) as the Build recorded it.

IntegrationSummary

Description

Summary of a Continuum integration returned in list responses.

Members
createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the integration was created.

integrationArn
Required: Yes
Type: string

The ARN of the integration.

integrationId
Required: Yes
Type: string

The unique identifier of the integration.

integrationType
Required: Yes
Type: string

The immutable provider type for the integration.

kmsKeyId
Type: string

ARN of the customer managed KMS key, if the integration was created with one.

name
Required: Yes
Type: string

The name of the integration.

providerDetails
Required: Yes
Type: ProviderDetails structure

Provider-specific details for the integration.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the integration was last updated.

InternalServerException

Description

An unexpected error occurred on the server. Try the request again.

Members
message
Required: Yes
Type: string

Error description.

IssueArtifactBody

Description

The projected body of an artifact. The active member is selected by the artifact's artifactType, and for a type that carries more than one payload kind by the stored content's own discriminator; raw carries content for types with no defined shape yet and for content that did not match its shape.

Members
patch
Type: PatchBody structure

Projected PATCH content: the remediation patch for one repository, with the descriptors needed to verify and apply it and the state of its delivery to the customer's own bucket or repository.

Every PATCH projects here. The descriptors come from members Control Plane computes or owns when it stores the patch, not from producer metadata, so this member is the whole PATCH contract and metadata is omitted for it.

prevalidationSignals
Type: PrevalidationSignalsBody structure

Projected EVIDENCE content whose stored envelope declares artifact_kind: prevalidation_signals — the severity signals prioritization uses.

One artifactType can select different members here: EVIDENCE also carries the prioritization markdown narrative, which is not JSON and so returns through raw. The member is therefore chosen by artifactType AND, for a type that carries more than one payload kind, the content's own discriminator.

raw
Type: string

The producer's content verbatim, for an artifactType with no defined shape or content that failed to parse against its shape.

remediationProposal
Type: RemediationProposalBody structure

Projected REMEDIATION_PROPOSAL content: a patch the remediation agent produced, with the descriptors needed to apply and verify it.

REMEDIATION_PROPOSAL content that does not match this shape is returned through raw.

validationEvidence
Type: ValidationEvidenceBody structure

Projected VALIDATION_EVIDENCE content.

IssueArtifactItem

Description

A summary of an artifact returned in list responses.

Members
artifactId
Required: Yes
Type: string

The unique identifier of the artifact.

artifactType
Required: Yes
Type: string

Semantic category of the artifact.

contentSizeBytes
Required: Yes
Type: long (int|float)

Size of the artifact content in bytes. The content itself is returned by GetCodeIssueArtifact.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the artifact was created.

mediaType
Required: Yes
Type: string

MIME type of the artifact content.

producer
Required: Yes
Type: IssueArtifactProducerSummary structure

The agent that produced the artifact.

IssueArtifactProducerSummary

Description

The agent that produced an artifact.

Members
agent
Required: Yes
Type: string

Stable producer name, such as ContinuumValidation.

IssueBudget

Description

Per-scan cap on new issues. When a scan produces more pursued findings than the cap, Continuum starts issues for the highest-ranked findings (severity, then CVSS base score) after the scan completes, and records the rest as NOT_PURSUED with notPursuedReason ISSUE_BUDGET. Like scan-produced findings not pursued because of the focus mode, those findings are retained by the service but are not returned by GetCodeFinding or ListCodeFindings. The cap applies only to findings a scan produces, never to findings submitted with CreateCodeFinding. 0 removes the cap. The cap in force when a scan starts applies to that scan; a change takes effect at the next scan.

Members
maxIssuesPerScan
Required: Yes
Type: int

Maximum new issues per scan, 1 to 1000. 0 removes the cap.

IssuePatchDelivery

Description

Customer delivery of the patches Continuum produced for an issue, summarized across the issue's PATCH artifacts when the issue is read. Each artifact keeps its own delivery.destination with the full detail; this summary lets a caller see a failed delivery without listing artifacts.

Members
failedCount
Required: Yes
Type: int

Number of those patches whose delivery failed or exhausted its retries.

failureReasons
Type: Array of strings

Distinct reasons of the failed deliveries, in ascending order. Present only when failedCount is greater than zero.

patchCount
Required: Yes
Type: int

Number of the issue's patches that have a destination delivery.

skippedReasons
Type: Array of strings

Distinct modeled reasons of the skipped deliveries, in ascending order. Absent when no skipped delivery has a reason.

status
Required: Yes
Type: string

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.

succeededCount
Required: Yes
Type: int

Number of those patches delivered to their destination.

IssueSummary

Description

A summary of an issue returned in list responses.

Members
confidence
Type: int

The likelihood that this issue is a true positive, expressed as a percentage (0-100).

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the issue was created.

issueArn
Required: Yes
Type: string

The ARN of the issue.

issueId
Required: Yes
Type: string

The unique identifier of the issue.

name
Required: Yes
Type: string

The name of the issue.

phase
Type: 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.

severity
Type: string

Scanner-derived severity assigned to the issue.

status
Required: Yes
Type: string

The current lifecycle status of the issue.

statusMessage
Type: string

Customer-facing explanation of statusReason. Present only when status is FAILED.

statusReason
Type: string

Why the issue failed. Present only when status is FAILED.

statusUpdatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the status or phase last changed.

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

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.

KubernetesClusterRoleConfiguration

Description

Complete configuration for the IAM role Continuum assumes to collect Kubernetes cluster metadata.

Members
externalId
Type: string

Optional external ID Continuum supplies when assuming roleArn. This must match the role trust policy when configured and does not replace the caller's iam:PassRole permission.

roleArn
Required: Yes
Type: string

IAM role the authenticated caller passes to Continuum.

KubernetesClusterRoleUpdate

Description

One complete mutation of the Collector's Kubernetes IAM role configuration.

Members
remove
Type: RemoveKubernetesClusterRole structure

Remove the configured role and external ID.

set

Replace the complete role configuration.

ManagedPolicySummary

Description

Metadata for a read-only policy managed by an AWS service.

Members
arn
Required: Yes
Type: string

The ARN of the service-managed policy.

id
Required: Yes
Type: string

The ID of the service-managed policy.

managedBy
Required: Yes
Type: string

The AWS service that manages the policy, as a service principal.

name
Required: Yes
Type: string

The display name of the policy.

policyType
Required: Yes
Type: string

Identifies this entry as a service-managed policy.

MandatoryBaselineEvidence

Description

Evidence that the service-managed malicious-package baseline matched the package.

Members
baselineArn
Required: Yes
Type: string

The ARN of the service-managed policy that matched.

vulnerabilityIds
Type: Array of strings

The vulnerability IDs that Amazon Inspector associated with the package at evaluation time, returned unchanged. The list doesn't say which ID caused the malicious verdict. Pass any of them to GetVulnerability.

PackageDecisionSummary

Description

A package decision returned by ListPackageDecisions.

Members
canonicalPurl
Required: Yes
Type: string

The package URL (purl) that was evaluated, as accepted by the service.

completedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the decision was recorded.

decisionId
Required: Yes
Type: string

The ID of the decision.

enforcementAction
Required: Yes
Type: string

The action the caller was told to take. It differs from evaluatedAction only when enforcementMode is AUDIT.

enforcementMode
Required: Yes
Type: string

The strongest enforcement mode among matches that a policy exception didn't suppress: ENFORCE for the malicious-package baseline or an enforced rule, AUDIT for an audit-mode rule. NONE when there is no such match, including when policy exceptions suppressed every match.

evaluatedAction
Required: Yes
Type: string

The result of policy evaluation: DENY when the malicious-package baseline or a deny rule matched and no policy exception suppressed it, otherwise ALLOW.

evaluatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the package was evaluated. Policy exceptions are applied based on this time.

reason
Required: Yes
Type: string

Why the decision was made.

PackageIdentity

Description

Identifies a package or a set of versions of a package. The ecosystem and name are required; the version members narrow the match when present. Omitting both version members matches every version.

Members
ecosystem
Required: Yes
Type: string

The package ecosystem, such as npm or pypi.

name
Required: Yes
Type: string

The package name, as used in its ecosystem.

version
Type: string

Exact version. Mutually exclusive with versionRange, validated server-side.

versionRange
Type: string

A version range as one or more comparisons separated by commas, such as >=1.0, <2.0. Each comparison is =, >, >=, <, or <= followed by a version in the ecosystem's own format. Ecosystem shorthands such as ^1.0 or ~=1.2 aren't accepted. Mutually exclusive with version.

PatchBody

Description

Projected content for a PATCH artifact: the remediation patch for one repository, with the descriptors needed to verify and apply it and the state of its delivery to the customer's own bucket or repository.

Members
delivery
Type: PatchDelivery structure

Delivery of the patch to the customer's bucket or repository. Absent when the artifact has no delivery destination.

format
Type: string

The patch's wire format, read from the patch itself, which determines how to apply it. Absent when the patch starts with neither a git mailbox header nor a diff --git header.

patch
Required: Yes
Type: string

The patch exactly as stored, unmodified. Control Plane accepted it only as a text unified diff, so git apply applies it.

patchSha256
Required: Yes
Type: string

SHA-256 of the patch's UTF-8 bytes in lowercase hex, computed by Control Plane when it stored the patch.

Lets a caller confirm the patch it applies is byte-for-byte the one that was reviewed. Computed over the patch bytes, so it is verifiable against patch without trusting this value.

repositoryName
Type: string

The repository the patch applies to, as named in the source snapshot it was generated against.

sizeBytes
Required: Yes
Type: long (int|float)

Size of the patch in UTF-8 bytes, the unit the digest is computed over.

PatchDelivery

Description

Delivery of a patch to a destination the customer owns: an object in the environment's source bucket or a pull request in the source repository.

Members
changeRequest
Type: DeliveredChangeRequest structure

The pull request (GitHub) or merge request (GitLab) this patch was delivered as, as Continuum last read it from the provider. Absent until Continuum first reads it, and for deliveries that are not a pull or merge request.

status
Required: Yes
Type: string

How far delivery to the destination has progressed.

target
Type: DestinationTarget structure

Where the patch was or will be delivered. Absent while the destination is still being resolved, or when delivery was skipped before a destination was known.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

When the delivery status last changed.

PerFindingResult

Description

Validation's result for one finding within a multi-finding bundle.

Members
confidence
Type: double

Confidence in this finding's verdict. Absent when out of range.

exploitArtifact
Type: ValidationExploitArtifact structure

Exploit artifact produced for this finding, when there was one.

exploitable
Required: Yes
Type: string

Exploitability verdict for this finding.

findingId
Required: Yes
Type: string

The finding assessed.

flowVerdicts
Type: Array of FlowVerdict structures

Per-flow verdicts recorded for this finding.

reasoningChain
Type: Array of ReasoningStep structures

Reasoning chain recorded for this finding.

PolicyExceptionEvidence

Description

Evidence that a policy exception applied to the decision.

Members
exceptionArn
Required: Yes
Type: string

The ARN of the policy exception.

policyArn
Required: Yes
Type: string

The ARN of the policy that the exception applies to.

ruleIds
Required: Yes
Type: Array of strings

The IDs of the rules that the exception suppressed.

PolicyExceptionSummary

Description

Metadata returned by ListSupplyChainPolicyExceptions. Use GetSupplyChainPolicyException to retrieve package scope and justification.

Members
arn
Required: Yes
Type: string

The ARN of the policy exception.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the policy exception was created.

expiresAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the policy exception expires.

id
Required: Yes
Type: string

The ID of the policy exception.

name
Required: Yes
Type: string

The display name of the policy exception.

policyArn
Required: Yes
Type: string

The ARN of the policy that the exception applies to.

ruleIds
Required: Yes
Type: Array of strings

The IDs of the rules that the exception suppresses.

status
Required: Yes
Type: string

Computed from expiresAt at read time.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the policy exception was last updated.

PolicyListEntry

Description

One customer-owned or service-managed policy returned by the list operation.

Members
managedPolicy
Type: ManagedPolicySummary structure

A service-managed policy.

policy
Type: PolicySummary structure

A customer-managed policy.

PolicyRuleMatchEvidence

Description

Evidence that a rule in one of your policies matched the package.

Members
enforcementMode
Required: Yes
Type: string

The enforcement mode of the rule.

policyArn
Required: Yes
Type: string

The ARN of the policy.

ruleId
Required: Yes
Type: string

The ID of the rule that matched.

PolicySummary

Description

Metadata returned by ListSupplyChainPolicies. Use GetSupplyChainPolicy to retrieve rules and description.

Members
arn
Required: Yes
Type: string

The ARN of the policy.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the policy was created.

id
Required: Yes
Type: string

The ID of the policy.

name
Required: Yes
Type: string

The display name of the policy.

policyType
Required: Yes
Type: string

Identifies this entry as a customer-managed policy.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the policy was last updated.

PrevalidationSignal

Description

One producer's conclusion about one subject on one scoring dimension.

Members
computed
Type: SignalComputation structure

The deterministic values the producer computed from its assessment.

conclusion
Type: string

The producer's conclusion.

confidence
Type: double

The producer's confidence in this conclusion, on its native 0-1 scale. Absent when the stored value falls outside 0-1.

confidenceReasoning
Type: SignalConfidenceReasoning structure

Why the producer is or is not sure, kept structured rather than prose.

dimension
Type: string

The axis this signal speaks to. Absent when the producer reported a dimension with no mapping yet.

exploitability
Type: SignalExploitability structure

What validation established about exploitability, on an exploitability signal. This summarizes the verdict the signal was derived from; the proof itself is the VALIDATION_EVIDENCE artifact it cites.

impactDimensions
Type: SignalImpactDimensions structure

The three impact dimensions an impact signal assessed, each with the basis the producer had for it. These are what the computed impact band is derived from.

preconditions
Type: SignalPreconditions structure

The four exploit preconditions a likelihood signal assessed, each with the basis the producer had for it.

producerId
Type: string

Stable name of the producer that emitted this signal.

producerVersion
Type: string

Version of that producer.

signalStrength
Type: string

The signal's own rating. This is an input to scoring and is NOT the finding's severity.

subjectRef
Type: string

What this signal is about, such as a finding or issue reference.

PrevalidationSignalsBody

Description

Projected content for an EVIDENCE artifact carrying prioritization's prevalidation signals.

Members
producedBy
Type: string

The agent that produced this signal set.

signals
Type: Array of PrevalidationSignal structures

The signals backing the Issue's proposed severity.

ProviderConfiguration

Description

Provider-specific configuration for a Continuum integration. Exactly one member is set.

Members
github
Type: GitHubConfiguration structure

Configuration for a GitHub.com integration.

gitlab
Type: GitLabConfiguration structure

Configuration for a GitLab integration.

s3
Type: S3Configuration structure

Configuration for a customer-managed S3 integration.

ProviderDetails

Description

Provider-specific details for an integration. Exactly one member is present.

Members
github
Type: GitHubDetails structure

Details for a GitHub.com integration.

gitlab
Type: GitLabDetails structure

Details for a GitLab integration.

s3
Type: S3Details structure

Public details for a customer-managed S3 integration.

ReasoningStep

Description

One step in the validation agent's reasoning chain.

Members
claim
Required: Yes
Type: string

The claim or conclusion reached at this step.

confidence
Type: double

Confidence in this individual claim, on the producer's native 0-1 scale.

source
Required: Yes
Type: string

Citation supporting the claim.

step
Required: Yes
Type: int

Position of this step in the chain.

RemediationProposalBody

Description

Projected content for a REMEDIATION_PROPOSAL artifact: the patch the remediation agent produced, with the descriptors needed to apply and verify it.

Members
filename
Type: string

Filename the producer suggests for the patch, when it named one.

format
Type: string

The patch's wire format, which determines how to apply it. Absent when the producer recorded a format with no mapping yet.

patch
Required: Yes
Type: string

The patch exactly as the remediation agent produced it, unmodified.

patchSha256
Type: string

SHA-256 of the patch bytes in lowercase hex, as recorded by the producer.

Lets a caller confirm the patch it applies is byte-for-byte the one that was reviewed. Computed over the patch bytes, so it is verifiable against patch without trusting this value.

RemoveKubernetesClusterRole

Description

Empty marker selecting removal in KubernetesClusterRoleUpdate.

Members

ResourceNotFoundException

Description

The resource you requested doesn't exist. Check the identifier and try again.

Members
message
Required: Yes
Type: string

Error description.

Rule

Description

A single deny rule. The rule matches a package when all of its conditions are true. When several rules match, the strongest enforcement mode wins.

Members
denyWhen
Required: Yes
Type: DenyWhen structure

The conditions that must all be true for the rule to match.

enforcementMode
Required: Yes
Type: string

What happens when the rule matches. ENFORCE denies the package. AUDIT records the match and allows the package.

ruleId
Required: Yes
Type: string

The identifier of the rule, unique within the policy. Policy exceptions and decision evidence refer to rules by this ID.

S3Configuration

Description

Configuration for a customer-managed S3 integration.

Members
bucket
Required: Yes
Type: string

Customer-managed source bucket name.

externalId
Required: Yes
Type: string

Caller-provided external ID required by the role's trust policy. Sensitive; never returned on read operations.

roleArn
Required: Yes
Type: string

IAM role Continuum assumes to read from the source bucket.

S3Details

Description

Public details for a customer-managed S3 integration. The sensitive external ID is omitted.

Members
bucket
Required: Yes
Type: string

Customer-managed S3 bucket name.

roleArn
Required: Yes
Type: string

IAM role Continuum assumes to read from a customer-managed S3 bucket.

S3Target

Description

The S3 object a patch is delivered to.

Members
bucket
Required: Yes
Type: string

Customer-managed S3 bucket name.

key
Required: Yes
Type: string

The object key of the delivered patch.

version
Type: string

The S3 version ID of the delivered object, when the bucket is versioned.

ServiceQuotaExceededException

Description

The request would exceed a service quota. Request a quota increase or reduce your usage, then try again.

Members
message
Required: Yes
Type: string

Error description.

quotaCode
Type: string

Code identifying the quota that would be exceeded.

serviceCode
Type: string

Code identifying the service that owns the quota.

SignalAccessPrecondition

Description

The assessed access-level precondition with the basis behind it.

Members
basis
Type: string

Where the producer's determination came from.

missingInfo
Type: string

What the producer could not determine, when anything was missing.

reason
Type: string

The producer's explanation.

value
Type: string

The level of access exploitation requires. Absent when the producer reported a level with no mapping yet.

SignalAttackerGainsDimension

Description

The assessed attacker-gains dimension with the basis behind it.

Members
basis
Type: string

Where the producer's determination came from.

missingInfo
Type: string

What the producer could not determine, when anything was missing.

reason
Type: string

The producer's explanation.

value
Type: string

The capability exploitation grants. Absent when the producer reported a value with no mapping yet.

SignalBlastRadiusDimension

Description

The assessed blast-radius dimension with the basis behind it.

Members
basis
Type: string

Where the producer's determination came from.

missingInfo
Type: string

What the producer could not determine, when anything was missing.

reason
Type: string

The producer's explanation.

value
Type: string

How far the consequences reach. Absent when the producer reported a value with no mapping yet.

SignalComputation

Description

Deterministic values the producer computed from its assessment, as distinct from the assessment itself.

Members
barriers
Type: int

How many of the four exploit preconditions act as barriers (0-4).

impactBand
Type: string

Computed impact band, on an impact signal.

likelihoodBand
Type: string

Computed likelihood band, on a likelihood signal.

SignalConfidenceReasoning

Description

A producer's structured rationale for a signal's confidence.

Members
factors
Type: Array of strings

The individual factors behind it.

summary
Required: Yes
Type: string

One-line rationale.

SignalExploitability

Description

What validation established about exploitability, as summarized onto the scoring signal derived from it.

Members
confidenceTier
Type: string

How strong the evidence behind the verdict is.

highestLayerReached
Type: int

The highest impact layer validation reached, 1-5, as a measure of how far the attack path was walked.

reachedCrownJewels
Type: boolean

Whether validation reached the high-value sink the attack path posited.

A Boolean rather than an enum: the sink was either reached or it was not, and how far the walk got when it was not is already carried, with more precision, by highestLayerReached. An unknown is the absent member.

scriptable
Type: boolean

Whether the proven exploit is automatable rather than one-off.

A Boolean for the same reason as SignalPrecondition.value: validation records a bool, and an unknown is the absent member.

sourceValidationArtifactId
Type: string

The VALIDATION_EVIDENCE artifact on this same issue holding the proof this verdict summarizes. Fetch it with GetCodeIssueArtifact for the full reasoning chain and exploit artifact.

verdict
Type: string

Validation's verdict. UNCERTAIN covers a run that was inconclusive — out of budget, an ambiguous failure, or no decisive layer reached — and is never a refutation.

SignalImpactDimensions

Description

The three impact dimensions an impact signal assessed. The computed impact band is derived from attackerGains and blastRadius, then shifted by targetValue.

Members
attackerGains

What the attacker gains from exploitation.

blastRadius
Type: SignalBlastRadiusDimension structure

How far the consequences reach.

targetValue
Type: SignalTargetValueDimension structure

How valuable the target is, which can shift the band off its base value.

SignalPrecondition

Description

One assessed precondition with the basis behind it.

Members
basis
Type: string

Where the producer's determination came from.

missingInfo
Type: string

What the producer could not determine, when anything was missing.

reason
Type: string

The producer's explanation.

value
Type: boolean

The producer's determination.

A Boolean rather than an enum, against the Common Terms preference for enums on extensibility grounds. The question each precondition answers is closed — is the code reachable, is configuration required, must a user other than the attacker interact — and the only third state, "not determined", is already expressed by omitting this member, which the projection does whenever the stored value is not a bool. An enum would give two ways to say the same thing, while basis and missingInfo already qualify how firm the answer is.

SignalPreconditions

Description

The four preconditions a likelihood signal assessed.

Members
accessLevel
Type: SignalAccessPrecondition structure

What level of access exploitation requires.

configurationNeeded
Type: SignalPrecondition structure

Whether exploitation depends on a non-default configuration.

reachableFromAttacker
Type: SignalPrecondition structure

Whether the vulnerable code path is reachable by an attacker.

userInteractionRequired
Type: SignalPrecondition structure

Whether exploitation requires a user other than the attacker to take part, for example by opening a link or a file (CVSS User Interaction).

SignalTargetValueDimension

Description

The assessed target-value dimension with the basis behind it.

Members
basis
Type: string

Where the producer's determination came from.

missingInfo
Type: string

What the producer could not determine, when anything was missing.

reason
Type: string

The producer's explanation.

value
Type: string

How valuable the target is. Absent when the producer reported a value with no mapping yet.

SupplyChainPolicy

Description

A deny-only policy owned by one account in one Region. A policy holds up to five rules, and each rule is evaluated on its own. A package is denied when an ENFORCE rule matches it and no active policy exception suppresses that rule.

Members
description
Type: string

A description of the policy.

name
Required: Yes
Type: string

The display name of the policy.

rules
Required: Yes
Type: Array of Rule structures

The deny rules of the policy, from 1 to 5.

SupplyChainPolicyException

Description

Temporarily suppresses specific rules of exactly one referenced customer or service-managed policy. An exception never produces an allow decision.

Members
expiresAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Must be in the future and no later than 365 days after the exception was originally created.

justification
Required: Yes
Type: string

Why the exception is needed.

name
Required: Yes
Type: string

Customer-chosen display name.

package
Required: Yes
Type: PackageIdentity structure

The package that the exception applies to. Rules are suppressed only for packages that match this identity.

policyArn
Required: Yes
Type: string

The ARN of the policy that the exception applies to, either a customer-managed or a service-managed policy in the same account and Region.

ruleIds
Required: Yes
Type: Array of strings

The IDs of the rules in that policy to suppress.

ThrottlingException

Description

The request was denied due to request throttling.

Members
message
Required: Yes
Type: string

Description of the throttling error.

UpdateCodeConfiguration

Description

Mutable source and operating-policy settings for a code environment.

Members
environmentConfiguration
Type: EnvironmentConfiguration structure

Operating-policy changes. network replaces the environment's network policy; a network without allowedDomains allows no domains. Builds accepted before the change keep the domains they were accepted with. patchCreationPolicy replaces the patch creation policy. scanFrequency updates scan cadence. focusMode replaces the focus mode and applies only to findings created after the change; findings created before it are unaffected. Omitted members preserve their stored values.

sourceConfiguration

Source changes. s3Sources replaces the environment's S3 source, and repositorySources replaces its repository selections.

UpdateEnvironmentConfiguration

Description

Type-specific changes to an environment. Omitted members preserve stored values.

Members
codeConfiguration
Type: UpdateCodeConfiguration structure

Changes to a code-scanning environment.

UpdateProviderConfiguration

Description

Provider-specific changes for updating a Continuum integration. Only S3 is supported.

Members
s3
Type: UpdateS3Configuration structure

Replacement credentials for a customer-managed S3 integration.

UpdateS3Configuration

Description

Replacement credentials for a customer-managed S3 integration. The bucket cannot be changed.

Members
externalId
Type: string

If omitted, the existing external ID is preserved. Sensitive; never included on read.

roleArn
Required: Yes
Type: string

Role to use. Supply the current role when rotating only the external ID.

ValidationEvidenceBody

Description

Projected content for a VALIDATION_EVIDENCE artifact: the validation agent's durable proof of exploitability.

Members
attackFlowsConfirmed
Type: Array of strings

Identifiers of attack flows upgraded to Confirmed provenance.

executedProof
Type: ValidationExecutedProof structure

Proof the agent produced by executing code against the repository under test, with the output that execution produced.

exploitArtifact
Type: ValidationExploitArtifact structure

Concrete payload and its observed effect, when validation produced one by sending an HTTP request.

Only an HTTP proof projects here. A validation agent that proves exploitability by RUNNING code against the repository projects executedProof, and one that proves it by reading the source projects sourceAnalysis. All three are mutually exclusive: at most one is present.

exploitable
Required: Yes
Type: string

Exploitability verdict. Explicit UNCERTAIN replaces the producer's tri-state exploitable: true | false | null, so an absent verdict is never confused with a negative one.

flowVerdicts
Type: Array of FlowVerdict structures

One verdict per attack flow assessed in the bundle.

perFindingResults
Type: Array of PerFindingResult structures

Per-finding breakdown for a multi-finding bundle. Absent for a single-finding bundle.

sourceAnalysis
Type: ValidationSourceAnalysis structure

Proof the agent produced by reading the repository's source, with nothing built or run.

terminalStatus
Type: string

How the validation run ended. Absent when the producer reported a status with no mapping yet: the rest of the body still projects, so one unmapped enum never costs a customer the whole artifact.

ValidationException

Description

The request isn't valid. Check the request parameters and try again.

Members
fieldList
Type: Array of ValidationExceptionField structures

The fields that failed validation, if the failure is about specific fields.

message
Required: Yes
Type: string

Error description.

ValidationExceptionField

Description

A field that failed validation.

Members
message
Required: Yes
Type: string

Why the field failed validation.

path
Required: Yes
Type: string

The path to the field that failed validation.

ValidationExecutedProof

Description

Proof of exploitability the validation agent produced by executing code against the repository under test, with the output that execution produced.

Members
code
Required: Yes
Type: ValidationProofCode structure

The code that was run. Not a request payload: it imports the repository's own modules and drives the vulnerable code path directly.

observedEffect
Type: string

Effect the execution actually produced. observedEffect rather than effect: this one was witnessed, and the name has to stay distinguishable from ValidationSourceAnalysis.inferredEffect, which was not.

output
Type: ValidationProofOutput structure

What the execution printed, including the agent's own PASS/FAIL assertions. Absent when the run printed nothing retained.

resultMaterials
Type: Array of ValidationProofResultMaterial structures

Runtime before/after states of paths declared before the gate. Empty means none declared. Absent: result materials were not recorded.

setting
Type: ValidationProofSetting structure

Agent-declared real boundary, conditions and substitutions. Absent: not recorded.

ValidationExploitArtifact

Description

A concrete exploit payload and the effect validation observed from it.

Members
effect
Required: Yes
Type: string

Effect observed from sending the payload.

headers
Type: Associative array of custom strings keys (ArtifactCitation) to strings

Headers sent with the payload.

httpMethod
Required: Yes
Type: string

HTTP method the payload was sent with.

payload
Required: Yes
Type: string

The exact payload sent.

responseSnippet
Type: string

Leading portion of the response body, bounded by the producer.

responseStatus
Type: int

HTTP status observed in the response.

targetUrl
Required: Yes
Type: string

Target the payload was sent to.

ValidationProofCode

Description

The whole declared harness and its invocation. Declaration completeness is not guaranteed.

Members
command
Type: string

Exact command the existing gate ran. Absent: invocation was not recorded.

proofCode
Required: Yes
Type: Array of ValidationProofMaterial structures

Runtime pre-gate text of declared program files, helpers, payloads, fixtures and configuration, in declaration order with the main file first when retained. Zero-byte helpers are skipped; whitespace-only nonempty files are retained. Legacy content has one unnamed payload entry. Command present and no entry having a path means command-only: one actual command entry.

workingDirectory
Type: string

Repository-relative gate directory; a single dot means root. Absent: not recorded.

ValidationProofMaterial

Description

One proof program file. Further members, such as path and purpose, can be added later as optional details.

Members
content
Required: Yes
Type: string

Pre-gate file text, including whitespace-only files, or the actual command for command-only.

path
Type: string

Where the file lived, relative to the validation workspace root, e.g. ".scanner/harness/ctxmod.py". Absent on command-only entries or when not recorded.

ValidationProofOutput

Description

Retained run output. Further members, such as completion and outputCompleteness, can be added later as optional details.

Members
consoleOutput
Required: Yes
Type: string

What the run printed: standard output and standard error merged, as retained. The text may be empty.

ValidationProofResultMaterial

Description

One predeclared result path, read by the runtime around the existing gate.

Members
after
Type: string

Present iff the result existed after the gate. Empty text is a real zero-byte file. CREATED and MODIFIED require it. UNCHANGED has both contents present and equal, or both absent.

before
Type: string

Present iff the result existed before the gate. Empty text is a real zero-byte file. MODIFIED and DELETED require it. UNCHANGED has both contents present and equal, or both absent.

change
Required: Yes
Type: string

Computed by comparing runtime reads, never selected by the agent.

path
Required: Yes
Type: string

Canonical workspace-relative path or sandbox /tmp/... path.

ValidationProofSetting

Description

Agent-declared boundary, prerequisites and substitutions, not verified inventory.

Members
conditions
Required: Yes
Type: Array of strings

Preconditions the agent declared. Empty means none declared.

substitutions
Required: Yes
Type: Array of strings

Mocks or substitutes the agent declared. Empty means none declared.

testBoundary
Required: Yes
Type: string

What was exercised for real. Plain text, including literal technical expressions.

ValidationSourceAnalysis

Description

Proof of exploitability the validation agent produced by reading the repository's source, with nothing built or run. Further members, such as diagram and references, can be added later as optional details.

Members
diagram
Type: string

Mermaid flowchart of the entry-to-sink path. Absent: none produced.

inferredEffect
Type: string

Effect the agent concluded WOULD occur. Deliberately not effect: nothing was executed, so this is reasoned from the source and must not be read as an observation. See ValidationExecutedProof.observedEffect.

references
Type: Array of ValidationSourceReference structures

Exact source lines cited by diagram nodes. Absent: none retained.

summary
Required: Yes
Type: string

The non-blank analysis as Markdown: the annotated entry-to-sink walk, its citations, and why the checked guards are absent or bypassed.

ValidationSourceReference

Description

Source lines retained by the runtime, apart from secret redaction.

Members
endLine
Type: int

Last line, inclusive. Absent means one line.

excerpt
Required: Yes
Type: string

Exact source text read by the runtime, apart from secret redaction.

nodeId
Required: Yes
Type: string

The diagram node supported by these lines.

path
Required: Yes
Type: string

File relative to the validation workspace root.

startLine
Required: Yes
Type: int

First line, one-based and inclusive.