Control coverageUpdate
Update control coverage status and gap.
Authorization
Authorization AuthorizationBearer <token>
In: header
Request Body
application/json
controlCoverageId*string
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidcoverageStatus*string
Value in
"FULL" | "PARTIAL" | "NONE" | "UNKNOWN"coverageGap?|
organizationId*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://app.devguard.ch/api/control-coverage/update/" \ -H "Content-Type: application/json" \ -d '{ "controlCoverageId": "516513a0-c16e-48ff-8f5e-a7a8dde9cc90", "coverageStatus": "FULL", "organizationId": "string" }'{
"id": "string",
"frameworkAdoptionId": "string",
"controlId": "string",
"coverageStatus": "FULL",
"coverageGap": "string",
"lastReviewedAt": "string",
"reviewedBy": "string",
"policyId": "string",
"sectionUid": "string",
"organizationId": "string",
"createdAt": "string",
"updatedAt": "string"
}{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}{
"code": "NOT_FOUND",
"message": "Not found",
"issues": []
}{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}How is this guide?