---
title: "UpdateScanWorkflowResult"
method: PATCH
path: "/v1/namespaces/{object.tenant_meta.namespace}/scan-workflow-results"
tags: ["ScanWorkflowResultService"]
---

# UpdateScanWorkflowResult

`PATCH /v1/namespaces/{object.tenant_meta.namespace}/scan-workflow-results`

Updates the specified scan workflow result with the information in the request body.

## Path parameters

- `object.tenant_meta.namespace` string, required

## Request body

- ScanWorkflowResultServiceUpdateScanWorkflowResultBody — Request used to update a scan workflow result.
  - `object` object — ScanWorkflowResult corresponds to a workflow scan result.
    - `context` V1Context — Contexts keep objects from different scans separated.
      - `id` string, required — The context ID, such as a pull request ID or branch reference.
      - `tags` string[] — A list of tags applied to a context. Used primarily for CI and SBOM contexts.
      - `type` 'CONTEXT_TYPE_UNSPECIFIED' | 'CONTEXT_TYPE_MAIN' | 'CONTEXT_TYPE_EXTERNAL' | 'CONTEXT_TYPE_CI_RUN' | 'CONTEXT_TYPE_SBOM' | 'CONTEXT_TYPE_REF', required — - CONTEXT_TYPE_MAIN: Objects from a scan of the default branch. All objects in the oss namespace are in the main context. The context id is always "default". - CONTEXT_TYPE_EXTERNAL: Indicates that this object is a copy/temporary value of an object in another project. Used for same-tenant dependencies. In source code reference this is equivalent to "vendor" folders. Package versions in the external context are only scanned for call graphs. No other operations are performed on them. - CONTEXT_TYPE_CI_RUN: Objects from a PR scan. The context id is the PR UUID. Objects in this context are deleted after 30 days. - CONTEXT_TYPE_SBOM: Objects from an SBOM scan. The context id is the SBOM serial number or some other unique identifier. - CONTEXT_TYPE_REF: Objects from a scan of a specific branch. The context id is the branch reference name.
      - `will_be_deleted_at` string, date-time — Time that all objects in this context will be deleted. This field is deprecated and will be removed in the future. Please use the meta.will_be_deleted_at field instead.
    - `meta` V1Meta — Common fields for all Endor Labs resources.
      - `annotations` object — Annotations can be used to attach metadata to a resource message. Annotation values can be small or large, structured or unstructured, and may include characters not permitted by labels. The keys may contain alphanumerics, underscores (_), dots (.) and dashes (-). The values of an annotation must be 16384 bytes or smaller.
      - `create_time` string, date-time — Time the resource was created. Format: 2017-01-15T01:30:15.01Z RFC 3339: https://www.ietf.org/rfc/rfc3339.txt.
      - `created_by` string — Name and authentication source of the user who created the object, for example, ewok@endor.ai@google@api-key.
      - `description` string — Resource description. Must be less than 1024 bytes.
      - `index_data` V1IndexData — IndexData is used to index the resource for search. It's an internal object.
        - `data` string[]
        - `search_score` number, float — search_score is the score of the resource for search. Internal use only.
        - `tenant` string
        - `will_be_deleted_at` string, date-time — Time that the resource will be deleted.
      - `kind` string — Resource kind, for example, HelloResponse. Auto-generated using the protobuf message proto.MessageName().Name().
      - `name` string, required — Resource name. Must be 63 characters or less.
      - `parent_kind` string — Parent object resource kind, for example, Project.
      - `parent_uuid` string — Parent object UUID.
      - `references` object — Map of objects referenced in a query API.
      - `tags` string[] — List of tags attached to the resource. Tags can be used to select objects and to find collections of objects that satisfy certain conditions. A tag must be 255 characters or less.
      - `update_time` string, date-time — Time the resource was last updated. Note: Updated on all create/patch/delete operations. Format: 2017-01-15T01:30:15.01Z RFC 3339: https://www.ietf.org/rfc/rfc3339.txt.
      - `updated_by` string — Name and authentication source of the last user who updated the object, for example, vulnerabilityingestor@endor.ai@x509.
      - `upsert_time` string, date-time — Time the resource was last upserted. Note: create_time is only set the first time the resource is created. upsert_time is set every time the resource is upseted. Format: 2017-01-15T01:30:15.01Z RFC 3339: https://www.ietf.org/rfc/rfc3339.txt.
      - `version` string — Message version.
    - `spec` V1ScanWorkflowResultSpec
      - `end_time` string, date-time — Time the scan ended.
      - `execution_id` string — The execution ID for all scans.
      - `start_time` string, date-time — Time the scan started.
      - `stats` object — Map of stats such as how many issues were ingested during the scan.
      - `status` 'STATUS_UNSPECIFIED' | 'STATUS_SUCCESS' | 'STATUS_PARTIAL_SUCCESS' | 'STATUS_FAILURE' | 'STATUS_RUNNING', required — Success state.
      - `versions` V1Version[] — Version information for each ref.
        - `metadata` object — Version metadata.
        - `ref` string, required — Resolved ref of the source control version. Can be a tag, a branch or a SHA.
        - `sha` string — SHA of the source control version. Because the SHA might not be possible to resolved this field is optional.
      - `workflow_results` SpecWorkflowResult[] — The workflow step results.
        - `error` WorkflowResultWorkflowResultError
          - `code` 'ENDORCTL_RC_UNSPECIFIED' | 'ENDORCTL_RC_SUCCESS' | 'ENDORCTL_RC_ERROR' | 'ENDORCTL_RC_INVALID_ARGS' | 'ENDORCTL_RC_ENDOR_AUTH_FAILURE' | 'ENDORCTL_RC_DOCTOR_FAILURE' | 'ENDORCTL_RC_GITHUB_AUTH_FAILURE' | 'ENDORCTL_RC_ANALYTICS_ERROR' | 'ENDORCTL_RC_FINDINGS_ERROR' | 'ENDORCTL_RC_NOTIFICATIONS_ERROR' | 'ENDORCTL_RC_GITHUB_API_ERROR' | 'ENDORCTL_RC_GITHUB_PERMISSIONS_ERROR' | 'ENDORCTL_RC_GIT_ERROR' | 'ENDORCTL_RC_DEPENDENCY_RESOLUTION_ERROR' | 'ENDORCTL_RC_DEPENDENCY_SCANNING_ERROR' | 'ENDORCTL_RC_CALL_GRAPH_ERROR' | 'ENDORCTL_RC_LINTER_ERROR' | 'ENDORCTL_RC_BAD_POLICY_TYPE' | 'ENDORCTL_RC_POLICY_ERROR' | 'ENDORCTL_RC_INTERNAL_ERROR' | 'ENDORCTL_RC_DEADLINE_EXCEEDED' | 'ENDORCTL_RC_NOT_FOUND' | 'ENDORCTL_RC_ALREADY_EXISTS' | 'ENDORCTL_RC_UNAUTHENTICATED' | 'ENDORCTL_RC_VULN_ERROR' | 'ENDORCTL_RC_INITIALIZATION_ERROR' | 'ENDORCTL_RC_HOST_CHECK_FAILURE' | 'ENDORCTL_RC_SBOM_IMPORT_ERROR' | 'ENDORCTL_RC_PRE_COMMIT_CHECK_FAILURE' | 'ENDORCTL_RC_GH_ACTION_WORKFLOW_SCAN_FAILURE' | 'ENDORCTL_RC_FILE_ANALYTICS_ERROR' | 'ENDORCTL_RC_SIGNATURE_VERIFICATION_FAILURE' | 'ENDORCTL_RC_LICENSE_ERROR' | 'ENDORCTL_RC_HUGGING_FACE_ERROR' | 'ENDORCTL_RC_SAST_ERROR' | 'ENDORCTL_RC_ARTIFACT_OPERATION_FAILURE' | 'ENDORCTL_RC_SEGMENTATION_ERROR' | 'ENDORCTL_RC_TOOLCHAIN_ERROR' | 'ENDORCTL_RC_SANDBOX_ERROR' | 'ENDORCTL_RC_RULE_SET_ERROR' | 'ENDORCTL_RC_SECURITY_REVIEW_ERROR' | 'ENDORCTL_RC_CODE_API_ERROR' | 'ENDORCTL_RC_BASELINE_NOT_FOUND' | 'ENDORCTL_RC_SCAN_CANCELLED' | 'ENDORCTL_RC_POLICY_VIOLATION' | 'ENDORCTL_RC_POLICY_WARNING' | 'ENDORCTL_RC_PR_SECURITY_REVIEW_ERROR' | 'ENDORCTL_RC_EXPORTER_WARNING' | 'ENDORCTL_RC_CONTAINER_PROFILING_WARNING' | 'ENDORCTL_RC_DEPENDENCY_SETUP_WARNING' — Endorctl return codes. - ENDORCTL_RC_SUCCESS: Success (translates to exit code 0). - ENDORCTL_RC_ERROR: Unspecified error. - ENDORCTL_RC_INVALID_ARGS: Invalid input. - ENDORCTL_RC_ENDOR_AUTH_FAILURE: Endor API authentication failure. - ENDORCTL_RC_DOCTOR_FAILURE: Endor host-check failure. - ENDORCTL_RC_GITHUB_AUTH_FAILURE: GitHub authentication failure. - ENDORCTL_RC_ANALYTICS_ERROR: Error running analytics. - ENDORCTL_RC_FINDINGS_ERROR: Error generating findings. - ENDORCTL_RC_NOTIFICATIONS_ERROR: Error generating notifications. - ENDORCTL_RC_GITHUB_API_ERROR: Error calling GitHub API. - ENDORCTL_RC_GITHUB_PERMISSIONS_ERROR: Insufficient GitHub token permissions. - ENDORCTL_RC_GIT_ERROR: Error while performing a Git operation. - ENDORCTL_RC_DEPENDENCY_RESOLUTION_ERROR: Error during dependency resolution. - ENDORCTL_RC_DEPENDENCY_SCANNING_ERROR: Error during dependency scanning. - ENDORCTL_RC_CALL_GRAPH_ERROR: Error while generating call graphs. - ENDORCTL_RC_LINTER_ERROR: Error while running the linter scanner. - ENDORCTL_RC_BAD_POLICY_TYPE: A user defined policy has a policy type reserved for system policies. - ENDORCTL_RC_POLICY_ERROR: Error evaluating one or more policies. - ENDORCTL_RC_INTERNAL_ERROR: Internal error while running endorctl. - ENDORCTL_RC_DEADLINE_EXCEEDED: Deadline exceeded while running endorctl. - ENDORCTL_RC_NOT_FOUND: Requested entity was not found. - ENDORCTL_RC_ALREADY_EXISTS: Attempt to create an entity failed because it already exists. - ENDORCTL_RC_UNAUTHENTICATED: Unable to authenticate request. - ENDORCTL_RC_VULN_ERROR: Error related to vulnerability ingestion and processing. - ENDORCTL_RC_INITIALIZATION_ERROR: Error related to initializing the repository. - ENDORCTL_RC_HOST_CHECK_FAILURE: Endor host-check failure. - ENDORCTL_RC_SBOM_IMPORT_ERROR: Error importing an sbom. - ENDORCTL_RC_PRE_COMMIT_CHECK_FAILURE: A pre-commit check failed. - ENDORCTL_RC_GH_ACTION_WORKFLOW_SCAN_FAILURE: GitHub action workflow scan failed. - ENDORCTL_RC_FILE_ANALYTICS_ERROR: Error while reading files for analytics processing. - ENDORCTL_RC_SIGNATURE_VERIFICATION_FAILURE: Signature verification failure. - ENDORCTL_RC_LICENSE_ERROR: The requested operation requires additional licensing. - ENDORCTL_RC_HUGGING_FACE_ERROR: Error while running the huggingface scanner. - ENDORCTL_RC_SAST_ERROR: Error while running the SAST scanner. - ENDORCTL_RC_ARTIFACT_OPERATION_FAILURE: Artifact operation failure. - ENDORCTL_RC_SEGMENTATION_ERROR: Error during file segmentation. - ENDORCTL_RC_TOOLCHAIN_ERROR: Error generating toolchains. - ENDORCTL_RC_SANDBOX_ERROR: Error running endorctl sandbox. - ENDORCTL_RC_RULE_SET_ERROR: Error performing rule set operations. - ENDORCTL_RC_SECURITY_REVIEW_ERROR: Error while running the PR security review. - ENDORCTL_RC_CODE_API_ERROR: Error while running codeAPI. - ENDORCTL_RC_BASELINE_NOT_FOUND: Baseline is invalid or has not been scanned yet. - ENDORCTL_RC_SCAN_CANCELLED: Scan was cancelled. - ENDORCTL_RC_POLICY_VIOLATION: One or more, enforced, admission policy violations detected. - ENDORCTL_RC_POLICY_WARNING: One ore more, unenforced, admission policy violations detected. - ENDORCTL_RC_PR_SECURITY_REVIEW_ERROR: Deprecated: Use ENDORCTL_RC_SECURITY_REVIEW_ERROR instead. - ENDORCTL_RC_EXPORTER_WARNING: Warning while running the exporter. This does not prevent the main scan from completing. - ENDORCTL_RC_CONTAINER_PROFILING_WARNING: Warning while profiling a container image. - ENDORCTL_RC_DEPENDENCY_SETUP_WARNING: Warning during dependency environment setup (e.g. truststore creation). The scan continues with a fallback configuration but may encounter issues.
          - `error` string — error is the message of the workflow step failure.
        - `provisioning_result_uuid` string — provisioning_result_uuid is the UUID of the ProvisioningResult of the workflow step.
        - `scan_duration` string — scan_duration is how log the scan ran.
        - `scan_profile_uuid` string — scan_profile_uuid is the UUID of the ScanProfile of the workflow step.
        - `scan_result_uuid` string — scan_result_uuid is the UUID of the ScanResult of the workflow step.
        - `status` 'STATUS_UNSPECIFIED' | 'STATUS_SUCCESS' | 'STATUS_PARTIAL_SUCCESS' | 'STATUS_FAILURE' | 'STATUS_RUNNING' — Success state.
        - `title` string — title is descriptive text of the workflow step.
    - `tenant_meta` object — The tenant to which the scan workflow result belongs.
    - `uuid` string — The unique identifier of the scan workflow result.
  - `request` V1UpdateRequest — Message used for all update requests.
    - `force` boolean — Force will force the update of the resource if any checks fail.
    - `update_mask` string — Fields to update. Defaults to all fields.

## Response `200`

A successful response.

- V1ScanWorkflowResult — ScanWorkflowResult corresponds to a workflow scan result.
  - `context` V1Context, required — Contexts keep objects from different scans separated.
    - `id` string, required — The context ID, such as a pull request ID or branch reference.
    - `tags` string[] — A list of tags applied to a context. Used primarily for CI and SBOM contexts.
    - `type` 'CONTEXT_TYPE_UNSPECIFIED' | 'CONTEXT_TYPE_MAIN' | 'CONTEXT_TYPE_EXTERNAL' | 'CONTEXT_TYPE_CI_RUN' | 'CONTEXT_TYPE_SBOM' | 'CONTEXT_TYPE_REF', required — - CONTEXT_TYPE_MAIN: Objects from a scan of the default branch. All objects in the oss namespace are in the main context. The context id is always "default". - CONTEXT_TYPE_EXTERNAL: Indicates that this object is a copy/temporary value of an object in another project. Used for same-tenant dependencies. In source code reference this is equivalent to "vendor" folders. Package versions in the external context are only scanned for call graphs. No other operations are performed on them. - CONTEXT_TYPE_CI_RUN: Objects from a PR scan. The context id is the PR UUID. Objects in this context are deleted after 30 days. - CONTEXT_TYPE_SBOM: Objects from an SBOM scan. The context id is the SBOM serial number or some other unique identifier. - CONTEXT_TYPE_REF: Objects from a scan of a specific branch. The context id is the branch reference name.
    - `will_be_deleted_at` string, date-time — Time that all objects in this context will be deleted. This field is deprecated and will be removed in the future. Please use the meta.will_be_deleted_at field instead.
  - `meta` V1Meta, required — Common fields for all Endor Labs resources.
    - `annotations` object — Annotations can be used to attach metadata to a resource message. Annotation values can be small or large, structured or unstructured, and may include characters not permitted by labels. The keys may contain alphanumerics, underscores (_), dots (.) and dashes (-). The values of an annotation must be 16384 bytes or smaller.
    - `create_time` string, date-time — Time the resource was created. Format: 2017-01-15T01:30:15.01Z RFC 3339: https://www.ietf.org/rfc/rfc3339.txt.
    - `created_by` string — Name and authentication source of the user who created the object, for example, ewok@endor.ai@google@api-key.
    - `description` string — Resource description. Must be less than 1024 bytes.
    - `index_data` V1IndexData — IndexData is used to index the resource for search. It's an internal object.
      - `data` string[]
      - `search_score` number, float — search_score is the score of the resource for search. Internal use only.
      - `tenant` string
      - `will_be_deleted_at` string, date-time — Time that the resource will be deleted.
    - `kind` string — Resource kind, for example, HelloResponse. Auto-generated using the protobuf message proto.MessageName().Name().
    - `name` string, required — Resource name. Must be 63 characters or less.
    - `parent_kind` string — Parent object resource kind, for example, Project.
    - `parent_uuid` string — Parent object UUID.
    - `references` object — Map of objects referenced in a query API.
    - `tags` string[] — List of tags attached to the resource. Tags can be used to select objects and to find collections of objects that satisfy certain conditions. A tag must be 255 characters or less.
    - `update_time` string, date-time — Time the resource was last updated. Note: Updated on all create/patch/delete operations. Format: 2017-01-15T01:30:15.01Z RFC 3339: https://www.ietf.org/rfc/rfc3339.txt.
    - `updated_by` string — Name and authentication source of the last user who updated the object, for example, vulnerabilityingestor@endor.ai@x509.
    - `upsert_time` string, date-time — Time the resource was last upserted. Note: create_time is only set the first time the resource is created. upsert_time is set every time the resource is upseted. Format: 2017-01-15T01:30:15.01Z RFC 3339: https://www.ietf.org/rfc/rfc3339.txt.
    - `version` string — Message version.
  - `spec` V1ScanWorkflowResultSpec, required
    - `end_time` string, date-time — Time the scan ended.
    - `execution_id` string — The execution ID for all scans.
    - `start_time` string, date-time — Time the scan started.
    - `stats` object — Map of stats such as how many issues were ingested during the scan.
    - `status` 'STATUS_UNSPECIFIED' | 'STATUS_SUCCESS' | 'STATUS_PARTIAL_SUCCESS' | 'STATUS_FAILURE' | 'STATUS_RUNNING', required — Success state.
    - `versions` V1Version[] — Version information for each ref.
      - `metadata` object — Version metadata.
      - `ref` string, required — Resolved ref of the source control version. Can be a tag, a branch or a SHA.
      - `sha` string — SHA of the source control version. Because the SHA might not be possible to resolved this field is optional.
    - `workflow_results` SpecWorkflowResult[] — The workflow step results.
      - `error` WorkflowResultWorkflowResultError
        - `code` 'ENDORCTL_RC_UNSPECIFIED' | 'ENDORCTL_RC_SUCCESS' | 'ENDORCTL_RC_ERROR' | 'ENDORCTL_RC_INVALID_ARGS' | 'ENDORCTL_RC_ENDOR_AUTH_FAILURE' | 'ENDORCTL_RC_DOCTOR_FAILURE' | 'ENDORCTL_RC_GITHUB_AUTH_FAILURE' | 'ENDORCTL_RC_ANALYTICS_ERROR' | 'ENDORCTL_RC_FINDINGS_ERROR' | 'ENDORCTL_RC_NOTIFICATIONS_ERROR' | 'ENDORCTL_RC_GITHUB_API_ERROR' | 'ENDORCTL_RC_GITHUB_PERMISSIONS_ERROR' | 'ENDORCTL_RC_GIT_ERROR' | 'ENDORCTL_RC_DEPENDENCY_RESOLUTION_ERROR' | 'ENDORCTL_RC_DEPENDENCY_SCANNING_ERROR' | 'ENDORCTL_RC_CALL_GRAPH_ERROR' | 'ENDORCTL_RC_LINTER_ERROR' | 'ENDORCTL_RC_BAD_POLICY_TYPE' | 'ENDORCTL_RC_POLICY_ERROR' | 'ENDORCTL_RC_INTERNAL_ERROR' | 'ENDORCTL_RC_DEADLINE_EXCEEDED' | 'ENDORCTL_RC_NOT_FOUND' | 'ENDORCTL_RC_ALREADY_EXISTS' | 'ENDORCTL_RC_UNAUTHENTICATED' | 'ENDORCTL_RC_VULN_ERROR' | 'ENDORCTL_RC_INITIALIZATION_ERROR' | 'ENDORCTL_RC_HOST_CHECK_FAILURE' | 'ENDORCTL_RC_SBOM_IMPORT_ERROR' | 'ENDORCTL_RC_PRE_COMMIT_CHECK_FAILURE' | 'ENDORCTL_RC_GH_ACTION_WORKFLOW_SCAN_FAILURE' | 'ENDORCTL_RC_FILE_ANALYTICS_ERROR' | 'ENDORCTL_RC_SIGNATURE_VERIFICATION_FAILURE' | 'ENDORCTL_RC_LICENSE_ERROR' | 'ENDORCTL_RC_HUGGING_FACE_ERROR' | 'ENDORCTL_RC_SAST_ERROR' | 'ENDORCTL_RC_ARTIFACT_OPERATION_FAILURE' | 'ENDORCTL_RC_SEGMENTATION_ERROR' | 'ENDORCTL_RC_TOOLCHAIN_ERROR' | 'ENDORCTL_RC_SANDBOX_ERROR' | 'ENDORCTL_RC_RULE_SET_ERROR' | 'ENDORCTL_RC_SECURITY_REVIEW_ERROR' | 'ENDORCTL_RC_CODE_API_ERROR' | 'ENDORCTL_RC_BASELINE_NOT_FOUND' | 'ENDORCTL_RC_SCAN_CANCELLED' | 'ENDORCTL_RC_POLICY_VIOLATION' | 'ENDORCTL_RC_POLICY_WARNING' | 'ENDORCTL_RC_PR_SECURITY_REVIEW_ERROR' | 'ENDORCTL_RC_EXPORTER_WARNING' | 'ENDORCTL_RC_CONTAINER_PROFILING_WARNING' | 'ENDORCTL_RC_DEPENDENCY_SETUP_WARNING' — Endorctl return codes. - ENDORCTL_RC_SUCCESS: Success (translates to exit code 0). - ENDORCTL_RC_ERROR: Unspecified error. - ENDORCTL_RC_INVALID_ARGS: Invalid input. - ENDORCTL_RC_ENDOR_AUTH_FAILURE: Endor API authentication failure. - ENDORCTL_RC_DOCTOR_FAILURE: Endor host-check failure. - ENDORCTL_RC_GITHUB_AUTH_FAILURE: GitHub authentication failure. - ENDORCTL_RC_ANALYTICS_ERROR: Error running analytics. - ENDORCTL_RC_FINDINGS_ERROR: Error generating findings. - ENDORCTL_RC_NOTIFICATIONS_ERROR: Error generating notifications. - ENDORCTL_RC_GITHUB_API_ERROR: Error calling GitHub API. - ENDORCTL_RC_GITHUB_PERMISSIONS_ERROR: Insufficient GitHub token permissions. - ENDORCTL_RC_GIT_ERROR: Error while performing a Git operation. - ENDORCTL_RC_DEPENDENCY_RESOLUTION_ERROR: Error during dependency resolution. - ENDORCTL_RC_DEPENDENCY_SCANNING_ERROR: Error during dependency scanning. - ENDORCTL_RC_CALL_GRAPH_ERROR: Error while generating call graphs. - ENDORCTL_RC_LINTER_ERROR: Error while running the linter scanner. - ENDORCTL_RC_BAD_POLICY_TYPE: A user defined policy has a policy type reserved for system policies. - ENDORCTL_RC_POLICY_ERROR: Error evaluating one or more policies. - ENDORCTL_RC_INTERNAL_ERROR: Internal error while running endorctl. - ENDORCTL_RC_DEADLINE_EXCEEDED: Deadline exceeded while running endorctl. - ENDORCTL_RC_NOT_FOUND: Requested entity was not found. - ENDORCTL_RC_ALREADY_EXISTS: Attempt to create an entity failed because it already exists. - ENDORCTL_RC_UNAUTHENTICATED: Unable to authenticate request. - ENDORCTL_RC_VULN_ERROR: Error related to vulnerability ingestion and processing. - ENDORCTL_RC_INITIALIZATION_ERROR: Error related to initializing the repository. - ENDORCTL_RC_HOST_CHECK_FAILURE: Endor host-check failure. - ENDORCTL_RC_SBOM_IMPORT_ERROR: Error importing an sbom. - ENDORCTL_RC_PRE_COMMIT_CHECK_FAILURE: A pre-commit check failed. - ENDORCTL_RC_GH_ACTION_WORKFLOW_SCAN_FAILURE: GitHub action workflow scan failed. - ENDORCTL_RC_FILE_ANALYTICS_ERROR: Error while reading files for analytics processing. - ENDORCTL_RC_SIGNATURE_VERIFICATION_FAILURE: Signature verification failure. - ENDORCTL_RC_LICENSE_ERROR: The requested operation requires additional licensing. - ENDORCTL_RC_HUGGING_FACE_ERROR: Error while running the huggingface scanner. - ENDORCTL_RC_SAST_ERROR: Error while running the SAST scanner. - ENDORCTL_RC_ARTIFACT_OPERATION_FAILURE: Artifact operation failure. - ENDORCTL_RC_SEGMENTATION_ERROR: Error during file segmentation. - ENDORCTL_RC_TOOLCHAIN_ERROR: Error generating toolchains. - ENDORCTL_RC_SANDBOX_ERROR: Error running endorctl sandbox. - ENDORCTL_RC_RULE_SET_ERROR: Error performing rule set operations. - ENDORCTL_RC_SECURITY_REVIEW_ERROR: Error while running the PR security review. - ENDORCTL_RC_CODE_API_ERROR: Error while running codeAPI. - ENDORCTL_RC_BASELINE_NOT_FOUND: Baseline is invalid or has not been scanned yet. - ENDORCTL_RC_SCAN_CANCELLED: Scan was cancelled. - ENDORCTL_RC_POLICY_VIOLATION: One or more, enforced, admission policy violations detected. - ENDORCTL_RC_POLICY_WARNING: One ore more, unenforced, admission policy violations detected. - ENDORCTL_RC_PR_SECURITY_REVIEW_ERROR: Deprecated: Use ENDORCTL_RC_SECURITY_REVIEW_ERROR instead. - ENDORCTL_RC_EXPORTER_WARNING: Warning while running the exporter. This does not prevent the main scan from completing. - ENDORCTL_RC_CONTAINER_PROFILING_WARNING: Warning while profiling a container image. - ENDORCTL_RC_DEPENDENCY_SETUP_WARNING: Warning during dependency environment setup (e.g. truststore creation). The scan continues with a fallback configuration but may encounter issues.
        - `error` string — error is the message of the workflow step failure.
      - `provisioning_result_uuid` string — provisioning_result_uuid is the UUID of the ProvisioningResult of the workflow step.
      - `scan_duration` string — scan_duration is how log the scan ran.
      - `scan_profile_uuid` string — scan_profile_uuid is the UUID of the ScanProfile of the workflow step.
      - `scan_result_uuid` string — scan_result_uuid is the UUID of the ScanResult of the workflow step.
      - `status` 'STATUS_UNSPECIFIED' | 'STATUS_SUCCESS' | 'STATUS_PARTIAL_SUCCESS' | 'STATUS_FAILURE' | 'STATUS_RUNNING' — Success state.
      - `title` string — title is descriptive text of the workflow step.
  - `tenant_meta` V1TenantMeta — Tenant related data for the tenant containing the resource.
    - `namespace` string, required — Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app".
  - `uuid` string — The unique identifier of the scan workflow result.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/endorlabs/apis/endor-labs-rest-api-reference.md) · [All operations](https://skmtc.dev/endorlabs/apis/endor-labs-rest-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/endorlabs/endor-labs-rest-api-reference/revisions/2fe1f84213b3/schema)
