Control Implementations
Update Control Implementation
Use this API to update the attributes of a specific control implementation.
🗒 Things to Know
- The Update Control API can be used to update the attributes of a control in the Controls Library.
put/api/controls/v1/control-implementations/{guid}
Path parameters
guidstring uuid required
ID of the control entity implementation.
Request body
Example request
{
"status": "Pending",
"effectiveness": "Ineffective",
"effectivenessId": "123e4567-e89b-12d3-a456-426614174123",
"note": "Testing Control",
"deadline": "2019-01-01",
"controlOwnerId": "123e4567-e89b-12d3-a456-426614174000",
"maturityId": "123e4567-e89b-12d3-a456-426614174000",
"statusId": "123e4567-e89b-12d3-a456-426614174000",
"attributes": {
"attributeTextValue.value1": [
{
"id": "4e9ac165-7304-4c6e-a207-d32f22f4808b",
"value": "2020-11-12",
"valueKey": "OneTrustApp.CONTROLS.Control.Attributes.866e5e2d-916f-4ab7-b16f-448c9b44e815"
}
]
},
"controlOwnerIds": [
"123e4567-e89b-12d3-a456-426614174000",
"456a4567-e89b-12d3-123e-426614174001",
"123e4567-e89b-12d3-a456-426614174002"
],
"controlApproverIds": [
"123e4567-e89b-12d3-a456-426614174000",
"456a4567-e89b-12d3-123e-426614174001",
"123e4567-e89b-12d3-a456-426614174002"
],
"implementationCategoryId": "123e4567-e89b-12d3-a456-426614174000",
"implementationDescription": "Testing Control Implementation",
"implementationGuidance": "Testing Control guidance",
"implementationName": "Control Implementation",
"controlOwners": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "User1"
}
],
"implementationCategoryName": "Implementation Custom Category"
}Response
OK
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"number": 123,
"organizationId": "123e4567-e89b-12d3-a456-426614174000",
"orgGroupName": "Organization1",
"primaryEntity": {
"id": "1ab2fff0-cb80-b560-99a1-4a3b527f61f5",
"name": "Asset 305",
"type": "Risks",
"controlEntityType": {
"id": "1a2b3c4e-5f6g-7h8i-9j0k-1l2m3n4o5p6q",
"label": "Assets",
"translationKey": "Assets",
"moduleName": "DataMapping",
"seeded": true
},
"organizationId": "1ab2fff0-cb80-b560-99a1-4a3b527f61f5",
"relationshipLabel": "IMPLEMENTED_ON",
"isPrimary": true
},
"control": {
"id": "1a2b3c4e-5f6g-7h8i-9j0k-1l2m3n4o5p6q",
"identifier": "A.5.1.1",
"name": "Control Name",
"description": "Test Controls for Privacy",
"orgGroupId": "1a2b3c4e-5f6g-7h8i-9j0k-1l2m3n4o5p6q",
"orgGroupName": "ABC Corp",
"frameworkId": "1a2b3c4e-5f6g-7h8i-9j0k-1l2m3n4o5p6q",
"categoryId": "1a2b3c4e-5f6g-7h8i-9j0k-1l2m3n4o5p6q",
"categoryName": "Privacy",
"categoryNameKey": "ControlName",
"frameworkName": "Framework 123",
"implementationGuidance": "Implementation guidance of the control requirement."
},
"status": "Implemented",
"suggestion": "Suggested",
"effectiveness": "Effective",
"effectivenessInfo": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Entity Name",
"nameKey": "EntityName"
},
"note": "Testing control value",
"deadline": "2020-11-05",
"maturity": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Entity Name",
"nameKey": "EntityName"
},
"statusInfo": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Entity Name",
"nameKey": "EntityName"
},
"owner": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Entity Name",
"nameKey": "EntityName"
},
"owners": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Entity Name",
"nameKey": "EntityName"
}
],
"approvers": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Entity Name",
"nameKey": "EntityName"
}
],
"createdBy": "1a2b3c4e-5f6g-7h8i-9j0k-1l2m3n4o5p6q",
"createDt": "2020-11-05T22:01:21.200+00:00",
"lastModifiedBy": "123e4567-e89b-12d3-a456-426614174001",
"lastModifiedDate": "2020-11-05T22:01:21.200+00:0",
"controlObjectivesCount": 4,
"entityLinks": [
{
"id": "1ab2fff0-cb80-b560-99a1-4a3b527f61f5",
"name": "Asset 305",
"type": "Risks",
"controlEntityType": {
"id": "1a2b3c4e-5f6g-7h8i-9j0k-1l2m3n4o5p6q",
"label": "Assets",
"translationKey": "Assets",
"moduleName": "DataMapping",
"seeded": true
},
"organizationId": "1ab2fff0-cb80-b560-99a1-4a3b527f61f5",
"relationshipLabel": "IMPLEMENTED_ON",
"isPrimary": true
}
],
"workflow": {
"id": "1a2b3c4e-5f6g-7h8i-9j0k-1l2m3n4o5p6q",
"name": "Entity Name",
"nameKey": "EntityNameKey"
},
"workflowStage": {
"id": "1a2b3c4e-5f6g-7h8i-9j0k-1l2m3n4o5p6q",
"name": "Entity Name",
"nameKey": "EntityNameKey",
"currentStageApprovers": [
{
"id": "123e4567-e89b-12d3-a456-426614174003",
"firstName": "John",
"lastName": "Doe",
"approvedTimeStamp": "2020-11-05T22:01:21.200+00:00",
"status": "approved"
}
]
},
"deleteType": "SOFT",
"controlImplementationName": "Control Implementation name",
"controlImplementationDescription": "Control Implementation Description",
"controlImplementationGuidance": "Control Implementation Guidance",
"controlImplementationCategoryId": "Control Implementation Category Id",
"controlImplementationCategoryName": "Control Category Name",
"controlImplementationCategoryNameKey": "Control Category Name Key",
"controlImplementationOrigin": "Control Implementation Origin",
"externalImplementationURL": "Control Implementation Link",
"externalControlImplementation": true,
"duplicateEvidenceTaskImplPresent": true,
"hasMoreThanOneInvLinks": true,
"inventoriesCount": 3,
"risksCount": 1
}