Skip to main content

Set repository importance score

POST 

/api/v1/vcs-repository/repositories/importance-score/set

Set a custom importance score for a repository, reflecting the repository’s relative security criticality. The HTTP status code 204 is returned to indicate that the repository score data for the requested repositories was updated successfully.

Request

Body

required
    repositoryId stringrequired
    customRepositoryScore doublenullablerequired

    User-defined repository score. Provide an integer from 1 (lowest importance) to 10 (highest importance) to indicate the relative importance of the repository as per your requirements. This value overrides the system-calculated importance score.

    customComment stringnullable

Responses

Loading...