Skip to main content
PUT
Update an assessment

Authorizations

Authorization
string
header
required

Bearer token for authentication

Path Parameters

id
string
required

Assessment ID

Body

application/json

Request to update an assessment

status
enum<string>
default:ASSESSMENT_STATUS_UNSPECIFIED
Available options:
ASSESSMENT_STATUS_UNSPECIFIED,
ASSESSMENT_STATUS_NOT_AFFECTED,
ASSESSMENT_STATUS_AFFECTED,
ASSESSMENT_STATUS_UNDER_INVESTIGATION,
ASSESSMENT_STATUS_FIXED
justification_code
enum<string>
default:ASSESSMENT_JUSTIFICATION_CODE_UNSPECIFIED
Available options:
ASSESSMENT_JUSTIFICATION_CODE_UNSPECIFIED,
ASSESSMENT_JUSTIFICATION_CODE_COMPONENT_NOT_PRESENT,
ASSESSMENT_JUSTIFICATION_CODE_VULNERABLE_CODE_NOT_PRESENT,
ASSESSMENT_JUSTIFICATION_CODE_VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY,
ASSESSMENT_JUSTIFICATION_CODE_VULNERABLE_CODE_NOT_IN_EXECUTE_PATH,
ASSESSMENT_JUSTIFICATION_CODE_INLINE_MITIGATIONS_ALREADY_EXIST
note
string

New note

products
object

AssessmentProductList wraps a list of products so the Update RPC can distinguish "field not sent" (message absent) from "clear all products" (message present with empty entries).

scope
enum<string>
default:ASSESSMENT_SCOPE_UNSPECIFIED
Available options:
ASSESSMENT_SCOPE_UNSPECIFIED,
ASSESSMENT_SCOPE_PROJECT,
ASSESSMENT_SCOPE_PROJECT_VERSION
project_version_name
string

Project version name (required when scope is PROJECT_VERSION)

Response

A successful response.

Response for Update method

result
AssessmentItem · object

Full representation of a security assessment

Example: